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