Home
last modified time | relevance | path

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

12

/dpdk/examples/qos_sched/
H A Dinit.c47 struct ring_thresh tx_thresh = { variable
91 tx_conf.tx_thresh.pthresh = tx_thresh.pthresh; in app_init_port()
92 tx_conf.tx_thresh.hthresh = tx_thresh.hthresh; in app_init_port()
93 tx_conf.tx_thresh.wthresh = tx_thresh.wthresh; in app_init_port()
441 tx_thresh.pthresh, tx_thresh.hthresh, tx_thresh.wthresh); in app_init()
H A Dargs.c199 tx_thresh.pthresh = (uint8_t)vals[0]; in app_parse_tth_conf()
200 tx_thresh.hthresh = (uint8_t)vals[1]; in app_parse_tth_conf()
201 tx_thresh.wthresh = (uint8_t)vals[2]; in app_parse_tth_conf()
H A Dmain.h150 extern struct ring_thresh tx_thresh;
/dpdk/lib/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);
/dpdk/drivers/net/mlx5/
H A Dmlx5_tx.c690 qinfo->conf.tx_thresh.pthresh = 0; in mlx5_txq_info_get()
691 qinfo->conf.tx_thresh.hthresh = 0; in mlx5_txq_info_get()
692 qinfo->conf.tx_thresh.wthresh = 0; in mlx5_txq_info_get()
/dpdk/drivers/net/e1000/
H A Dem_rxtx.c1261 if (tx_conf->tx_thresh.wthresh != 0 && tx_rs_thresh != 1) { in eth_em_tx_queue_setup()
1303 txq->pthresh = tx_conf->tx_thresh.pthresh; in eth_em_tx_queue_setup()
1304 txq->hthresh = tx_conf->tx_thresh.hthresh; in eth_em_tx_queue_setup()
1305 txq->wthresh = tx_conf->tx_thresh.wthresh; in eth_em_tx_queue_setup()
2001 qinfo->conf.tx_thresh.pthresh = txq->pthresh; in em_txq_info_get()
2002 qinfo->conf.tx_thresh.hthresh = txq->hthresh; in em_txq_info_get()
2003 qinfo->conf.tx_thresh.wthresh = txq->wthresh; in em_txq_info_get()
H A Digb_rxtx.c1520 if (tx_conf->tx_thresh.wthresh == 0 && hw->mac.type != e1000_82576) in eth_igb_tx_queue_setup()
1552 txq->pthresh = tx_conf->tx_thresh.pthresh; in eth_igb_tx_queue_setup()
1553 txq->hthresh = tx_conf->tx_thresh.hthresh; in eth_igb_tx_queue_setup()
1554 txq->wthresh = tx_conf->tx_thresh.wthresh; in eth_igb_tx_queue_setup()
2845 qinfo->conf.tx_thresh.pthresh = txq->pthresh; in igb_txq_info_get()
2846 qinfo->conf.tx_thresh.hthresh = txq->hthresh; in igb_txq_info_get()
2847 qinfo->conf.tx_thresh.wthresh = txq->wthresh; in igb_txq_info_get()
/dpdk/drivers/net/igc/
H A Digc_txrx.c1979 if (tx_conf->tx_thresh.wthresh == 0) in eth_igc_tx_queue_setup()
2009 txq->pthresh = tx_conf->tx_thresh.pthresh; in eth_igc_tx_queue_setup()
2010 txq->hthresh = tx_conf->tx_thresh.hthresh; in eth_igc_tx_queue_setup()
2011 txq->wthresh = tx_conf->tx_thresh.wthresh; in eth_igc_tx_queue_setup()
2234 qinfo->conf.tx_thresh.pthresh = txq->pthresh; in eth_igc_txq_info_get()
2235 qinfo->conf.tx_thresh.hthresh = txq->hthresh; in eth_igc_txq_info_get()
2236 qinfo->conf.tx_thresh.wthresh = txq->wthresh; in eth_igc_txq_info_get()
/dpdk/app/test-pipeline/
H A Dinit.c96 .tx_thresh = {
/dpdk/drivers/net/nfp/
H A Dnfp_rxtx.c754 txq->tx_pthresh = tx_conf->tx_thresh.pthresh; in nfp_net_tx_queue_setup()
755 txq->tx_hthresh = tx_conf->tx_thresh.hthresh; in nfp_net_tx_queue_setup()
756 txq->tx_wthresh = tx_conf->tx_thresh.wthresh; in nfp_net_tx_queue_setup()
/dpdk/drivers/net/sfc/
H A Dsfc_repr.c706 if (tx_conf->tx_thresh.pthresh != 0 || in sfc_repr_tx_qcheck_conf()
707 tx_conf->tx_thresh.hthresh != 0 || in sfc_repr_tx_qcheck_conf()
708 tx_conf->tx_thresh.wthresh != 0) { in sfc_repr_tx_qcheck_conf()
H A Dsfc_tx.c109 if (tx_conf->tx_thresh.pthresh != 0 || in sfc_tx_qcheck_conf()
110 tx_conf->tx_thresh.hthresh != 0 || in sfc_tx_qcheck_conf()
111 tx_conf->tx_thresh.wthresh != 0) { in sfc_tx_qcheck_conf()
/dpdk/drivers/net/bonding/
H A Drte_eth_bond_api.c338 txconf_i->tx_thresh.pthresh = 0; in eth_bond_slave_inherit_dev_info_tx_first()
339 txconf_i->tx_thresh.hthresh = 0; in eth_bond_slave_inherit_dev_info_tx_first()
340 txconf_i->tx_thresh.wthresh = 0; in eth_bond_slave_inherit_dev_info_tx_first()
/dpdk/drivers/net/i40e/
H A Di40e_rxtx.c2379 if ((tx_rs_thresh > 1) && (tx_conf->tx_thresh.wthresh != 0)) { in i40e_dev_tx_queue_setup()
2421 txq->pthresh = tx_conf->tx_thresh.pthresh; in i40e_dev_tx_queue_setup()
2422 txq->hthresh = tx_conf->tx_thresh.hthresh; in i40e_dev_tx_queue_setup()
2423 txq->wthresh = tx_conf->tx_thresh.wthresh; in i40e_dev_tx_queue_setup()
3190 qinfo->conf.tx_thresh.pthresh = txq->pthresh; in i40e_txq_info_get()
3191 qinfo->conf.tx_thresh.hthresh = txq->hthresh; in i40e_txq_info_get()
3192 qinfo->conf.tx_thresh.wthresh = txq->wthresh; in i40e_txq_info_get()
H A Di40e_vf_representor.c84 .tx_thresh = { in i40e_vf_representor_dev_infos_get()
/dpdk/drivers/net/ngbe/
H A Dngbe_rxtx.c2029 txq->pthresh = tx_conf->tx_thresh.pthresh; in ngbe_dev_tx_queue_setup()
2030 txq->hthresh = tx_conf->tx_thresh.hthresh; in ngbe_dev_tx_queue_setup()
2031 txq->wthresh = tx_conf->tx_thresh.wthresh; in ngbe_dev_tx_queue_setup()
3332 qinfo->conf.tx_thresh.pthresh = txq->pthresh; in ngbe_txq_info_get()
3333 qinfo->conf.tx_thresh.hthresh = txq->hthresh; in ngbe_txq_info_get()
3334 qinfo->conf.tx_thresh.wthresh = txq->wthresh; in ngbe_txq_info_get()
/dpdk/drivers/net/ice/
H A Dice_dcf_vf_representor.c181 .tx_thresh = { in ice_dcf_vf_repr_dev_info_get()
H A Dice_rxtx.c1310 if (tx_rs_thresh > 1 && tx_conf->tx_thresh.wthresh != 0) { in ice_tx_queue_setup()
1353 txq->pthresh = tx_conf->tx_thresh.pthresh; in ice_tx_queue_setup()
1354 txq->hthresh = tx_conf->tx_thresh.hthresh; in ice_tx_queue_setup()
1355 txq->wthresh = tx_conf->tx_thresh.wthresh; in ice_tx_queue_setup()
1443 qinfo->conf.tx_thresh.pthresh = txq->pthresh; in ice_txq_info_get()
1444 qinfo->conf.tx_thresh.hthresh = txq->hthresh; in ice_txq_info_get()
1445 qinfo->conf.tx_thresh.wthresh = txq->wthresh; in ice_txq_info_get()
/dpdk/drivers/net/netvsc/
H A Dhn_rxtx.c1484 uint16_t nb_tx, tx_thresh; in hn_xmit_pkts() local
1494 tx_thresh = RTE_MAX(txq->free_thresh, nb_pkts); in hn_xmit_pkts()
1496 rte_mempool_avail_count(txq->txdesc_pool) < tx_thresh) in hn_xmit_pkts()
/dpdk/app/test/
H A Dtest_kni.c66 .tx_thresh = {
H A Dtest_pmd_perf.c83 .tx_thresh = {
/dpdk/app/test-pmd/
H A Dconfig.c519 printf("\nTX prefetch threshold: %hhu", qinfo.conf.tx_thresh.pthresh); in tx_queue_infos_display()
520 printf("\nTX host threshold: %hhu", qinfo.conf.tx_thresh.hthresh); in tx_queue_infos_display()
521 printf("\nTX writeback threshold: %hhu", qinfo.conf.tx_thresh.wthresh); in tx_queue_infos_display()
3682 pthresh_tmp = tx_conf[qid].tx_thresh.pthresh; in rxtx_config_display()
3683 hthresh_tmp = tx_conf[qid].tx_thresh.hthresh; in rxtx_config_display()
3684 wthresh_tmp = tx_conf[qid].tx_thresh.wthresh; in rxtx_config_display()
3691 pthresh_tmp = tx_qinfo.conf.tx_thresh.pthresh; in rxtx_config_display()
3692 hthresh_tmp = tx_qinfo.conf.tx_thresh.hthresh; in rxtx_config_display()
3693 wthresh_tmp = tx_qinfo.conf.tx_thresh.wthresh; in rxtx_config_display()
/dpdk/drivers/net/dpaa/
H A Ddpaa_ethdev.c1540 qinfo->conf.tx_thresh.pthresh = 0; in dpaa_txq_info_get()
1541 qinfo->conf.tx_thresh.hthresh = 0; in dpaa_txq_info_get()
1542 qinfo->conf.tx_thresh.wthresh = 0; in dpaa_txq_info_get()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_rxtx.c2732 if ((tx_rs_thresh > 1) && (tx_conf->tx_thresh.wthresh != 0)) { in ixgbe_dev_tx_queue_setup()
2769 txq->pthresh = tx_conf->tx_thresh.pthresh; in ixgbe_dev_tx_queue_setup()
2770 txq->hthresh = tx_conf->tx_thresh.hthresh; in ixgbe_dev_tx_queue_setup()
2771 txq->wthresh = tx_conf->tx_thresh.wthresh; in ixgbe_dev_tx_queue_setup()
5616 qinfo->conf.tx_thresh.pthresh = txq->pthresh; in ixgbe_txq_info_get()
5617 qinfo->conf.tx_thresh.hthresh = txq->hthresh; in ixgbe_txq_info_get()
5618 qinfo->conf.tx_thresh.wthresh = txq->wthresh; in ixgbe_txq_info_get()
/dpdk/drivers/net/txgbe/
H A Dtxgbe_rxtx.c2340 txq->pthresh = tx_conf->tx_thresh.pthresh; in txgbe_dev_tx_queue_setup()
2341 txq->hthresh = tx_conf->tx_thresh.hthresh; in txgbe_dev_tx_queue_setup()
2342 txq->wthresh = tx_conf->tx_thresh.wthresh; in txgbe_dev_tx_queue_setup()
4789 qinfo->conf.tx_thresh.pthresh = txq->pthresh; in txgbe_txq_info_get()
4790 qinfo->conf.tx_thresh.hthresh = txq->hthresh; in txgbe_txq_info_get()
4791 qinfo->conf.tx_thresh.wthresh = txq->wthresh; in txgbe_txq_info_get()

12