Home
last modified time | relevance | path

Searched refs:tx_free_thresh (Results 1 – 25 of 88) sorted by relevance

1234

/f-stack/dpdk/drivers/net/bnx2x/
H A Dbnx2x_rxtx.c205 txq->tx_free_thresh))) in bnx2x_xmit_pkts()
226 txq->tx_free_thresh) in bnx2x_xmit_pkts()
262 txq->tx_free_thresh = tx_conf->tx_free_thresh ? in bnx2x_dev_tx_queue_setup()
263 tx_conf->tx_free_thresh : DEFAULT_TX_FREE_THRESH; in bnx2x_dev_tx_queue_setup()
264 txq->tx_free_thresh = min(txq->tx_free_thresh, in bnx2x_dev_tx_queue_setup()
269 queue_idx, nb_desc, txq->tx_free_thresh, in bnx2x_dev_tx_queue_setup()
H A Dbnx2x_rxtx.h58 uint16_t tx_free_thresh; /**< minimum TX before freeing. */ member
/f-stack/dpdk/drivers/net/e1000/
H A Dem_rxtx.c159 uint16_t tx_free_thresh; member
396 if (txq->nb_tx_free < txq->tx_free_thresh) in eth_em_xmit_pkts()
1206 uint16_t tx_rs_thresh, tx_free_thresh; in eth_em_tx_queue_setup() local
1224 tx_free_thresh = tx_conf->tx_free_thresh; in eth_em_tx_queue_setup()
1225 if (tx_free_thresh == 0) in eth_em_tx_queue_setup()
1234 if (tx_free_thresh >= (nb_desc - 3)) { in eth_em_tx_queue_setup()
1238 (unsigned int)tx_free_thresh, in eth_em_tx_queue_setup()
1242 if (tx_rs_thresh > tx_free_thresh) { in eth_em_tx_queue_setup()
1246 (unsigned int)tx_free_thresh, in eth_em_tx_queue_setup()
1298 txq->tx_free_thresh = tx_free_thresh; in eth_em_tx_queue_setup()
[all …]
/f-stack/dpdk/drivers/net/txgbe/
H A Dtxgbe_rxtx.c142 return txq->tx_free_thresh; in txgbe_tx_free_bufs()
234 if (txq->nb_tx_free < txq->tx_free_thresh) in tx_xmit_pkts()
812 txq->tx_free_thresh, in txgbe_xmit_pkts()
2124 (unsigned long)txq->tx_free_thresh, in txgbe_set_tx_function()
2180 uint16_t tx_free_thresh; in txgbe_dev_tx_queue_setup() local
2208 tx_free_thresh = (uint16_t)((tx_conf->tx_free_thresh) ? in txgbe_dev_tx_queue_setup()
2210 if (tx_free_thresh >= (nb_desc - 3)) { in txgbe_dev_tx_queue_setup()
2214 (unsigned int)tx_free_thresh, in txgbe_dev_tx_queue_setup()
2219 if ((nb_desc % tx_free_thresh) != 0) { in txgbe_dev_tx_queue_setup()
2254 txq->tx_free_thresh = tx_free_thresh; in txgbe_dev_tx_queue_setup()
[all …]
/f-stack/dpdk/drivers/raw/ntb/
H A Drte_pmd_ntb.h39 uint16_t tx_free_thresh; member
H A Dntb.c265 q_conf->tx_free_thresh = hw->tx_queues[queue_id]->tx_free_thresh; in ntb_queue_conf_get()
441 txq->tx_free_thresh = txq_conf->tx_free_thresh ? in ntb_txq_setup()
442 txq_conf->tx_free_thresh : in ntb_txq_setup()
444 if (txq->tx_free_thresh >= txq->nb_tx_desc - 3) { in ntb_txq_setup()
446 "(tx_free_thresh=%u qp_id=%u)", txq->tx_free_thresh, in ntb_txq_setup()
588 nb_to_clean = RTE_MIN(nb_to_clean, txq->tx_free_thresh); in ntb_enqueue_cleanup()
628 if (txq->nb_tx_free < txq->tx_free_thresh) in ntb_enqueue_bufs()
H A Dntb.h177 uint16_t tx_free_thresh; member
/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_txq.h16 uint16_t tx_free_thresh;/* minimum TX before freeing */ member
H A Dbnxt_txq.c137 txq->tx_free_thresh = in bnxt_tx_queue_setup_op()
/f-stack/dpdk/app/test/
H A Dtest_pmd_perf.c90 .tx_free_thresh = 32, /* Use PMD default values */
822 tx_conf.tx_free_thresh = 32; in test_set_rxtx_conf()
827 tx_conf.tx_free_thresh = 32; in test_set_rxtx_conf()
836 tx_conf.tx_free_thresh = 32; in test_set_rxtx_conf()
842 tx_conf.tx_free_thresh = 32; in test_set_rxtx_conf()
/f-stack/dpdk/drivers/net/thunderx/
H A Dnicvf_ethdev.c938 uint16_t tx_free_thresh; in nicvf_dev_tx_queue_setup() local
970 tx_free_thresh = (uint16_t)((tx_conf->tx_free_thresh) ? in nicvf_dev_tx_queue_setup()
971 tx_conf->tx_free_thresh : in nicvf_dev_tx_queue_setup()
974 if (tx_free_thresh > (nb_desc) || in nicvf_dev_tx_queue_setup()
975 tx_free_thresh > NICVF_MAX_TX_FREE_THRESH) { in nicvf_dev_tx_queue_setup()
979 "queue=%d)", (unsigned int)tx_free_thresh, in nicvf_dev_tx_queue_setup()
1004 txq->tx_free_thresh = tx_free_thresh; in nicvf_dev_tx_queue_setup()
1014 txq->tx_free_thresh = (uint16_t) in nicvf_dev_tx_queue_setup()
1015 (tx_conf->tx_free_thresh == NICVF_DEFAULT_TX_FREE_THRESH ? in nicvf_dev_tx_queue_setup()
1017 tx_conf->tx_free_thresh); in nicvf_dev_tx_queue_setup()
[all …]
H A Dnicvf_struct.h44 uint16_t tx_free_thresh; member
/f-stack/dpdk/drivers/net/i40e/
H A Di40e_rxtx.c1042 if (txq->nb_tx_free < txq->tx_free_thresh) in i40e_xmit_pkts()
1366 if (txq->nb_tx_free < txq->tx_free_thresh) in tx_xmit_pkts()
2180 uint16_t tx_rs_thresh, tx_free_thresh; in i40e_dev_tx_queue_setup() local
2233 tx_free_thresh = (uint16_t)((tx_conf->tx_free_thresh) ? in i40e_dev_tx_queue_setup()
2245 (unsigned int)tx_free_thresh, in i40e_dev_tx_queue_setup()
2260 if (tx_free_thresh >= (nb_desc - 3)) { in i40e_dev_tx_queue_setup()
2264 (unsigned int)tx_free_thresh, in i40e_dev_tx_queue_setup()
2269 if (tx_rs_thresh > tx_free_thresh) { in i40e_dev_tx_queue_setup()
2273 (unsigned int)tx_free_thresh, in i40e_dev_tx_queue_setup()
2328 txq->tx_free_thresh = tx_free_thresh; in i40e_dev_tx_queue_setup()
[all …]
/f-stack/dpdk/lib/librte_ethdev/
H A Drte_ethdev_trace.h68 rte_trace_point_emit_u16(tx_conf->tx_free_thresh);
/f-stack/dpdk/drivers/net/netvsc/
H A Dhn_rxtx.c247 uint32_t tx_free_thresh; in hn_dev_tx_queue_setup() local
252 tx_free_thresh = tx_conf->tx_free_thresh; in hn_dev_tx_queue_setup()
253 if (tx_free_thresh == 0) in hn_dev_tx_queue_setup()
254 tx_free_thresh = RTE_MIN(nb_desc / 4, in hn_dev_tx_queue_setup()
257 if (tx_free_thresh + 3 >= nb_desc) { in hn_dev_tx_queue_setup()
262 tx_free_thresh, dev->data->port_id, queue_idx); in hn_dev_tx_queue_setup()
275 txq->free_thresh = tx_free_thresh; in hn_dev_tx_queue_setup()
/f-stack/dpdk/drivers/net/ice/
H A Dice_rxtx.c1169 uint16_t tx_rs_thresh, tx_free_thresh; in ice_tx_queue_setup() local
1203 tx_free_thresh = (uint16_t)(tx_conf->tx_free_thresh ? in ice_tx_queue_setup()
1204 tx_conf->tx_free_thresh : in ice_tx_queue_setup()
1217 (unsigned int)tx_free_thresh, in ice_tx_queue_setup()
1232 if (tx_free_thresh >= (nb_desc - 3)) { in ice_tx_queue_setup()
1237 (unsigned int)tx_free_thresh, in ice_tx_queue_setup()
1242 if (tx_rs_thresh > tx_free_thresh) { in ice_tx_queue_setup()
1246 (unsigned int)tx_free_thresh, in ice_tx_queue_setup()
1302 txq->tx_free_thresh = tx_free_thresh; in ice_tx_queue_setup()
1384 qinfo->conf.tx_free_thresh = txq->tx_free_thresh; in ice_txq_info_get()
[all …]
/f-stack/dpdk/drivers/net/hinic/
H A Dhinic_pmd_tx.h114 u16 tx_free_thresh; member
/f-stack/dpdk/doc/guides/nics/
H A Dqede.rst301 tx_free_thresh 4068 socket 0
303 tx_free_thresh 4068 socket 0
305 tx_free_thresh 4068 socket 0
307 tx_free_thresh 4068 socket 0
/f-stack/dpdk/app/test-pipeline/
H A Dinit.c102 .tx_free_thresh = 0,
/f-stack/dpdk/drivers/net/iavf/
H A Diavf_rxtx.c76 uint16_t tx_free_thresh) in check_tx_thresh() argument
100 if (tx_free_thresh >= (nb_desc - 3)) { in check_tx_thresh()
103 tx_free_thresh, nb_desc); in check_tx_thresh()
106 if (tx_rs_thresh > tx_free_thresh) { in check_tx_thresh()
109 tx_rs_thresh, tx_free_thresh); in check_tx_thresh()
631 uint16_t tx_rs_thresh, tx_free_thresh; in iavf_dev_tx_queue_setup() local
648 tx_free_thresh = (uint16_t)((tx_conf->tx_free_thresh) ? in iavf_dev_tx_queue_setup()
649 tx_conf->tx_free_thresh : DEFAULT_TX_FREE_THRESH); in iavf_dev_tx_queue_setup()
671 txq->free_thresh = tx_free_thresh; in iavf_dev_tx_queue_setup()
2569 qinfo->conf.tx_free_thresh = txq->free_thresh; in iavf_dev_txq_info_get()
/f-stack/dpdk/drivers/net/ixgbe/
H A Dixgbe_rxtx.c245 if (txq->nb_tx_free < txq->tx_free_thresh) in tx_xmit_pkts()
664 if (txq->nb_tx_free < txq->tx_free_thresh) in ixgbe_xmit_pkts()
2580 uint16_t tx_rs_thresh, tx_free_thresh; in ixgbe_dev_tx_queue_setup() local
2620 tx_free_thresh = (uint16_t)((tx_conf->tx_free_thresh) ? in ixgbe_dev_tx_queue_setup()
2632 (unsigned int)tx_free_thresh, in ixgbe_dev_tx_queue_setup()
2652 if (tx_free_thresh >= (nb_desc - 3)) { in ixgbe_dev_tx_queue_setup()
2657 (unsigned int)tx_free_thresh, in ixgbe_dev_tx_queue_setup()
2661 if (tx_rs_thresh > tx_free_thresh) { in ixgbe_dev_tx_queue_setup()
2665 (unsigned int)tx_free_thresh, in ixgbe_dev_tx_queue_setup()
2720 txq->tx_free_thresh = tx_free_thresh; in ixgbe_dev_tx_queue_setup()
[all …]
H A Dixgbe_rxtx.h210 uint16_t tx_free_thresh; member
/f-stack/dpdk/drivers/net/sfc/
H A Dsfc_tx.c83 if (tx_conf->tx_free_thresh > txq_max_fill_level) { in sfc_tx_qcheck_conf()
86 tx_conf->tx_free_thresh, txq_max_fill_level); in sfc_tx_qcheck_conf()
167 (tx_conf->tx_free_thresh) ? tx_conf->tx_free_thresh : in sfc_tx_qinit()
/f-stack/dpdk/drivers/net/virtio/
H A Dvirtio_rxtx.c792 uint16_t tx_free_thresh; in virtio_dev_tx_queue_setup() local
808 tx_free_thresh = tx_conf->tx_free_thresh; in virtio_dev_tx_queue_setup()
809 if (tx_free_thresh == 0) in virtio_dev_tx_queue_setup()
810 tx_free_thresh = in virtio_dev_tx_queue_setup()
813 if (tx_free_thresh >= (vq->vq_nentries - 3)) { in virtio_dev_tx_queue_setup()
818 tx_free_thresh, dev->data->port_id, queue_idx); in virtio_dev_tx_queue_setup()
822 vq->vq_free_thresh = tx_free_thresh; in virtio_dev_tx_queue_setup()
/f-stack/dpdk/drivers/net/nfp/
H A Dnfp_net_pmd.h220 uint32_t tx_free_thresh; member

1234