Home
last modified time | relevance | path

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

1234

/f-stack/dpdk/lib/librte_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);
/f-stack/dpdk/examples/qos_sched/
H A Dinit.c75 struct rte_eth_txconf tx_conf; in app_init_port() local
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()
95 tx_conf.tx_free_thresh = 0; in app_init_port()
96 tx_conf.tx_rs_thresh = 0; in app_init_port()
97 tx_conf.tx_deferred_start = 0; in app_init_port()
140 tx_conf.offloads = local_port_conf.txmode.offloads; in app_init_port()
142 (uint16_t)ring_conf.tx_size, rte_eth_dev_socket_id(portid), &tx_conf); in app_init_port()
/f-stack/dpdk/examples/performance-thread/l3fwd-thread/
H A Dmain.c2021 struct thread_tx_conf *tx_conf; in lthread_tx_per_ring() local
2026 ring = tx_conf->ring; in lthread_tx_per_ring()
2027 ready = *tx_conf->ready; in lthread_tx_per_ring()
2076 struct thread_tx_conf *tx_conf; in lthread_tx() local
2090 (void *)tx_conf); in lthread_tx()
2108 send_burst(tx_conf, tx_conf->tx_mbufs[portid].len, portid); in lthread_tx()
2314 struct thread_tx_conf *tx_conf; in pthread_tx() local
2345 send_burst(tx_conf, tx_conf->tx_mbufs[portid].len, portid); in pthread_tx()
2549 struct thread_tx_conf *tx_conf; in init_rx_rings() local
2559 tx_conf->conf.thread_id); in init_rx_rings()
[all …]
/f-stack/dpdk/app/test/
H A Dtest_pmd_perf.c84 static struct rte_eth_txconf tx_conf = { variable
736 socketid, &tx_conf); in test_pmd_perf()
821 tx_conf.tx_rs_thresh = 32; in test_set_rxtx_conf()
822 tx_conf.tx_free_thresh = 32; in test_set_rxtx_conf()
826 tx_conf.tx_rs_thresh = 32; in test_set_rxtx_conf()
827 tx_conf.tx_free_thresh = 32; in test_set_rxtx_conf()
835 tx_conf.tx_rs_thresh = 32; in test_set_rxtx_conf()
836 tx_conf.tx_free_thresh = 32; in test_set_rxtx_conf()
841 tx_conf.tx_rs_thresh = 32; in test_set_rxtx_conf()
842 tx_conf.tx_free_thresh = 32; in test_set_rxtx_conf()
/f-stack/dpdk/drivers/net/sfc/
H A Dsfc_tx.c73 const struct rte_eth_txconf *tx_conf, in sfc_tx_qcheck_conf() argument
78 if (tx_conf->tx_rs_thresh != 0) { in sfc_tx_qcheck_conf()
83 if (tx_conf->tx_free_thresh > txq_max_fill_level) { in sfc_tx_qcheck_conf()
86 tx_conf->tx_free_thresh, txq_max_fill_level); in sfc_tx_qcheck_conf()
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()
117 const struct rte_eth_txconf *tx_conf) in sfc_tx_qinit() argument
147 offloads = tx_conf->offloads | in sfc_tx_qinit()
167 (tx_conf->tx_free_thresh) ? tx_conf->tx_free_thresh : in sfc_tx_qinit()
[all …]
H A Dsfc_tx.h112 const struct rte_eth_txconf *tx_conf);
/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_txq.c91 const struct rte_eth_txconf *tx_conf) in bnxt_tx_queue_setup_op() argument
140 tx_conf->offloads; in bnxt_tx_queue_setup_op()
142 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);
/f-stack/dpdk/examples/vmdq_dcb/
H A Dmain.c139 struct rte_eth_vmdq_dcb_tx_conf tx_conf; in get_eth_conf() local
144 tx_conf.nb_queue_pools = (enum rte_eth_nb_pools)num_pools; in get_eth_conf()
161 tx_conf.dcb_tc[i] = i % num_tcs; in get_eth_conf()
171 (void)(rte_memcpy(&eth_conf->tx_adv_conf.vmdq_dcb_tx_conf, &tx_conf, in get_eth_conf()
172 sizeof(tx_conf))); in get_eth_conf()
/f-stack/dpdk/app/test-pipeline/
H A Dinit.c96 static struct rte_eth_txconf tx_conf = { variable
234 &tx_conf); in app_init_ports()
/f-stack/dpdk/drivers/net/ark/
H A Dark_ethdev_tx.h23 const struct rte_eth_txconf *tx_conf);
/f-stack/dpdk/drivers/net/ionic/
H A Dionic_rxtx.h34 const struct rte_eth_txconf *tx_conf);
/f-stack/dpdk/drivers/net/bnx2x/
H A Dbnx2x_rxtx.h73 const struct rte_eth_txconf *tx_conf);
H A Dbnx2x_rxtx.c237 const struct rte_eth_txconf *tx_conf) in bnx2x_dev_tx_queue_setup() argument
262 txq->tx_free_thresh = tx_conf->tx_free_thresh ? in bnx2x_dev_tx_queue_setup()
263 tx_conf->tx_free_thresh : DEFAULT_TX_FREE_THRESH; in bnx2x_dev_tx_queue_setup()
/f-stack/dpdk/drivers/net/igc/
H A Digc_txrx.h36 const struct rte_eth_txconf *tx_conf);
/f-stack/dpdk/drivers/net/netvsc/
H A Dhn_var.h177 const struct rte_eth_txconf *tx_conf);
243 const struct rte_eth_txconf *tx_conf);
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dvmdq_dcb_forwarding.rst180 struct rte_eth_vmdq_dcb_tx_conf tx_conf;
185 tx_conf.nb_queue_pools = (enum rte_eth_nb_pools)num_pools;
202 tx_conf.dcb_tc[i] = i % num_tcs;
212 (void)(rte_memcpy(&eth_conf->tx_adv_conf.vmdq_dcb_tx_conf, &tx_conf,
213 sizeof(tx_conf)));
/f-stack/dpdk/drivers/net/cxgbe/
H A Dcxgbe_pfvf.h33 const struct rte_eth_txconf *tx_conf);
/f-stack/dpdk/drivers/net/nfb/
H A Dnfb_tx.h50 const struct rte_eth_txconf *tx_conf __rte_unused);
H A Dnfb_tx.c54 const struct rte_eth_txconf *tx_conf __rte_unused) in nfb_eth_tx_queue_setup()
/f-stack/dpdk/app/test-pmd/
H A Dtestpmd.c1486 port->tx_conf[k].offloads = in init_config()
2583 &(port->tx_conf[qi])); in start_port()
2588 &(port->tx_conf[qi])); in start_port()
3465 offloads = port->tx_conf[qid].offloads; in rxtx_port_config()
3466 port->tx_conf[qid] = port->dev_info.default_txconf; in rxtx_port_config()
3468 port->tx_conf[qid].offloads = offloads; in rxtx_port_config()
3472 port->tx_conf[qid].tx_thresh.pthresh = tx_pthresh; in rxtx_port_config()
3481 port->tx_conf[qid].tx_rs_thresh = tx_rs_thresh; in rxtx_port_config()
3626 struct rte_eth_dcb_tx_conf *tx_conf = in get_eth_dcb_conf() local
3636 tx_conf->nb_tcs = num_tcs; in get_eth_dcb_conf()
[all …]
/f-stack/dpdk/drivers/net/virtio/
H A Dvirtio_ethdev.h75 const struct rte_eth_txconf *tx_conf);
/f-stack/dpdk/drivers/net/e1000/
H A Dem_rxtx.c1200 const struct rte_eth_txconf *tx_conf) in eth_em_tx_queue_setup() argument
1211 offloads = tx_conf->offloads | dev->data->dev_conf.txmode.offloads; in eth_em_tx_queue_setup()
1224 tx_free_thresh = tx_conf->tx_free_thresh; in eth_em_tx_queue_setup()
1229 tx_rs_thresh = tx_conf->tx_rs_thresh; in eth_em_tx_queue_setup()
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()
/f-stack/dpdk/drivers/net/atlantic/
H A Datl_ethdev.h67 const struct rte_eth_txconf *tx_conf);

1234