Home
last modified time | relevance | path

Searched refs:sw_tx_ring (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c79 struct sk_buff *skb = txq->sw_tx_ring.skbs[idx].skb; in qede_free_tx_pkt()
84 bool data_split = txq->sw_tx_ring.skbs[idx].flags & QEDE_TSO_SPLIT_BD; in qede_free_tx_pkt()
124 txq->sw_tx_ring.skbs[idx].skb = NULL; in qede_free_tx_pkt()
125 txq->sw_tx_ring.skbs[idx].flags = 0; in qede_free_tx_pkt()
136 struct sk_buff *skb = txq->sw_tx_ring.skbs[idx].skb; in qede_free_failed_tx_pkt()
172 txq->sw_tx_ring.skbs[idx].skb = NULL; in qede_free_failed_tx_pkt()
173 txq->sw_tx_ring.skbs[idx].flags = 0; in qede_free_failed_tx_pkt()
329 xdp = txq->sw_tx_ring.xdp + txq->sw_tx_prod; in qede_xdp_xmit()
402 struct sw_tx_xdp *xdp_info, *xdp_arr = txq->sw_tx_ring.xdp; in qede_xdp_tx_int()
1519 txq->sw_tx_ring.skbs[idx].skb = skb; in qede_start_xmit()
[all …]
Dqede_main.c1651 kfree(txq->sw_tx_ring.xdp); in qede_free_mem_txq()
1653 kfree(txq->sw_tx_ring.skbs); in qede_free_mem_txq()
1675 size = sizeof(*txq->sw_tx_ring.xdp) * txq->num_tx_buffers; in qede_alloc_mem_txq()
1676 txq->sw_tx_ring.xdp = kzalloc(size, GFP_KERNEL); in qede_alloc_mem_txq()
1677 if (!txq->sw_tx_ring.xdp) in qede_alloc_mem_txq()
1680 size = sizeof(*txq->sw_tx_ring.skbs) * txq->num_tx_buffers; in qede_alloc_mem_txq()
1681 txq->sw_tx_ring.skbs = kzalloc(size, GFP_KERNEL); in qede_alloc_mem_txq()
1682 if (!txq->sw_tx_ring.skbs) in qede_alloc_mem_txq()
Dqede.h435 } sw_tx_ring; member
Dqede_ethtool.c1515 txq->sw_tx_ring.skbs[idx].skb = skb; in qede_selftest_transmit_traffic()
1562 txq->sw_tx_ring.skbs[idx].skb = NULL; in qede_selftest_transmit_traffic()