| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_rxtx_vec_common.h | 126 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() 155 i = (i + 1) % txq->nb_tx_desc) { in _ixgbe_tx_queue_release_mbufs_vec() 162 for (i = 0; i < txq->nb_tx_desc; i++) { in _ixgbe_tx_queue_release_mbufs_vec() 217 for (i = 0; i < txq->nb_tx_desc; i++) in _ixgbe_reset_tx_queue_vec() 221 for (i = 0; i < txq->nb_tx_desc; i++) { in _ixgbe_reset_tx_queue_vec() 237 txq->last_desc_cleaned = (uint16_t)(txq->nb_tx_desc - 1); in _ixgbe_reset_tx_queue_vec() 238 txq->nb_tx_free = (uint16_t)(txq->nb_tx_desc - 1); in _ixgbe_reset_tx_queue_vec()
|
| H A D | ixgbe_rxtx.c | 307 if (txq->tx_tail >= txq->nb_tx_desc) in tx_xmit_pkts() 570 uint16_t nb_tx_desc = txq->nb_tx_desc; in ixgbe_xmit_cleanup() local 577 if (desc_to_clean_to >= nb_tx_desc) in ixgbe_xmit_cleanup() 734 if (tx_last >= txq->nb_tx_desc) in ixgbe_xmit_pkts() 2377 free_cnt = txq->nb_tx_desc; in ixgbe_tx_done_cleanup_full() 2423 free_cnt = txq->nb_tx_desc; in ixgbe_tx_done_cleanup_simple() 2766 txq->nb_tx_desc = nb_desc; in ixgbe_dev_tx_queue_setup() 3328 if (desc >= txq->nb_tx_desc) { in ixgbe_dev_tx_descriptor_status() 3329 desc -= txq->nb_tx_desc; in ixgbe_dev_tx_descriptor_status() 3330 if (desc >= txq->nb_tx_desc) in ixgbe_dev_tx_descriptor_status() [all …]
|
| /dpdk/drivers/net/atlantic/ |
| H A D | atl_rxtx.c | 75 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() 748 if (idx >= txq->nb_tx_desc) in atl_dev_tx_descriptor_status() 749 idx -= txq->nb_tx_desc; in atl_dev_tx_descriptor_status() [all …]
|
| /dpdk/drivers/net/bnx2x/ |
| H A D | bnx2x_rxtx.c | 173 for (i = 0; i < tx_queue->nb_tx_desc; i++) { in bnx2x_tx_queue_release() 202 if ((unlikely((txq->nb_tx_desc - txq->nb_tx_avail) > in bnx2x_xmit_pkts() 223 if ((txq->nb_tx_desc - txq->nb_tx_avail) > in bnx2x_xmit_pkts() 257 txq->nb_tx_desc = TOTAL_TX_BD(txq); in bnx2x_dev_tx_queue_setup() 263 txq->nb_tx_desc - BDS_PER_TX_PKT); in bnx2x_dev_tx_queue_setup() 272 tsize = txq->nb_tx_desc * sizeof(union eth_tx_bd_types); in bnx2x_dev_tx_queue_setup() 283 tsize = txq->nb_tx_desc * sizeof(struct rte_mbuf *); in bnx2x_dev_tx_queue_setup() 311 txq->nb_tx_avail = txq->nb_tx_desc; in bnx2x_dev_tx_queue_setup()
|
| H A D | bnx2x_rxtx.h | 57 uint16_t nb_tx_desc; /**< number of TX descriptors. */ member 72 uint16_t nb_tx_desc, unsigned int socket_id,
|
| /dpdk/drivers/net/e1000/ |
| H A D | em_rxtx.c | 302 uint16_t nb_tx_desc = txq->nb_tx_desc; in em_xmit_cleanup() local 308 if (desc_to_clean_to >= nb_tx_desc) in em_xmit_cleanup() 444 if (tx_last >= txq->nb_tx_desc) in eth_em_xmit_pkts() 1140 nb_desc = txq->nb_tx_desc; in em_reset_tx_queue() 1300 txq->nb_tx_desc = nb_desc; in eth_em_tx_queue_setup() 1552 if (desc >= txq->nb_tx_desc) { in eth_em_tx_descriptor_status() 1553 desc -= txq->nb_tx_desc; in eth_em_tx_descriptor_status() 1554 if (desc >= txq->nb_tx_desc) in eth_em_tx_descriptor_status() 1555 desc -= txq->nb_tx_desc; in eth_em_tx_descriptor_status() 1926 txq->nb_tx_desc * in eth_em_tx_init() [all …]
|
| H A D | igb_rxtx.c | 444 if (tx_last >= txq->nb_tx_desc) in eth_igb_xmit_pkts() 1265 for (i = 0; i < txq->nb_tx_desc; i++) { in igb_tx_queue_release_mbufs() 1431 for (i = 0; i < txq->nb_tx_desc; i++) { in igb_reset_tx_queue() 1436 prev = (uint16_t)(txq->nb_tx_desc - 1); in igb_reset_tx_queue() 1437 for (i = 0; i < txq->nb_tx_desc; i++) { in igb_reset_tx_queue() 1551 txq->nb_tx_desc = nb_desc; in eth_igb_tx_queue_setup() 1834 if (desc >= txq->nb_tx_desc) in eth_igb_tx_descriptor_status() 1835 desc -= txq->nb_tx_desc; in eth_igb_tx_descriptor_status() 2591 txq->nb_tx_desc * in eth_igb_tx_init() 2787 txq->nb_tx_desc * in eth_igbvf_tx_init() [all …]
|
| /dpdk/drivers/net/i40e/ |
| H A D | i40e_rxtx.c | 378 uint16_t nb_tx_desc = txq->nb_tx_desc; in i40e_xmit_cleanup() local 383 if (desc_to_clean_to >= nb_tx_desc) in i40e_xmit_cleanup() 1143 if (tx_last >= txq->nb_tx_desc) in i40e_xmit_pkts() 2205 if (desc >= txq->nb_tx_desc) { in i40e_dev_tx_descriptor_status() 2206 desc -= txq->nb_tx_desc; in i40e_dev_tx_descriptor_status() 2207 if (desc >= txq->nb_tx_desc) in i40e_dev_tx_descriptor_status() 2208 desc -= txq->nb_tx_desc; in i40e_dev_tx_descriptor_status() 2418 txq->nb_tx_desc = nb_desc; in i40e_dev_tx_queue_setup() 2666 free_cnt = txq->nb_tx_desc; in i40e_tx_done_cleanup_full() 2712 free_cnt = txq->nb_tx_desc; in i40e_tx_done_cleanup_simple() [all …]
|
| /dpdk/drivers/raw/ntb/ |
| H A D | ntb.c | 367 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 …]
|
| /dpdk/drivers/net/ngbe/ |
| H A D | ngbe_rxtx.c | 234 if (txq->tx_tail >= txq->nb_tx_desc) in tx_xmit_pkts() 515 uint16_t nb_tx_desc = txq->nb_tx_desc; in ngbe_xmit_cleanup() local 522 if (desc_to_clean_to >= nb_tx_desc) in ngbe_xmit_cleanup() 661 if (tx_last >= txq->nb_tx_desc) in ngbe_xmit_pkts() 1735 free_cnt = txq->nb_tx_desc; in ngbe_tx_done_cleanup_full() 1777 free_cnt = txq->nb_tx_desc; in ngbe_tx_done_cleanup_simple() 2027 txq->nb_tx_desc = nb_desc; in ngbe_dev_tx_queue_setup() 2436 if (desc >= txq->nb_tx_desc) { in ngbe_dev_tx_descriptor_status() 2437 desc -= txq->nb_tx_desc; in ngbe_dev_tx_descriptor_status() 2438 if (desc >= txq->nb_tx_desc) in ngbe_dev_tx_descriptor_status() [all …]
|
| /dpdk/lib/ethdev/ |
| H A D | rte_ethdev_trace.h | 60 uint16_t nb_tx_desc, const struct rte_eth_txconf *tx_conf), 63 rte_trace_point_emit_u16(nb_tx_desc);
|
| /dpdk/drivers/net/ice/ |
| H A D | ice_rxtx.c | 691 tx_ctx.qlen = txq->nb_tx_desc; in ice_tx_queue_start() 872 tx_ctx.qlen = txq->nb_tx_desc; in ice_fdir_tx_queue_start() 1350 txq->nb_tx_desc = nb_desc; in ice_tx_queue_setup() 2177 if (desc >= txq->nb_tx_desc) { in ice_tx_descriptor_status() 2178 desc -= txq->nb_tx_desc; in ice_tx_descriptor_status() 2179 if (desc >= txq->nb_tx_desc) in ice_tx_descriptor_status() 2180 desc -= txq->nb_tx_desc; in ice_tx_descriptor_status() 2605 uint16_t nb_tx_desc = txq->nb_tx_desc; in ice_xmit_cleanup() local 2784 if (tx_last >= txq->nb_tx_desc) in ice_xmit_pkts() 2996 free_cnt = txq->nb_tx_desc; in ice_tx_done_cleanup_full() [all …]
|
| H A D | ice_rxtx_vec_common.h | 130 if (txq->tx_next_dd >= txq->nb_tx_desc) in ice_tx_free_bufs_vec() 205 for (; i < txq->nb_tx_desc; i++) { in _ice_tx_queue_release_mbufs_vec() 219 for (; i < txq->nb_tx_desc; i++) { in _ice_tx_queue_release_mbufs_vec()
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_rxtx.c | 277 if (txq->tx_tail >= txq->nb_tx_desc) in tx_xmit_pkts() 604 uint16_t nb_tx_desc = txq->nb_tx_desc; in txgbe_xmit_cleanup() local 611 if (desc_to_clean_to >= nb_tx_desc) in txgbe_xmit_cleanup() 827 if (tx_last >= txq->nb_tx_desc) in txgbe_xmit_pkts() 2040 free_cnt = txq->nb_tx_desc; in txgbe_tx_done_cleanup_full() 2082 free_cnt = txq->nb_tx_desc; in txgbe_tx_done_cleanup_simple() 2338 txq->nb_tx_desc = nb_desc; in txgbe_dev_tx_queue_setup() 2770 if (desc >= txq->nb_tx_desc) { in txgbe_dev_tx_descriptor_status() 2771 desc -= txq->nb_tx_desc; in txgbe_dev_tx_descriptor_status() 2772 if (desc >= txq->nb_tx_desc) in txgbe_dev_tx_descriptor_status() [all …]
|
| /dpdk/drivers/net/igc/ |
| H A D | igc_txrx.c | 1668 if (tx_last >= txq->nb_tx_desc) in igc_xmit_pkts() 1669 tx_last = (uint16_t)(tx_last - txq->nb_tx_desc); in igc_xmit_pkts() 1847 if (unlikely(!txq || offset >= txq->nb_tx_desc)) in eth_igc_tx_descriptor_status() 1851 if (desc >= txq->nb_tx_desc) in eth_igc_tx_descriptor_status() 1852 desc -= txq->nb_tx_desc; in eth_igc_tx_descriptor_status() 1867 for (i = 0; i < txq->nb_tx_desc; i++) { in igc_tx_queue_release_mbufs() 1907 prev = (uint16_t)(txq->nb_tx_desc - 1); in igc_reset_tx_queue() 1908 for (i = 0; i < txq->nb_tx_desc; i++) { in igc_reset_tx_queue() 2008 txq->nb_tx_desc = nb_desc; in eth_igc_tx_queue_setup() 2170 txq->nb_tx_desc * in igc_tx_init() [all …]
|
| /dpdk/drivers/net/qede/ |
| H A D | qede_rxtx.h | 26 #define NUM_TX_BDS(q) (q->nb_tx_desc - 1) 207 uint16_t nb_tx_desc; member
|
| /dpdk/drivers/net/iavf/ |
| H A D | iavf_rxtx.c | 258 prev = (uint16_t)(txq->nb_tx_desc - 1); in reset_tx_queue() 272 txq->nb_free = txq->nb_tx_desc - 1; in reset_tx_queue() 774 txq->nb_tx_desc = nb_desc; in iavf_dev_tx_queue_setup() 2270 uint16_t nb_tx_desc = txq->nb_tx_desc; in iavf_xmit_cleanup() local 2277 if (desc_to_clean_to >= nb_tx_desc) in iavf_xmit_cleanup() 3154 free_cnt = txq->nb_tx_desc; in iavf_tx_done_cleanup_full() 3226 qinfo->nb_desc = txq->nb_tx_desc; in iavf_dev_txq_info_get() 3306 if (desc >= txq->nb_tx_desc) { in iavf_dev_tx_desc_status() 3307 desc -= txq->nb_tx_desc; in iavf_dev_tx_desc_status() 3308 if (desc >= txq->nb_tx_desc) in iavf_dev_tx_desc_status() [all …]
|
| H A D | iavf_rxtx_vec_common.h | 133 if (txq->next_dd >= txq->nb_tx_desc) in iavf_tx_free_bufs() 183 const uint16_t max_desc = (uint16_t)(txq->nb_tx_desc - 1); in _iavf_tx_queue_release_mbufs_vec() 190 for (; i < txq->nb_tx_desc; i++) { in _iavf_tx_queue_release_mbufs_vec()
|
| /dpdk/drivers/net/bnxt/ |
| H A D | bnxt_txq.h | 15 uint16_t nb_tx_desc; /* number of TX descriptors */ member
|
| /dpdk/drivers/net/sfc/ |
| H A D | sfc_tx.c | 135 uint16_t nb_tx_desc, unsigned int socket_id, in sfc_tx_qinit() argument 160 rc = sa->priv.dp_tx->qsize_up_rings(nb_tx_desc, &hw_limits, in sfc_tx_qinit() 167 SFC_ASSERT(txq_entries >= nb_tx_desc); in sfc_tx_qinit() 168 SFC_ASSERT(txq_max_fill_level <= nb_tx_desc); in sfc_tx_qinit() 1071 sfc_efx_tx_qsize_up_rings(uint16_t nb_tx_desc, in sfc_efx_tx_qsize_up_rings() argument 1077 *txq_entries = nb_tx_desc; in sfc_efx_tx_qsize_up_rings() 1078 *evq_entries = nb_tx_desc; in sfc_efx_tx_qsize_up_rings()
|
| H A D | sfc_tx.h | 113 uint16_t nb_tx_desc, unsigned int socket_id,
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_rxtx_vec.h | 51 if (txq->next_to_clean >= txq->nb_tx_desc) in hns3_tx_bulk_free_buffers()
|
| H A D | hns3_rxtx.c | 72 for (i = 0; i < txq->nb_tx_desc; i++) { in hns3_tx_queue_release_mbufs() 1125 for (i = 0; i < txq->nb_tx_desc; i++) { in hns3_init_txq() 1132 txq->tx_bd_ready = txq->nb_tx_desc - 1; in hns3_init_txq() 1451 txq->nb_tx_desc = q_info->nb_desc; in hns3_alloc_txq_and_dma_zone() 1468 for (i = 0; i < txq->nb_tx_desc; i++) { in hns3_alloc_txq_and_dma_zone() 3022 txq->tx_bd_ready = txq->nb_tx_desc - 1; in hns3_tx_queue_setup() 3992 txq->nb_tx_desc; in hns3_tx_free_buffer_simple() 4165 tx_bd_max = txq->nb_tx_desc; in hns3_xmit_pkts() 4466 qinfo->nb_desc = txq->nb_tx_desc; in hns3_txq_info_get() 4602 free_cnt = txq->nb_tx_desc; in hns3_tx_done_cleanup_full() [all …]
|
| /dpdk/drivers/net/nfb/ |
| H A D | nfb_tx.c | 52 uint16_t nb_tx_desc __rte_unused, in nfb_eth_tx_queue_setup()
|
| H A D | nfb_tx.h | 48 uint16_t nb_tx_desc __rte_unused,
|