Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_fp.c312 txq->num_tx_buffers)) { in qede_xdp_xmit()
334 txq->sw_tx_prod = (txq->sw_tx_prod + 1) % txq->num_tx_buffers; in qede_xdp_xmit()
427 txq->sw_tx_cons = (txq->sw_tx_cons + 1) % txq->num_tx_buffers; in qede_xdp_tx_int()
457 txq->sw_tx_cons = (txq->sw_tx_cons + 1) % txq->num_tx_buffers; in qede_tx_int()
1709 txq->sw_tx_prod = (txq->sw_tx_prod + 1) % txq->num_tx_buffers; in qede_start_xmit()
H A Dqede.h396 u16 num_tx_buffers; /* Slowpath only */ member
H A Dqede_main.c1673 txq->num_tx_buffers = edev->q_num_tx_buffers; in qede_alloc_mem_txq()
1677 size = sizeof(*txq->sw_tx_ring.xdp) * txq->num_tx_buffers; in qede_alloc_mem_txq()
1682 size = sizeof(*txq->sw_tx_ring.skbs) * txq->num_tx_buffers; in qede_alloc_mem_txq()
H A Dqede_ethtool.c1534 txq->sw_tx_prod = (txq->sw_tx_prod + 1) % txq->num_tx_buffers; in qede_selftest_transmit_traffic()
1560 txq->sw_tx_cons = (txq->sw_tx_cons + 1) % txq->num_tx_buffers; in qede_selftest_transmit_traffic()