Lines Matching refs:txi
994 int i, txi;
998 txi = dr->prod;
1002 --txi;
1003 if (txi < 0)
1004 txi = VNET_TX_RING_SIZE - 1;
1006 d = vio_dring_entry(dr, txi);
1012 if (port->tx_bufs[txi].skb) {
1016 BUG_ON(port->tx_bufs[txi].skb->next);
1018 port->tx_bufs[txi].skb->next = skb;
1019 skb = port->tx_bufs[txi].skb;
1020 port->tx_bufs[txi].skb = NULL;
1023 port->tx_bufs[txi].cookies,
1024 port->tx_bufs[txi].ncookies);
1333 int i, err, txi;
1395 txi = dr->prod;
1399 BUG_ON(port->tx_bufs[txi].skb);
1405 err = vnet_skb_map(port->vio.lp, skb, port->tx_bufs[txi].cookies, 2,
1412 port->tx_bufs[txi].skb = skb;
1414 port->tx_bufs[txi].ncookies = err;
1426 d->ncookies = port->tx_bufs[txi].ncookies;
1428 d->cookies[i] = port->tx_bufs[txi].cookies[i];
1433 if (skb_is_gso(port->tx_bufs[txi].skb)) {
1434 dext->ipv4_lso_mss = skb_shinfo(port->tx_bufs[txi].skb)
1482 skb = port->tx_bufs[txi].skb;
1483 port->tx_bufs[txi].skb = NULL;
1492 dev->stats.tx_bytes += port->tx_bufs[txi].skb->len;
1494 port->stats.tx_bytes += port->tx_bufs[txi].skb->len;