Searched refs:sw_tx_ring (Results 1 – 4 of 4) sorted by relevance
79 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()1518 txq->sw_tx_ring.skbs[idx].skb = skb; in qede_start_xmit()[all …]
1609 kfree(txq->sw_tx_ring.xdp); in qede_free_mem_txq()1611 kfree(txq->sw_tx_ring.skbs); in qede_free_mem_txq()1633 size = sizeof(*txq->sw_tx_ring.xdp) * txq->num_tx_buffers; in qede_alloc_mem_txq()1634 txq->sw_tx_ring.xdp = kzalloc(size, GFP_KERNEL); in qede_alloc_mem_txq()1635 if (!txq->sw_tx_ring.xdp) in qede_alloc_mem_txq()1638 size = sizeof(*txq->sw_tx_ring.skbs) * txq->num_tx_buffers; in qede_alloc_mem_txq()1639 txq->sw_tx_ring.skbs = kzalloc(size, GFP_KERNEL); in qede_alloc_mem_txq()1640 if (!txq->sw_tx_ring.skbs) in qede_alloc_mem_txq()
431 } sw_tx_ring; member
1497 txq->sw_tx_ring.skbs[idx].skb = skb; in qede_selftest_transmit_traffic()1544 txq->sw_tx_ring.skbs[idx].skb = NULL; in qede_selftest_transmit_traffic()