Lines Matching refs:tx_bufs

1012 		if (port->tx_bufs[txi].skb) {  in vnet_clean_tx_ring()
1016 BUG_ON(port->tx_bufs[txi].skb->next); in vnet_clean_tx_ring()
1018 port->tx_bufs[txi].skb->next = skb; in vnet_clean_tx_ring()
1019 skb = port->tx_bufs[txi].skb; in vnet_clean_tx_ring()
1020 port->tx_bufs[txi].skb = NULL; in vnet_clean_tx_ring()
1023 port->tx_bufs[txi].cookies, in vnet_clean_tx_ring()
1024 port->tx_bufs[txi].ncookies); in vnet_clean_tx_ring()
1399 BUG_ON(port->tx_bufs[txi].skb); in sunvnet_start_xmit_common()
1405 err = vnet_skb_map(port->vio.lp, skb, port->tx_bufs[txi].cookies, 2, in sunvnet_start_xmit_common()
1412 port->tx_bufs[txi].skb = skb; in sunvnet_start_xmit_common()
1414 port->tx_bufs[txi].ncookies = err; in sunvnet_start_xmit_common()
1426 d->ncookies = port->tx_bufs[txi].ncookies; in sunvnet_start_xmit_common()
1428 d->cookies[i] = port->tx_bufs[txi].cookies[i]; in sunvnet_start_xmit_common()
1433 if (skb_is_gso(port->tx_bufs[txi].skb)) { in sunvnet_start_xmit_common()
1434 dext->ipv4_lso_mss = skb_shinfo(port->tx_bufs[txi].skb) in sunvnet_start_xmit_common()
1482 skb = port->tx_bufs[txi].skb; in sunvnet_start_xmit_common()
1483 port->tx_bufs[txi].skb = NULL; in sunvnet_start_xmit_common()
1492 dev->stats.tx_bytes += port->tx_bufs[txi].skb->len; in sunvnet_start_xmit_common()
1494 port->stats.tx_bytes += port->tx_bufs[txi].skb->len; in sunvnet_start_xmit_common()
1683 void *skb = port->tx_bufs[i].skb; in sunvnet_port_free_tx_bufs_common()
1691 port->tx_bufs[i].cookies, in sunvnet_port_free_tx_bufs_common()
1692 port->tx_bufs[i].ncookies); in sunvnet_port_free_tx_bufs_common()
1694 port->tx_bufs[i].skb = NULL; in sunvnet_port_free_tx_bufs_common()