Home
last modified time | relevance | path

Searched refs:tx_conf (Results 1 – 25 of 101) sorted by relevance

12345

/dpdk/lib/ethdev/
H A Drte_ethdev_trace.h60 uint16_t nb_tx_desc, const struct rte_eth_txconf *tx_conf),
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);
67 rte_trace_point_emit_u8(tx_conf->tx_deferred_start);
68 rte_trace_point_emit_u16(tx_conf->tx_free_thresh);
69 rte_trace_point_emit_u64(tx_conf->offloads);
/dpdk/examples/qos_sched/
H A Dinit.c74 struct rte_eth_txconf tx_conf; in app_init_port() local
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()
94 tx_conf.tx_free_thresh = 0; in app_init_port()
95 tx_conf.tx_rs_thresh = 0; in app_init_port()
96 tx_conf.tx_deferred_start = 0; in app_init_port()
139 tx_conf.offloads = local_port_conf.txmode.offloads; in app_init_port()
141 (uint16_t)ring_conf.tx_size, rte_eth_dev_socket_id(portid), &tx_conf); in app_init_port()
/dpdk/app/test/
H A Dtest_pmd_perf.c82 static struct rte_eth_txconf tx_conf = { variable
750 socketid, &tx_conf); in test_pmd_perf()
835 tx_conf.tx_rs_thresh = 32; in test_set_rxtx_conf()
836 tx_conf.tx_free_thresh = 32; in test_set_rxtx_conf()
840 tx_conf.tx_rs_thresh = 32; in test_set_rxtx_conf()
841 tx_conf.tx_free_thresh = 32; in test_set_rxtx_conf()
849 tx_conf.tx_rs_thresh = 32; in test_set_rxtx_conf()
850 tx_conf.tx_free_thresh = 32; in test_set_rxtx_conf()
855 tx_conf.tx_rs_thresh = 32; in test_set_rxtx_conf()
856 tx_conf.tx_free_thresh = 32; in test_set_rxtx_conf()
/dpdk/drivers/net/sfc/
H A Dsfc_tx.c92 const struct rte_eth_txconf *tx_conf, in sfc_tx_qcheck_conf() argument
97 if (tx_conf->tx_rs_thresh != 0) { in sfc_tx_qcheck_conf()
102 if (tx_conf->tx_free_thresh > txq_max_fill_level) { in sfc_tx_qcheck_conf()
105 tx_conf->tx_free_thresh, txq_max_fill_level); in sfc_tx_qcheck_conf()
109 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()
136 const struct rte_eth_txconf *tx_conf) in sfc_tx_qinit() argument
170 offloads = tx_conf->offloads; in sfc_tx_qinit()
193 (tx_conf->tx_free_thresh) ? tx_conf->tx_free_thresh : in sfc_tx_qinit()
[all …]
H A Dsfc_repr.c694 const struct rte_eth_txconf *tx_conf) in sfc_repr_tx_qcheck_conf() argument
700 if (tx_conf->tx_rs_thresh != 0) in sfc_repr_tx_qcheck_conf()
703 if (tx_conf->tx_free_thresh != 0) in sfc_repr_tx_qcheck_conf()
706 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()
713 if (tx_conf->tx_deferred_start) { in sfc_repr_tx_qcheck_conf()
726 const struct rte_eth_txconf *tx_conf) in sfc_repr_tx_queue_setup() argument
735 ret = sfc_repr_tx_qcheck_conf(sr, tx_conf); in sfc_repr_tx_queue_setup()
H A Dsfc_tx.h114 const struct rte_eth_txconf *tx_conf);
/dpdk/drivers/net/bnxt/
H A Dbnxt_txq.c123 const struct rte_eth_txconf *tx_conf) in bnxt_tx_queue_setup_op() argument
172 tx_conf->offloads; in bnxt_tx_queue_setup_op()
174 txq->tx_deferred_start = tx_conf->tx_deferred_start; in bnxt_tx_queue_setup_op()
H A Dbnxt_txq.h45 const struct rte_eth_txconf *tx_conf);
H A Dbnxt_reps.h44 tx_conf);
/dpdk/examples/vmdq_dcb/
H A Dmain.c140 struct rte_eth_vmdq_dcb_tx_conf tx_conf; in get_eth_conf() local
145 tx_conf.nb_queue_pools = (enum rte_eth_nb_pools)num_pools; in get_eth_conf()
162 tx_conf.dcb_tc[i] = i % num_tcs; in get_eth_conf()
172 (void)(rte_memcpy(&eth_conf->tx_adv_conf.vmdq_dcb_tx_conf, &tx_conf, in get_eth_conf()
173 sizeof(tx_conf))); in get_eth_conf()
/dpdk/app/test-pipeline/
H A Dinit.c95 static struct rte_eth_txconf tx_conf = { variable
233 &tx_conf); in app_init_ports()
/dpdk/drivers/net/ark/
H A Dark_ethdev_tx.h20 const struct rte_eth_txconf *tx_conf);
/dpdk/drivers/net/nfp/
H A Dnfp_rxtx.c681 const struct rte_eth_txconf *tx_conf) in nfp_net_tx_queue_setup() argument
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()
754 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/ionic/
H A Dionic_rxtx.h34 const struct rte_eth_txconf *tx_conf);
/dpdk/drivers/net/netvsc/
H A Dhn_var.h209 const struct rte_eth_txconf *tx_conf);
266 const struct rte_eth_txconf *tx_conf);
/dpdk/drivers/net/igc/
H A Digc_txrx.h33 const struct rte_eth_txconf *tx_conf);
H A Digc_txrx.c1951 const struct rte_eth_txconf *tx_conf) in eth_igc_tx_queue_setup() argument
1973 if (tx_conf->tx_free_thresh != 0) in eth_igc_tx_queue_setup()
1976 if (tx_conf->tx_rs_thresh != 0) in eth_igc_tx_queue_setup()
1979 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()
2036 txq->offloads = tx_conf->offloads; in eth_igc_tx_queue_setup()
/dpdk/drivers/net/bnx2x/
H A Dbnx2x_rxtx.h73 const struct rte_eth_txconf *tx_conf);
H A Dbnx2x_rxtx.c235 const struct rte_eth_txconf *tx_conf) in bnx2x_dev_tx_queue_setup() argument
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()
/dpdk/app/test-pmd/
H A Dtestpmd.c2827 port->tx_conf[k].offloads |= in start_port()
2840 &(port->tx_conf[qi])); in start_port()
2845 &(port->tx_conf[qi])); in start_port()
3704 offloads = port->tx_conf[qid].offloads; in rxtx_port_config()
3705 port->tx_conf[qid] = port->dev_info.default_txconf; in rxtx_port_config()
3707 port->tx_conf[qid].offloads = offloads; in rxtx_port_config()
3711 port->tx_conf[qid].tx_thresh.pthresh = tx_pthresh; in rxtx_port_config()
3720 port->tx_conf[qid].tx_rs_thresh = tx_rs_thresh; in rxtx_port_config()
3916 struct rte_eth_dcb_tx_conf *tx_conf = in get_eth_dcb_conf() local
3926 tx_conf->nb_tcs = num_tcs; in get_eth_dcb_conf()
[all …]
/dpdk/drivers/net/e1000/
H A Dem_rxtx.c1202 const struct rte_eth_txconf *tx_conf) in eth_em_tx_queue_setup() argument
1213 offloads = tx_conf->offloads | dev->data->dev_conf.txmode.offloads; in eth_em_tx_queue_setup()
1226 tx_free_thresh = tx_conf->tx_free_thresh; in eth_em_tx_queue_setup()
1231 tx_rs_thresh = tx_conf->tx_rs_thresh; in eth_em_tx_queue_setup()
1261 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()
/dpdk/drivers/net/nfb/
H A Dnfb_tx.c54 const struct rte_eth_txconf *tx_conf __rte_unused) in nfb_eth_tx_queue_setup()
H A Dnfb_tx.h50 const struct rte_eth_txconf *tx_conf __rte_unused);
/dpdk/drivers/net/cxgbe/
H A Dcxgbe_pfvf.h33 const struct rte_eth_txconf *tx_conf);
/dpdk/drivers/net/virtio/
H A Dvirtio_ethdev.h72 const struct rte_eth_txconf *tx_conf);

12345