Home
last modified time | relevance | path

Searched refs:nb_tx_desc (Results 1 – 25 of 94) sorted by relevance

1234

/f-stack/dpdk/drivers/net/ixgbe/
H A Dixgbe_rxtx_vec_common.h126 if (txq->tx_next_dd >= txq->nb_tx_desc) in ixgbe_tx_free_bufs()
147 const uint16_t max_desc = (uint16_t)(txq->nb_tx_desc - 1); in _ixgbe_tx_queue_release_mbufs_vec()
162 for (i = 0; i < txq->nb_tx_desc; i++) { in _ixgbe_tx_queue_release_mbufs_vec()
218 for (i = 0; i < txq->nb_tx_desc; i++) in _ixgbe_reset_tx_queue_vec()
222 for (i = 0; i < txq->nb_tx_desc; i++) { in _ixgbe_reset_tx_queue_vec()
238 txq->last_desc_cleaned = (uint16_t)(txq->nb_tx_desc - 1); in _ixgbe_reset_tx_queue_vec()
239 txq->nb_tx_free = (uint16_t)(txq->nb_tx_desc - 1); in _ixgbe_reset_tx_queue_vec()
H A Dixgbe_rxtx.c308 if (txq->tx_tail >= txq->nb_tx_desc) in tx_xmit_pkts()
572 uint16_t nb_tx_desc = txq->nb_tx_desc; in ixgbe_xmit_cleanup() local
579 if (desc_to_clean_to >= nb_tx_desc) in ixgbe_xmit_cleanup()
736 if (tx_last >= txq->nb_tx_desc) in ixgbe_xmit_pkts()
2331 free_cnt = txq->nb_tx_desc; in ixgbe_tx_done_cleanup_full()
2377 free_cnt = txq->nb_tx_desc; in ixgbe_tx_done_cleanup_simple()
2718 txq->nb_tx_desc = nb_desc; in ixgbe_dev_tx_queue_setup()
3287 if (desc >= txq->nb_tx_desc) { in ixgbe_dev_tx_descriptor_status()
3288 desc -= txq->nb_tx_desc; in ixgbe_dev_tx_descriptor_status()
3289 if (desc >= txq->nb_tx_desc) in ixgbe_dev_tx_descriptor_status()
[all …]
/f-stack/dpdk/drivers/net/atlantic/
H A Datl_rxtx.c75 uint16_t nb_tx_desc; member
208 for (i = 0; i < txq->nb_tx_desc; i++) { in atl_reset_tx_queue()
214 for (i = 0; i < txq->nb_tx_desc; i++) { in atl_reset_tx_queue()
221 txq->tx_free = txq->nb_tx_desc - 1; in atl_reset_tx_queue()
236 nb_tx_desc > AQ_HW_MAX_TX_RING_SIZE) { in atl_tx_queue_setup()
263 txq->nb_tx_desc = nb_tx_desc; in atl_tx_queue_setup()
323 txq->nb_tx_desc, 0, in atl_tx_init()
686 qinfo->nb_desc = txq->nb_tx_desc; in atl_txq_info_get()
753 if (idx >= txq->nb_tx_desc) in atl_dev_tx_descriptor_status()
754 idx -= txq->nb_tx_desc; in atl_dev_tx_descriptor_status()
[all …]
/f-stack/dpdk/drivers/net/bnx2x/
H A Dbnx2x_rxtx.h57 uint16_t nb_tx_desc; /**< number of TX descriptors. */ member
72 uint16_t nb_tx_desc, unsigned int socket_id,
H A Dbnx2x_rxtx.c174 for (i = 0; i < tx_queue->nb_tx_desc; i++) { in bnx2x_tx_queue_release()
204 if ((unlikely((txq->nb_tx_desc - txq->nb_tx_avail) > in bnx2x_xmit_pkts()
225 if ((txq->nb_tx_desc - txq->nb_tx_avail) > in bnx2x_xmit_pkts()
259 txq->nb_tx_desc = TOTAL_TX_BD(txq); in bnx2x_dev_tx_queue_setup()
265 txq->nb_tx_desc - BDS_PER_TX_PKT); in bnx2x_dev_tx_queue_setup()
274 tsize = txq->nb_tx_desc * sizeof(union eth_tx_bd_types); in bnx2x_dev_tx_queue_setup()
285 tsize = txq->nb_tx_desc * sizeof(struct rte_mbuf *); in bnx2x_dev_tx_queue_setup()
313 txq->nb_tx_avail = txq->nb_tx_desc; in bnx2x_dev_tx_queue_setup()
/f-stack/dpdk/drivers/net/e1000/
H A Dem_rxtx.c301 uint16_t nb_tx_desc = txq->nb_tx_desc; in em_xmit_cleanup() local
307 if (desc_to_clean_to >= nb_tx_desc) in em_xmit_cleanup()
443 if (tx_last >= txq->nb_tx_desc) in eth_em_xmit_pkts()
1138 nb_desc = txq->nb_tx_desc; in em_reset_tx_queue()
1297 txq->nb_tx_desc = nb_desc; in eth_em_tx_queue_setup()
1569 if (desc >= txq->nb_tx_desc) { in eth_em_tx_descriptor_status()
1570 desc -= txq->nb_tx_desc; in eth_em_tx_descriptor_status()
1571 if (desc >= txq->nb_tx_desc) in eth_em_tx_descriptor_status()
1572 desc -= txq->nb_tx_desc; in eth_em_tx_descriptor_status()
1945 txq->nb_tx_desc * in eth_em_tx_init()
[all …]
H A Digb_rxtx.c443 if (tx_last >= txq->nb_tx_desc) in eth_igb_xmit_pkts()
1264 for (i = 0; i < txq->nb_tx_desc; i++) { in igb_tx_queue_release_mbufs()
1429 for (i = 0; i < txq->nb_tx_desc; i++) { in igb_reset_tx_queue()
1434 prev = (uint16_t)(txq->nb_tx_desc - 1); in igb_reset_tx_queue()
1435 for (i = 0; i < txq->nb_tx_desc; i++) { in igb_reset_tx_queue()
1548 txq->nb_tx_desc = nb_desc; in eth_igb_tx_queue_setup()
1846 if (desc >= txq->nb_tx_desc) in eth_igb_tx_descriptor_status()
1847 desc -= txq->nb_tx_desc; in eth_igb_tx_descriptor_status()
2603 txq->nb_tx_desc * in eth_igb_tx_init()
2800 txq->nb_tx_desc * in eth_igbvf_tx_init()
[all …]
/f-stack/dpdk/lib/librte_ethdev/
H A Drte_ethdev_trace.h60 uint16_t nb_tx_desc, const struct rte_eth_txconf *tx_conf),
63 rte_trace_point_emit_u16(nb_tx_desc);
/f-stack/dpdk/drivers/raw/ntb/
H A Dntb.c367 for (i = 0; i < q->nb_tx_desc; i++) { in ntb_txq_release_mbufs()
414 txq->nb_tx_desc = txq_conf->nb_desc; in ntb_txq_setup()
423 txq->nb_tx_desc, in ntb_txq_setup()
433 prev = txq->nb_tx_desc - 1; in ntb_txq_setup()
434 for (i = 0; i < txq->nb_tx_desc; i++) { in ntb_txq_setup()
567 txq->nb_tx_free = txq->nb_tx_desc - 1; in ntb_queue_init()
587 txq->nb_tx_desc) & (txq->nb_tx_desc - 1); in ntb_enqueue_cleanup()
640 (txq->nb_tx_desc - 1); in ntb_enqueue_bufs()
681 (txq->nb_tx_desc - 1); in ntb_enqueue_bufs()
684 (txq->nb_tx_desc - 1); in ntb_enqueue_bufs()
[all …]
/f-stack/dpdk/drivers/net/i40e/
H A Di40e_rxtx.c338 uint16_t nb_tx_desc = txq->nb_tx_desc; in i40e_xmit_cleanup() local
343 if (desc_to_clean_to >= nb_tx_desc) in i40e_xmit_cleanup()
1080 if (tx_last >= txq->nb_tx_desc) in i40e_xmit_pkts()
2104 if (desc >= txq->nb_tx_desc) { in i40e_dev_tx_descriptor_status()
2105 desc -= txq->nb_tx_desc; in i40e_dev_tx_descriptor_status()
2106 if (desc >= txq->nb_tx_desc) in i40e_dev_tx_descriptor_status()
2107 desc -= txq->nb_tx_desc; in i40e_dev_tx_descriptor_status()
2326 txq->nb_tx_desc = nb_desc; in i40e_dev_tx_queue_setup()
2551 free_cnt = txq->nb_tx_desc; in i40e_tx_done_cleanup_full()
2597 free_cnt = txq->nb_tx_desc; in i40e_tx_done_cleanup_simple()
[all …]
/f-stack/dpdk/drivers/net/ice/
H A Dice_rxtx.c649 tx_ctx.qlen = txq->nb_tx_desc; in ice_tx_queue_start()
829 tx_ctx.qlen = txq->nb_tx_desc; in ice_fdir_tx_queue_start()
1300 txq->nb_tx_desc = nb_desc; in ice_tx_queue_setup()
2011 if (desc >= txq->nb_tx_desc) { in ice_tx_descriptor_status()
2012 desc -= txq->nb_tx_desc; in ice_tx_descriptor_status()
2013 if (desc >= txq->nb_tx_desc) in ice_tx_descriptor_status()
2014 desc -= txq->nb_tx_desc; in ice_tx_descriptor_status()
2392 uint16_t nb_tx_desc = txq->nb_tx_desc; in ice_xmit_cleanup() local
2570 if (tx_last >= txq->nb_tx_desc) in ice_xmit_pkts()
2778 free_cnt = txq->nb_tx_desc; in ice_tx_done_cleanup_full()
[all …]
H A Dice_rxtx_vec_common.h126 if (txq->tx_next_dd >= txq->nb_tx_desc) in ice_tx_free_bufs()
200 for (; i < txq->nb_tx_desc; i++) { in _ice_tx_queue_release_mbufs_vec()
214 for (; i < txq->nb_tx_desc; i++) { in _ice_tx_queue_release_mbufs_vec()
H A Dice_dcf_ethdev.c349 size = sizeof(struct ice_tx_desc) * txq->nb_tx_desc; in reset_tx_queue()
353 prev = (uint16_t)(txq->nb_tx_desc - 1); in reset_tx_queue()
354 for (i = 0; i < txq->nb_tx_desc; i++) { in reset_tx_queue()
366 txq->last_desc_cleaned = txq->nb_tx_desc - 1; in reset_tx_queue()
367 txq->nb_tx_free = txq->nb_tx_desc - 1; in reset_tx_queue()
/f-stack/dpdk/drivers/net/iavf/
H A Diavf_rxtx_vec_common.h129 if (txq->next_dd >= txq->nb_tx_desc) in iavf_tx_free_bufs()
179 const uint16_t max_desc = (uint16_t)(txq->nb_tx_desc - 1); in _iavf_tx_queue_release_mbufs_vec()
186 for (; i < txq->nb_tx_desc; i++) { in _iavf_tx_queue_release_mbufs_vec()
H A Diavf_rxtx.c232 txq->nb_free = txq->nb_tx_desc - 1; in reset_tx_queue()
669 txq->nb_tx_desc = nb_desc; in iavf_dev_tx_queue_setup()
1930 uint16_t nb_tx_desc = txq->nb_tx_desc; in iavf_xmit_cleanup() local
1937 if (desc_to_clean_to >= nb_tx_desc) in iavf_xmit_cleanup()
2128 if (tx_last >= txq->nb_tx_desc) in iavf_xmit_pkts()
2495 free_cnt = txq->nb_tx_desc; in iavf_tx_done_cleanup_full()
2567 qinfo->nb_desc = txq->nb_tx_desc; in iavf_dev_txq_info_get()
2647 if (desc >= txq->nb_tx_desc) { in iavf_dev_tx_desc_status()
2648 desc -= txq->nb_tx_desc; in iavf_dev_tx_desc_status()
2649 if (desc >= txq->nb_tx_desc) in iavf_dev_tx_desc_status()
[all …]
/f-stack/dpdk/drivers/net/txgbe/
H A Dtxgbe_rxtx.c271 if (txq->tx_tail >= txq->nb_tx_desc) in tx_xmit_pkts()
589 uint16_t nb_tx_desc = txq->nb_tx_desc; in txgbe_xmit_cleanup() local
596 if (desc_to_clean_to >= nb_tx_desc) in txgbe_xmit_cleanup()
770 if (tx_last >= txq->nb_tx_desc) in txgbe_xmit_pkts()
1966 free_cnt = txq->nb_tx_desc; in txgbe_tx_done_cleanup_full()
2008 free_cnt = txq->nb_tx_desc; in txgbe_tx_done_cleanup_simple()
2253 txq->nb_tx_desc = nb_desc; in txgbe_dev_tx_queue_setup()
2681 if (desc >= txq->nb_tx_desc) { in txgbe_dev_tx_descriptor_status()
2682 desc -= txq->nb_tx_desc; in txgbe_dev_tx_descriptor_status()
2683 if (desc >= txq->nb_tx_desc) in txgbe_dev_tx_descriptor_status()
[all …]
/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_txq.h15 uint16_t nb_tx_desc; /* number of TX descriptors */ member
/f-stack/dpdk/drivers/net/sfc/
H A Dsfc_tx.c116 uint16_t nb_tx_desc, unsigned int socket_id, in sfc_tx_qinit() argument
137 rc = sa->priv.dp_tx->qsize_up_rings(nb_tx_desc, &hw_limits, in sfc_tx_qinit()
144 SFC_ASSERT(txq_entries >= nb_tx_desc); in sfc_tx_qinit()
145 SFC_ASSERT(txq_max_fill_level <= nb_tx_desc); in sfc_tx_qinit()
973 sfc_efx_tx_qsize_up_rings(uint16_t nb_tx_desc, in sfc_efx_tx_qsize_up_rings() argument
979 *txq_entries = nb_tx_desc; in sfc_efx_tx_qsize_up_rings()
980 *evq_entries = nb_tx_desc; in sfc_efx_tx_qsize_up_rings()
H A Dsfc_tx.h111 uint16_t nb_tx_desc, unsigned int socket_id,
/f-stack/dpdk/drivers/net/qede/
H A Dqede_rxtx.h26 #define NUM_TX_BDS(q) (q->nb_tx_desc - 1)
223 uint16_t nb_tx_desc; member
/f-stack/dpdk/drivers/net/igc/
H A Digc_txrx.c1681 if (tx_last >= txq->nb_tx_desc) in igc_xmit_pkts()
1682 tx_last = (uint16_t)(tx_last - txq->nb_tx_desc); in igc_xmit_pkts()
1860 if (unlikely(!txq || offset >= txq->nb_tx_desc)) in eth_igc_tx_descriptor_status()
1864 if (desc >= txq->nb_tx_desc) in eth_igc_tx_descriptor_status()
1865 desc -= txq->nb_tx_desc; in eth_igc_tx_descriptor_status()
1880 for (i = 0; i < txq->nb_tx_desc; i++) { in igc_tx_queue_release_mbufs()
1920 prev = (uint16_t)(txq->nb_tx_desc - 1); in igc_reset_tx_queue()
1921 for (i = 0; i < txq->nb_tx_desc; i++) { in igc_reset_tx_queue()
2021 txq->nb_tx_desc = nb_desc; in eth_igc_tx_queue_setup()
2183 txq->nb_tx_desc * in igc_tx_init()
[all …]
/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_rxtx_vec.h42 if (txq->next_to_clean >= txq->nb_tx_desc) in hns3_tx_bulk_free_buffers()
/f-stack/dpdk/drivers/net/nfb/
H A Dnfb_tx.h48 uint16_t nb_tx_desc __rte_unused,
H A Dnfb_tx.c52 uint16_t nb_tx_desc __rte_unused, in nfb_eth_tx_queue_setup()
/f-stack/dpdk/drivers/net/virtio/
H A Dvirtio_ethdev.h74 uint16_t nb_tx_desc, unsigned int socket_id,

1234