Lines Matching refs:txi
993 int i, txi; in vnet_clean_tx_ring() local
997 txi = dr->prod; in vnet_clean_tx_ring()
1001 --txi; in vnet_clean_tx_ring()
1002 if (txi < 0) in vnet_clean_tx_ring()
1003 txi = VNET_TX_RING_SIZE - 1; in vnet_clean_tx_ring()
1005 d = vio_dring_entry(dr, txi); in vnet_clean_tx_ring()
1011 if (port->tx_bufs[txi].skb) { in vnet_clean_tx_ring()
1015 BUG_ON(port->tx_bufs[txi].skb->next); in vnet_clean_tx_ring()
1017 port->tx_bufs[txi].skb->next = skb; in vnet_clean_tx_ring()
1018 skb = port->tx_bufs[txi].skb; in vnet_clean_tx_ring()
1019 port->tx_bufs[txi].skb = NULL; in vnet_clean_tx_ring()
1022 port->tx_bufs[txi].cookies, in vnet_clean_tx_ring()
1023 port->tx_bufs[txi].ncookies); in vnet_clean_tx_ring()
1332 int i, err, txi; in sunvnet_start_xmit_common() local
1394 txi = dr->prod; in sunvnet_start_xmit_common()
1398 BUG_ON(port->tx_bufs[txi].skb); in sunvnet_start_xmit_common()
1404 err = vnet_skb_map(port->vio.lp, skb, port->tx_bufs[txi].cookies, 2, in sunvnet_start_xmit_common()
1411 port->tx_bufs[txi].skb = skb; in sunvnet_start_xmit_common()
1413 port->tx_bufs[txi].ncookies = err; in sunvnet_start_xmit_common()
1425 d->ncookies = port->tx_bufs[txi].ncookies; in sunvnet_start_xmit_common()
1427 d->cookies[i] = port->tx_bufs[txi].cookies[i]; in sunvnet_start_xmit_common()
1432 if (skb_is_gso(port->tx_bufs[txi].skb)) { in sunvnet_start_xmit_common()
1433 dext->ipv4_lso_mss = skb_shinfo(port->tx_bufs[txi].skb) in sunvnet_start_xmit_common()
1481 skb = port->tx_bufs[txi].skb; in sunvnet_start_xmit_common()
1482 port->tx_bufs[txi].skb = NULL; in sunvnet_start_xmit_common()
1491 dev->stats.tx_bytes += port->tx_bufs[txi].skb->len; in sunvnet_start_xmit_common()
1493 port->stats.tx_bytes += port->tx_bufs[txi].skb->len; in sunvnet_start_xmit_common()