| /dpdk/drivers/net/bnx2x/ |
| H A D | bnx2x_rxtx.c | 203 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 D | bnx2x_rxtx.h | 58 uint16_t tx_free_thresh; /**< minimum TX before freeing. */ member
|
| /dpdk/drivers/net/ngbe/ |
| H A D | ngbe_rxtx.c | 105 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 D | nfp_rxtx.c | 685 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 D | nfp_rxtx.h | 111 uint32_t tx_free_thresh; member
|
| /dpdk/drivers/net/e1000/ |
| H A D | em_rxtx.c | 159 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 D | txgbe_rxtx.c | 148 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 D | rte_pmd_ntb.h | 39 uint16_t tx_free_thresh; member
|
| H A D | ntb.c | 265 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 D | ntb.h | 177 uint16_t tx_free_thresh; member
|
| /dpdk/app/test/ |
| H A D | test_pmd_perf.c | 88 .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 D | nicvf_ethdev.c | 924 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 D | nicvf_struct.h | 44 uint16_t tx_free_thresh; member
|
| /dpdk/drivers/net/bnxt/ |
| H A D | bnxt_txq.h | 16 uint16_t tx_free_thresh;/* minimum TX before freeing */ member
|
| H A D | bnxt_txq.c | 169 txq->tx_free_thresh = in bnxt_tx_queue_setup_op()
|
| /dpdk/drivers/net/i40e/ |
| H A D | i40e_rxtx.c | 1105 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 D | hn_rxtx.c | 247 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 D | ice_rxtx.c | 1218 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 D | qede.rst | 301 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 D | rte_ethdev_trace.h | 68 rte_trace_point_emit_u16(tx_conf->tx_free_thresh);
|
| /dpdk/drivers/net/hinic/ |
| H A D | hinic_pmd_tx.h | 113 u16 tx_free_thresh; member
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_rxtx.c | 244 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 D | virtio_rxtx.c | 821 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 D | init.c | 101 .tx_free_thresh = 0,
|
| /dpdk/drivers/net/iavf/ |
| H A D | iavf_rxtx.c | 113 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 …]
|