Searched refs:sw_tx_ring (Results 1 – 4 of 4) sorted by relevance
103 struct sk_buff *skb = txq->sw_tx_ring.skbs[idx].skb; in qede_free_tx_pkt()108 bool data_split = txq->sw_tx_ring.skbs[idx].flags & QEDE_TSO_SPLIT_BD; in qede_free_tx_pkt()148 txq->sw_tx_ring.skbs[idx].skb = NULL; in qede_free_tx_pkt()149 txq->sw_tx_ring.skbs[idx].flags = 0; in qede_free_tx_pkt()160 struct sk_buff *skb = txq->sw_tx_ring.skbs[idx].skb; in qede_free_failed_tx_pkt()196 txq->sw_tx_ring.skbs[idx].skb = NULL; in qede_free_failed_tx_pkt()197 txq->sw_tx_ring.skbs[idx].flags = 0; in qede_free_failed_tx_pkt()365 txq->sw_tx_ring.xdp[idx].page = metadata->data; in qede_xdp_xmit()366 txq->sw_tx_ring.xdp[idx].mapping = metadata->mapping; in qede_xdp_xmit()400 txq->sw_tx_ring.xdp[idx].mapping, in qede_xdp_tx_int()[all …]
1463 kfree(txq->sw_tx_ring.xdp); in qede_free_mem_txq()1465 kfree(txq->sw_tx_ring.skbs); in qede_free_mem_txq()1481 size = sizeof(*txq->sw_tx_ring.xdp) * txq->num_tx_buffers; in qede_alloc_mem_txq()1482 txq->sw_tx_ring.xdp = kzalloc(size, GFP_KERNEL); in qede_alloc_mem_txq()1483 if (!txq->sw_tx_ring.xdp) in qede_alloc_mem_txq()1486 size = sizeof(*txq->sw_tx_ring.skbs) * txq->num_tx_buffers; in qede_alloc_mem_txq()1487 txq->sw_tx_ring.skbs = kzalloc(size, GFP_KERNEL); in qede_alloc_mem_txq()1488 if (!txq->sw_tx_ring.skbs) in qede_alloc_mem_txq()
432 } sw_tx_ring; member
1515 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()