Home
last modified time | relevance | path

Searched refs:tx_thresh (Results 1 – 25 of 39) sorted by relevance

12

/f-stack/dpdk/examples/qos_sched/
H A Dinit.c47 struct ring_thresh tx_thresh = { variable
92 tx_conf.tx_thresh.pthresh = tx_thresh.pthresh; in app_init_port()
93 tx_conf.tx_thresh.hthresh = tx_thresh.hthresh; in app_init_port()
94 tx_conf.tx_thresh.wthresh = tx_thresh.wthresh; in app_init_port()
437 tx_thresh.pthresh, tx_thresh.hthresh, tx_thresh.wthresh); in app_init()
H A Dargs.c203 tx_thresh.pthresh = (uint8_t)vals[0]; in app_parse_tth_conf()
204 tx_thresh.hthresh = (uint8_t)vals[1]; in app_parse_tth_conf()
205 tx_thresh.wthresh = (uint8_t)vals[2]; in app_parse_tth_conf()
H A Dmain.h150 extern struct ring_thresh tx_thresh;
/f-stack/dpdk/lib/librte_ethdev/
H A Drte_ethdev_trace.h64 rte_trace_point_emit_u8(tx_conf->tx_thresh.pthresh);
65 rte_trace_point_emit_u8(tx_conf->tx_thresh.hthresh);
66 rte_trace_point_emit_u8(tx_conf->tx_thresh.wthresh);
/f-stack/dpdk/drivers/net/octeontx2/
H A Dotx2_ethdev_ops.c216 qinfo->conf.tx_thresh.pthresh = 0; in otx2_nix_txq_info_get()
217 qinfo->conf.tx_thresh.hthresh = 0; in otx2_nix_txq_info_get()
218 qinfo->conf.tx_thresh.wthresh = 0; in otx2_nix_txq_info_get()
/f-stack/dpdk/drivers/net/e1000/
H A Dem_rxtx.c1259 if (tx_conf->tx_thresh.wthresh != 0 && tx_rs_thresh != 1) { in eth_em_tx_queue_setup()
1300 txq->pthresh = tx_conf->tx_thresh.pthresh; in eth_em_tx_queue_setup()
1301 txq->hthresh = tx_conf->tx_thresh.hthresh; in eth_em_tx_queue_setup()
1302 txq->wthresh = tx_conf->tx_thresh.wthresh; in eth_em_tx_queue_setup()
2020 qinfo->conf.tx_thresh.pthresh = txq->pthresh; in em_txq_info_get()
2021 qinfo->conf.tx_thresh.hthresh = txq->hthresh; in em_txq_info_get()
2022 qinfo->conf.tx_thresh.wthresh = txq->wthresh; in em_txq_info_get()
H A Digb_rxtx.c1518 if (tx_conf->tx_thresh.wthresh == 0 && hw->mac.type != e1000_82576) in eth_igb_tx_queue_setup()
1549 txq->pthresh = tx_conf->tx_thresh.pthresh; in eth_igb_tx_queue_setup()
1550 txq->hthresh = tx_conf->tx_thresh.hthresh; in eth_igb_tx_queue_setup()
1551 txq->wthresh = tx_conf->tx_thresh.wthresh; in eth_igb_tx_queue_setup()
2858 qinfo->conf.tx_thresh.pthresh = txq->pthresh; in igb_txq_info_get()
2859 qinfo->conf.tx_thresh.hthresh = txq->hthresh; in igb_txq_info_get()
2860 qinfo->conf.tx_thresh.wthresh = txq->wthresh; in igb_txq_info_get()
/f-stack/dpdk/app/test-pipeline/
H A Dinit.c97 .tx_thresh = {
/f-stack/dpdk/drivers/net/igc/
H A Digc_txrx.c1992 if (tx_conf->tx_thresh.wthresh == 0) in eth_igc_tx_queue_setup()
2022 txq->pthresh = tx_conf->tx_thresh.pthresh; in eth_igc_tx_queue_setup()
2023 txq->hthresh = tx_conf->tx_thresh.hthresh; in eth_igc_tx_queue_setup()
2024 txq->wthresh = tx_conf->tx_thresh.wthresh; in eth_igc_tx_queue_setup()
2247 qinfo->conf.tx_thresh.pthresh = txq->pthresh; in eth_igc_txq_info_get()
2248 qinfo->conf.tx_thresh.hthresh = txq->hthresh; in eth_igc_txq_info_get()
2249 qinfo->conf.tx_thresh.wthresh = txq->wthresh; in eth_igc_txq_info_get()
/f-stack/dpdk/drivers/net/bonding/
H A Drte_eth_bond_api.c331 txconf_i->tx_thresh.pthresh = 0; in eth_bond_slave_inherit_dev_info_tx_first()
332 txconf_i->tx_thresh.hthresh = 0; in eth_bond_slave_inherit_dev_info_tx_first()
333 txconf_i->tx_thresh.wthresh = 0; in eth_bond_slave_inherit_dev_info_tx_first()
/f-stack/dpdk/drivers/net/sfc/
H A Dsfc_tx.c90 if (tx_conf->tx_thresh.pthresh != 0 || in sfc_tx_qcheck_conf()
91 tx_conf->tx_thresh.hthresh != 0 || in sfc_tx_qcheck_conf()
92 tx_conf->tx_thresh.wthresh != 0) { in sfc_tx_qcheck_conf()
/f-stack/dpdk/drivers/net/i40e/
H A Di40e_rxtx.c2288 if ((tx_rs_thresh > 1) && (tx_conf->tx_thresh.wthresh != 0)) { in i40e_dev_tx_queue_setup()
2329 txq->pthresh = tx_conf->tx_thresh.pthresh; in i40e_dev_tx_queue_setup()
2330 txq->hthresh = tx_conf->tx_thresh.hthresh; in i40e_dev_tx_queue_setup()
2331 txq->wthresh = tx_conf->tx_thresh.wthresh; in i40e_dev_tx_queue_setup()
3088 qinfo->conf.tx_thresh.pthresh = txq->pthresh; in i40e_txq_info_get()
3089 qinfo->conf.tx_thresh.hthresh = txq->hthresh; in i40e_txq_info_get()
3090 qinfo->conf.tx_thresh.wthresh = txq->wthresh; in i40e_txq_info_get()
H A Di40e_vf_representor.c79 .tx_thresh = { in i40e_vf_representor_dev_infos_get()
/f-stack/dpdk/app/test-pmd/
H A Dconfig.c511 printf("\nTX prefetch threshold: %hhu", qinfo.conf.tx_thresh.pthresh); in tx_queue_infos_display()
512 printf("\nTX host threshold: %hhu", qinfo.conf.tx_thresh.hthresh); in tx_queue_infos_display()
513 printf("\nTX writeback threshold: %hhu", qinfo.conf.tx_thresh.wthresh); in tx_queue_infos_display()
2909 pthresh_tmp = tx_conf[qid].tx_thresh.pthresh; in rxtx_config_display()
2910 hthresh_tmp = tx_conf[qid].tx_thresh.hthresh; in rxtx_config_display()
2911 wthresh_tmp = tx_conf[qid].tx_thresh.wthresh; in rxtx_config_display()
2918 pthresh_tmp = tx_qinfo.conf.tx_thresh.pthresh; in rxtx_config_display()
2919 hthresh_tmp = tx_qinfo.conf.tx_thresh.hthresh; in rxtx_config_display()
2920 wthresh_tmp = tx_qinfo.conf.tx_thresh.wthresh; in rxtx_config_display()
H A Dtestpmd.c3472 port->tx_conf[qid].tx_thresh.pthresh = tx_pthresh; in rxtx_port_config()
3475 port->tx_conf[qid].tx_thresh.hthresh = tx_hthresh; in rxtx_port_config()
3478 port->tx_conf[qid].tx_thresh.wthresh = tx_wthresh; in rxtx_port_config()
/f-stack/dpdk/drivers/net/ice/
H A Dice_rxtx.c1261 if (tx_rs_thresh > 1 && tx_conf->tx_thresh.wthresh != 0) { in ice_tx_queue_setup()
1303 txq->pthresh = tx_conf->tx_thresh.pthresh; in ice_tx_queue_setup()
1304 txq->hthresh = tx_conf->tx_thresh.hthresh; in ice_tx_queue_setup()
1305 txq->wthresh = tx_conf->tx_thresh.wthresh; in ice_tx_queue_setup()
1380 qinfo->conf.tx_thresh.pthresh = txq->pthresh; in ice_txq_info_get()
1381 qinfo->conf.tx_thresh.hthresh = txq->hthresh; in ice_txq_info_get()
1382 qinfo->conf.tx_thresh.wthresh = txq->wthresh; in ice_txq_info_get()
H A Dice_dcf_ethdev.c686 .tx_thresh = { in ice_dcf_dev_info_get()
/f-stack/dpdk/drivers/net/netvsc/
H A Dhn_rxtx.c1479 uint16_t nb_tx, tx_thresh; in hn_xmit_pkts() local
1489 tx_thresh = RTE_MAX(txq->free_thresh, nb_pkts); in hn_xmit_pkts()
1491 rte_mempool_avail_count(txq->txdesc_pool) < tx_thresh) in hn_xmit_pkts()
/f-stack/dpdk/app/test/
H A Dtest_kni.c66 .tx_thresh = {
H A Dtest_pmd_perf.c85 .tx_thresh = {
/f-stack/dpdk/drivers/net/txgbe/
H A Dtxgbe_rxtx.c2255 txq->pthresh = tx_conf->tx_thresh.pthresh; in txgbe_dev_tx_queue_setup()
2256 txq->hthresh = tx_conf->tx_thresh.hthresh; in txgbe_dev_tx_queue_setup()
2257 txq->wthresh = tx_conf->tx_thresh.wthresh; in txgbe_dev_tx_queue_setup()
4627 qinfo->conf.tx_thresh.pthresh = txq->pthresh; in txgbe_txq_info_get()
4628 qinfo->conf.tx_thresh.hthresh = txq->hthresh; in txgbe_txq_info_get()
4629 qinfo->conf.tx_thresh.wthresh = txq->wthresh; in txgbe_txq_info_get()
/f-stack/dpdk/drivers/net/dpaa/
H A Ddpaa_ethdev.c1535 qinfo->conf.tx_thresh.pthresh = 0; in dpaa_txq_info_get()
1536 qinfo->conf.tx_thresh.hthresh = 0; in dpaa_txq_info_get()
1537 qinfo->conf.tx_thresh.wthresh = 0; in dpaa_txq_info_get()
/f-stack/dpdk/drivers/net/ixgbe/
H A Dixgbe_rxtx.c2685 if ((tx_rs_thresh > 1) && (tx_conf->tx_thresh.wthresh != 0)) { in ixgbe_dev_tx_queue_setup()
2721 txq->pthresh = tx_conf->tx_thresh.pthresh; in ixgbe_dev_tx_queue_setup()
2722 txq->hthresh = tx_conf->tx_thresh.hthresh; in ixgbe_dev_tx_queue_setup()
2723 txq->wthresh = tx_conf->tx_thresh.wthresh; in ixgbe_dev_tx_queue_setup()
5582 qinfo->conf.tx_thresh.pthresh = txq->pthresh; in ixgbe_txq_info_get()
5583 qinfo->conf.tx_thresh.hthresh = txq->hthresh; in ixgbe_txq_info_get()
5584 qinfo->conf.tx_thresh.wthresh = txq->wthresh; in ixgbe_txq_info_get()
/f-stack/dpdk/drivers/net/nfp/
H A Dnfp_net.c1251 .tx_thresh = { in nfp_net_infos_get()
1750 txq->tx_pthresh = tx_conf->tx_thresh.pthresh; in nfp_net_tx_queue_setup()
1751 txq->tx_hthresh = tx_conf->tx_thresh.hthresh; in nfp_net_tx_queue_setup()
1752 txq->tx_wthresh = tx_conf->tx_thresh.wthresh; in nfp_net_tx_queue_setup()
/f-stack/dpdk/drivers/net/dpaa2/
H A Ddpaa2_ethdev.c2327 qinfo->conf.tx_thresh.pthresh = 0; in dpaa2_txq_info_get()
2328 qinfo->conf.tx_thresh.hthresh = 0; in dpaa2_txq_info_get()
2329 qinfo->conf.tx_thresh.wthresh = 0; in dpaa2_txq_info_get()

12