| /f-stack/dpdk/examples/qos_sched/ |
| H A D | init.c | 47 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 D | args.c | 203 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 D | main.h | 150 extern struct ring_thresh tx_thresh;
|
| /f-stack/dpdk/lib/librte_ethdev/ |
| H A D | rte_ethdev_trace.h | 64 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 D | otx2_ethdev_ops.c | 216 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 D | em_rxtx.c | 1259 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 D | igb_rxtx.c | 1518 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 D | init.c | 97 .tx_thresh = {
|
| /f-stack/dpdk/drivers/net/igc/ |
| H A D | igc_txrx.c | 1992 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 D | rte_eth_bond_api.c | 331 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 D | sfc_tx.c | 90 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 D | i40e_rxtx.c | 2288 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 D | i40e_vf_representor.c | 79 .tx_thresh = { in i40e_vf_representor_dev_infos_get()
|
| /f-stack/dpdk/app/test-pmd/ |
| H A D | config.c | 511 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 D | testpmd.c | 3472 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 D | ice_rxtx.c | 1261 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 D | ice_dcf_ethdev.c | 686 .tx_thresh = { in ice_dcf_dev_info_get()
|
| /f-stack/dpdk/drivers/net/netvsc/ |
| H A D | hn_rxtx.c | 1479 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 D | test_kni.c | 66 .tx_thresh = {
|
| H A D | test_pmd_perf.c | 85 .tx_thresh = {
|
| /f-stack/dpdk/drivers/net/txgbe/ |
| H A D | txgbe_rxtx.c | 2255 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 D | dpaa_ethdev.c | 1535 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 D | ixgbe_rxtx.c | 2685 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 D | nfp_net.c | 1251 .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 D | dpaa2_ethdev.c | 2327 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()
|