Home
last modified time | relevance | path

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

1234

/dpdk/drivers/net/bnx2x/
H A Dbnx2x_rxtx.c203 txq->tx_free_thresh))) in bnx2x_xmit_pkts()
224 txq->tx_free_thresh) in bnx2x_xmit_pkts()
260 txq->tx_free_thresh = tx_conf->tx_free_thresh ? in bnx2x_dev_tx_queue_setup()
261 tx_conf->tx_free_thresh : DEFAULT_TX_FREE_THRESH; in bnx2x_dev_tx_queue_setup()
262 txq->tx_free_thresh = min(txq->tx_free_thresh, in bnx2x_dev_tx_queue_setup()
267 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
/dpdk/drivers/net/ngbe/
H A Dngbe_rxtx.c105 return txq->tx_free_thresh; in ngbe_tx_free_bufs()
703 txq->tx_free_thresh, in ngbe_xmit_pkts()
1895 (unsigned long)txq->tx_free_thresh, in ngbe_set_tx_function()
1966 uint16_t tx_free_thresh; in ngbe_dev_tx_queue_setup() local
1983 tx_free_thresh = (uint16_t)((tx_conf->tx_free_thresh) ? in ngbe_dev_tx_queue_setup()
1985 if (tx_free_thresh >= (nb_desc - 3)) { in ngbe_dev_tx_queue_setup()
1988 (unsigned int)tx_free_thresh, in ngbe_dev_tx_queue_setup()
1993 if (nb_desc % tx_free_thresh != 0) { in ngbe_dev_tx_queue_setup()
1996 (unsigned int)tx_free_thresh, in ngbe_dev_tx_queue_setup()
2028 txq->tx_free_thresh = tx_free_thresh; in ngbe_dev_tx_queue_setup()
[all …]
/dpdk/drivers/net/nfp/
H A Dnfp_rxtx.c685 uint16_t tx_free_thresh; in nfp_net_tx_queue_setup() local
702 tx_free_thresh = (uint16_t)((tx_conf->tx_free_thresh) ? in nfp_net_tx_queue_setup()
703 tx_conf->tx_free_thresh : in nfp_net_tx_queue_setup()
706 if (tx_free_thresh > (nb_desc)) { in nfp_net_tx_queue_setup()
710 "queue=%d)", (unsigned int)tx_free_thresh, in nfp_net_tx_queue_setup()
753 txq->tx_free_thresh = tx_free_thresh; in nfp_net_tx_queue_setup()
816 return (nfp_free_tx_desc(txq) < txq->tx_free_thresh); in nfp_net_txq_full()
H A Dnfp_rxtx.h111 uint32_t tx_free_thresh; member
/dpdk/drivers/net/e1000/
H A Dem_rxtx.c159 uint16_t tx_free_thresh; member
397 if (txq->nb_tx_free < txq->tx_free_thresh) in eth_em_xmit_pkts()
1208 uint16_t tx_rs_thresh, tx_free_thresh; in eth_em_tx_queue_setup() local
1226 tx_free_thresh = tx_conf->tx_free_thresh; in eth_em_tx_queue_setup()
1227 if (tx_free_thresh == 0) in eth_em_tx_queue_setup()
1236 if (tx_free_thresh >= (nb_desc - 3)) { in eth_em_tx_queue_setup()
1240 (unsigned int)tx_free_thresh, in eth_em_tx_queue_setup()
1244 if (tx_rs_thresh > tx_free_thresh) { in eth_em_tx_queue_setup()
1248 (unsigned int)tx_free_thresh, in eth_em_tx_queue_setup()
1301 txq->tx_free_thresh = tx_free_thresh; in eth_em_tx_queue_setup()
[all …]
/dpdk/drivers/net/txgbe/
H A Dtxgbe_rxtx.c148 return txq->tx_free_thresh; in txgbe_tx_free_bufs()
240 if (txq->nb_tx_free < txq->tx_free_thresh) in tx_xmit_pkts()
869 txq->tx_free_thresh, in txgbe_xmit_pkts()
2204 (unsigned long)txq->tx_free_thresh, in txgbe_set_tx_function()
2265 uint16_t tx_free_thresh; in txgbe_dev_tx_queue_setup() local
2293 tx_free_thresh = (uint16_t)((tx_conf->tx_free_thresh) ? in txgbe_dev_tx_queue_setup()
2295 if (tx_free_thresh >= (nb_desc - 3)) { in txgbe_dev_tx_queue_setup()
2299 (unsigned int)tx_free_thresh, in txgbe_dev_tx_queue_setup()
2304 if ((nb_desc % tx_free_thresh) != 0) { in txgbe_dev_tx_queue_setup()
2339 txq->tx_free_thresh = tx_free_thresh; in txgbe_dev_tx_queue_setup()
[all …]
/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
/dpdk/app/test/
H A Dtest_pmd_perf.c88 .tx_free_thresh = 32, /* Use PMD default values */
836 tx_conf.tx_free_thresh = 32; in test_set_rxtx_conf()
841 tx_conf.tx_free_thresh = 32; in test_set_rxtx_conf()
850 tx_conf.tx_free_thresh = 32; in test_set_rxtx_conf()
856 tx_conf.tx_free_thresh = 32; in test_set_rxtx_conf()
/dpdk/drivers/net/thunderx/
H A Dnicvf_ethdev.c924 uint16_t tx_free_thresh; in nicvf_dev_tx_queue_setup() local
956 tx_free_thresh = (uint16_t)((tx_conf->tx_free_thresh) ? in nicvf_dev_tx_queue_setup()
957 tx_conf->tx_free_thresh : in nicvf_dev_tx_queue_setup()
960 if (tx_free_thresh > (nb_desc) || in nicvf_dev_tx_queue_setup()
961 tx_free_thresh > NICVF_MAX_TX_FREE_THRESH) { in nicvf_dev_tx_queue_setup()
965 "queue=%d)", (unsigned int)tx_free_thresh, in nicvf_dev_tx_queue_setup()
989 txq->tx_free_thresh = tx_free_thresh; in nicvf_dev_tx_queue_setup()
999 txq->tx_free_thresh = (uint16_t) in nicvf_dev_tx_queue_setup()
1000 (tx_conf->tx_free_thresh == NICVF_DEFAULT_TX_FREE_THRESH ? in nicvf_dev_tx_queue_setup()
1002 tx_conf->tx_free_thresh); in nicvf_dev_tx_queue_setup()
[all …]
H A Dnicvf_struct.h44 uint16_t tx_free_thresh; member
/dpdk/drivers/net/bnxt/
H A Dbnxt_txq.h16 uint16_t tx_free_thresh;/* minimum TX before freeing */ member
H A Dbnxt_txq.c169 txq->tx_free_thresh = in bnxt_tx_queue_setup_op()
/dpdk/drivers/net/i40e/
H A Di40e_rxtx.c1105 if (txq->nb_tx_free < txq->tx_free_thresh) in i40e_xmit_pkts()
1447 if (txq->nb_tx_free < txq->tx_free_thresh) in tx_xmit_pkts()
2279 uint16_t tx_rs_thresh, tx_free_thresh; in i40e_dev_tx_queue_setup() local
2324 tx_free_thresh = (uint16_t)((tx_conf->tx_free_thresh) ? in i40e_dev_tx_queue_setup()
2336 (unsigned int)tx_free_thresh, in i40e_dev_tx_queue_setup()
2351 if (tx_free_thresh >= (nb_desc - 3)) { in i40e_dev_tx_queue_setup()
2355 (unsigned int)tx_free_thresh, in i40e_dev_tx_queue_setup()
2360 if (tx_rs_thresh > tx_free_thresh) { in i40e_dev_tx_queue_setup()
2364 (unsigned int)tx_free_thresh, in i40e_dev_tx_queue_setup()
2420 txq->tx_free_thresh = tx_free_thresh; in i40e_dev_tx_queue_setup()
[all …]
/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()
/dpdk/drivers/net/ice/
H A Dice_rxtx.c1218 uint16_t tx_rs_thresh, tx_free_thresh; in ice_tx_queue_setup() local
1252 tx_free_thresh = (uint16_t)(tx_conf->tx_free_thresh ? in ice_tx_queue_setup()
1253 tx_conf->tx_free_thresh : in ice_tx_queue_setup()
1266 (unsigned int)tx_free_thresh, in ice_tx_queue_setup()
1281 if (tx_free_thresh >= (nb_desc - 3)) { in ice_tx_queue_setup()
1286 (unsigned int)tx_free_thresh, in ice_tx_queue_setup()
1291 if (tx_rs_thresh > tx_free_thresh) { in ice_tx_queue_setup()
1295 (unsigned int)tx_free_thresh, in ice_tx_queue_setup()
1352 txq->tx_free_thresh = tx_free_thresh; in ice_tx_queue_setup()
1447 qinfo->conf.tx_free_thresh = txq->tx_free_thresh; in ice_txq_info_get()
[all …]
/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
/dpdk/lib/ethdev/
H A Drte_ethdev_trace.h68 rte_trace_point_emit_u16(tx_conf->tx_free_thresh);
/dpdk/drivers/net/hinic/
H A Dhinic_pmd_tx.h113 u16 tx_free_thresh; member
/dpdk/drivers/net/ixgbe/
H A Dixgbe_rxtx.c244 if (txq->nb_tx_free < txq->tx_free_thresh) in tx_xmit_pkts()
662 if (txq->nb_tx_free < txq->tx_free_thresh) in ixgbe_xmit_pkts()
2627 uint16_t tx_rs_thresh, tx_free_thresh; in ixgbe_dev_tx_queue_setup() local
2667 tx_free_thresh = (uint16_t)((tx_conf->tx_free_thresh) ? in ixgbe_dev_tx_queue_setup()
2679 (unsigned int)tx_free_thresh, in ixgbe_dev_tx_queue_setup()
2699 if (tx_free_thresh >= (nb_desc - 3)) { in ixgbe_dev_tx_queue_setup()
2704 (unsigned int)tx_free_thresh, in ixgbe_dev_tx_queue_setup()
2708 if (tx_rs_thresh > tx_free_thresh) { in ixgbe_dev_tx_queue_setup()
2712 (unsigned int)tx_free_thresh, in ixgbe_dev_tx_queue_setup()
2768 txq->tx_free_thresh = tx_free_thresh; in ixgbe_dev_tx_queue_setup()
[all …]
/dpdk/drivers/net/virtio/
H A Dvirtio_rxtx.c821 uint16_t tx_free_thresh; in virtio_dev_tx_queue_setup() local
837 tx_free_thresh = tx_conf->tx_free_thresh; in virtio_dev_tx_queue_setup()
838 if (tx_free_thresh == 0) in virtio_dev_tx_queue_setup()
839 tx_free_thresh = in virtio_dev_tx_queue_setup()
842 if (tx_free_thresh >= (vq->vq_nentries - 3)) { in virtio_dev_tx_queue_setup()
847 tx_free_thresh, dev->data->port_id, queue_idx); in virtio_dev_tx_queue_setup()
851 vq->vq_free_thresh = tx_free_thresh; in virtio_dev_tx_queue_setup()
/dpdk/app/test-pipeline/
H A Dinit.c101 .tx_free_thresh = 0,
/dpdk/drivers/net/iavf/
H A Diavf_rxtx.c113 uint16_t tx_free_thresh) in check_tx_thresh() argument
137 if (tx_free_thresh >= (nb_desc - 3)) { in check_tx_thresh()
140 tx_free_thresh, nb_desc); in check_tx_thresh()
143 if (tx_rs_thresh > tx_free_thresh) { in check_tx_thresh()
146 tx_rs_thresh, tx_free_thresh); in check_tx_thresh()
717 uint16_t tx_rs_thresh, tx_free_thresh; in iavf_dev_tx_queue_setup() local
734 tx_free_thresh = (uint16_t)((tx_conf->tx_free_thresh) ? in iavf_dev_tx_queue_setup()
735 tx_conf->tx_free_thresh : DEFAULT_TX_FREE_THRESH); in iavf_dev_tx_queue_setup()
736 if (check_tx_thresh(nb_desc, tx_rs_thresh, tx_free_thresh) != 0) in iavf_dev_tx_queue_setup()
776 txq->free_thresh = tx_free_thresh; in iavf_dev_tx_queue_setup()
[all …]

1234