Home
last modified time | relevance | path

Searched refs:rx_conf (Results 1 – 25 of 104) sorted by relevance

12345

/dpdk/lib/ethdev/
H A Drte_ethdev_trace.h43 const struct rte_eth_rxconf *rx_conf, int rc),
48 rte_trace_point_emit_u8(rx_conf->rx_thresh.pthresh);
49 rte_trace_point_emit_u8(rx_conf->rx_thresh.hthresh);
50 rte_trace_point_emit_u8(rx_conf->rx_thresh.wthresh);
51 rte_trace_point_emit_u8(rx_conf->rx_drop_en);
52 rte_trace_point_emit_u8(rx_conf->rx_deferred_start);
53 rte_trace_point_emit_u64(rx_conf->offloads);
/dpdk/examples/qos_sched/
H A Dinit.c73 struct rte_eth_rxconf rx_conf; in app_init_port() local
84 rx_conf.rx_thresh.pthresh = rx_thresh.pthresh; in app_init_port()
85 rx_conf.rx_thresh.hthresh = rx_thresh.hthresh; in app_init_port()
86 rx_conf.rx_thresh.wthresh = rx_thresh.wthresh; in app_init_port()
87 rx_conf.rx_free_thresh = 32; in app_init_port()
88 rx_conf.rx_drop_en = 0; in app_init_port()
89 rx_conf.rx_deferred_start = 0; in app_init_port()
129 rx_conf.offloads = local_port_conf.rxmode.offloads; in app_init_port()
131 rte_eth_dev_socket_id(portid), &rx_conf, mp); in app_init_port()
/dpdk/drivers/net/sfc/
H A Dsfc_repr.c592 const struct rte_eth_rxconf *rx_conf) in sfc_repr_rx_qcheck_conf() argument
598 if (rx_conf->rx_thresh.pthresh != 0 || in sfc_repr_rx_qcheck_conf()
599 rx_conf->rx_thresh.hthresh != 0 || in sfc_repr_rx_qcheck_conf()
600 rx_conf->rx_thresh.wthresh != 0) { in sfc_repr_rx_qcheck_conf()
605 if (rx_conf->rx_free_thresh != 0) in sfc_repr_rx_qcheck_conf()
608 if (rx_conf->rx_drop_en == 0) in sfc_repr_rx_qcheck_conf()
611 if (rx_conf->rx_deferred_start) { in sfc_repr_rx_qcheck_conf()
624 __rte_unused const struct rte_eth_rxconf *rx_conf, in sfc_repr_rx_queue_setup() argument
634 ret = sfc_repr_rx_qcheck_conf(sr, rx_conf); in sfc_repr_rx_queue_setup()
H A Dsfc_rx.c960 const struct rte_eth_rxconf *rx_conf, in sfc_rx_qcheck_conf() argument
965 if (rx_conf->rx_thresh.pthresh != 0 || in sfc_rx_qcheck_conf()
966 rx_conf->rx_thresh.hthresh != 0 || in sfc_rx_qcheck_conf()
967 rx_conf->rx_thresh.wthresh != 0) { in sfc_rx_qcheck_conf()
972 if (rx_conf->rx_free_thresh > rxq_max_fill_level) { in sfc_rx_qcheck_conf()
975 rx_conf->rx_free_thresh, rxq_max_fill_level); in sfc_rx_qcheck_conf()
979 if (rx_conf->rx_drop_en == 0) { in sfc_rx_qcheck_conf()
1090 const struct rte_eth_rxconf *rx_conf, in sfc_rx_qinit() argument
1128 offloads = rx_conf->offloads; in sfc_rx_qinit()
1211 rx_free_thresh = (rx_conf->rx_free_thresh != 0) ? in sfc_rx_qinit()
[all …]
H A Dsfc_rx.h136 const struct rte_eth_rxconf *rx_conf,
/dpdk/app/test-pmd/
H A Dtestpmd.c2584 rx_conf->rx_seg = NULL; in rx_queue_setup()
2585 rx_conf->rx_nseg = 0; in rx_queue_setup()
2588 rx_conf, mp); in rx_queue_setup()
2609 rx_conf->rx_seg = rx_useg; in rx_queue_setup()
2612 rx_conf->rx_seg = NULL; in rx_queue_setup()
2613 rx_conf->rx_nseg = 0; in rx_queue_setup()
2816 port->rx_conf[k].offloads |= in start_port()
2881 &(port->rx_conf[qi]), in start_port()
2896 &(port->rx_conf[qi]), in start_port()
3804 port->rx_conf[i].offloads &= in init_port_config()
[all …]
/dpdk/app/test-pipeline/
H A Dinit.c85 static struct rte_eth_rxconf rx_conf = { variable
221 &rx_conf, in app_init_ports()
/dpdk/drivers/net/ark/
H A Dark_ethdev_rx.h18 const struct rte_eth_rxconf *rx_conf,
/dpdk/examples/eventdev_pipeline/
H A Dpipeline_worker_generic.c287 struct rte_eth_rxconf rx_conf; in port_init() local
325 rx_conf = dev_info.default_rxconf; in port_init()
326 rx_conf.offloads = port_conf.rxmode.offloads; in port_init()
347 rte_eth_dev_socket_id(port), &rx_conf, in port_init()
/dpdk/app/test-eventdev/
H A Dtest_pipeline_common.c176 struct rte_eth_rxconf rx_conf; in pipeline_ethdev_setup() local
240 rx_conf = dev_info.default_rxconf; in pipeline_ethdev_setup()
241 rx_conf.offloads = port_conf.rxmode.offloads; in pipeline_ethdev_setup()
262 i, j, NB_RX_DESC, rte_socket_id(), &rx_conf, in pipeline_ethdev_setup()
/dpdk/drivers/net/bnxt/
H A Dbnxt_reps.h37 rx_conf,
H A Dbnxt_rxq.h54 const struct rte_eth_rxconf *rx_conf,
H A Dbnxt_rxq.c322 const struct rte_eth_rxconf *rx_conf, in bnxt_rx_queue_setup_op() argument
363 if (rx_conf->rx_drop_en != BNXT_DEFAULT_RX_DROP_EN) in bnxt_rx_queue_setup_op()
401 rxq->rx_deferred_start = rx_conf->rx_deferred_start; in bnxt_rx_queue_setup_op()
/dpdk/drivers/net/ionic/
H A Dionic_rxtx.h27 const struct rte_eth_rxconf *rx_conf, struct rte_mempool *mp);
/dpdk/drivers/net/netvsc/
H A Dhn_var.h222 const struct rte_eth_rxconf *rx_conf,
273 const struct rte_eth_rxconf *rx_conf,
/dpdk/drivers/net/igc/
H A Digc_txrx.h22 const struct rte_eth_rxconf *rx_conf,
/dpdk/drivers/net/txgbe/
H A Dtxgbe_rxtx.c2557 const struct rte_eth_rxconf *rx_conf, in txgbe_dev_rx_queue_setup() argument
2597 rxq->rx_free_thresh = rx_conf->rx_free_thresh; in txgbe_dev_rx_queue_setup()
2606 rxq->drop_en = rx_conf->rx_drop_en; in txgbe_dev_rx_queue_setup()
2607 rxq->rx_deferred_start = rx_conf->rx_deferred_start; in txgbe_dev_rx_queue_setup()
3300 struct rte_eth_dcb_rx_conf *rx_conf = in txgbe_dcb_rx_config() local
3316 j = rx_conf->dcb_tc[i]; in txgbe_dcb_rx_config()
4319 if (rx_conf->offloads & RTE_ETH_RX_OFFLOAD_KEEP_CRC) in txgbe_dev_rx_init()
4347 rx_conf->offloads &= ~RTE_ETH_RX_OFFLOAD_VLAN_STRIP; in txgbe_dev_rx_init()
4357 if (rx_conf->offloads & RTE_ETH_RX_OFFLOAD_KEEP_CRC) in txgbe_dev_rx_init()
4398 if (rx_conf->offloads & RTE_ETH_RX_OFFLOAD_SCATTER) in txgbe_dev_rx_init()
[all …]
/dpdk/drivers/net/bnx2x/
H A Dbnx2x_rxtx.h68 const struct rte_eth_rxconf *rx_conf,
/dpdk/drivers/net/ixgbe/
H A Dixgbe_rxtx.c3078 const struct rte_eth_rxconf *rx_conf, in ixgbe_dev_rx_queue_setup() argument
3117 rxq->rx_free_thresh = rx_conf->rx_free_thresh; in ixgbe_dev_rx_queue_setup()
3126 rxq->drop_en = rx_conf->rx_drop_en; in ixgbe_dev_rx_queue_setup()
3127 rxq->rx_deferred_start = rx_conf->rx_deferred_start; in ixgbe_dev_rx_queue_setup()
3934 struct rte_eth_dcb_rx_conf *rx_conf = in ixgbe_dcb_rx_config() local
3950 j = rx_conf->dcb_tc[i]; in ixgbe_dcb_rx_config()
5069 if (rx_conf->offloads & RTE_ETH_RX_OFFLOAD_KEEP_CRC) in ixgbe_dev_rx_init()
5106 rx_conf->offloads &= ~RTE_ETH_RX_OFFLOAD_VLAN_STRIP; in ixgbe_dev_rx_init()
5115 if (rx_conf->offloads & RTE_ETH_RX_OFFLOAD_KEEP_CRC) in ixgbe_dev_rx_init()
5161 if (rx_conf->offloads & RTE_ETH_RX_OFFLOAD_SCATTER) in ixgbe_dev_rx_init()
[all …]
/dpdk/drivers/net/cxgbe/
H A Dcxgbe_pfvf.h36 const struct rte_eth_rxconf *rx_conf,
/dpdk/drivers/net/ngbe/
H A Dngbe_rxtx.c2254 const struct rte_eth_rxconf *rx_conf, in ngbe_dev_rx_queue_setup() argument
2283 rxq->rx_free_thresh = rx_conf->rx_free_thresh; in ngbe_dev_rx_queue_setup()
2292 rxq->drop_en = rx_conf->rx_drop_en; in ngbe_dev_rx_queue_setup()
2293 rxq->rx_deferred_start = rx_conf->rx_deferred_start; in ngbe_dev_rx_queue_setup()
2881 if (rx_conf->offloads & RTE_ETH_RX_OFFLOAD_KEEP_CRC) in ngbe_dev_rx_init()
2909 rx_conf->offloads &= ~RTE_ETH_RX_OFFLOAD_VLAN_STRIP; in ngbe_dev_rx_init()
2919 if (rx_conf->offloads & RTE_ETH_RX_OFFLOAD_KEEP_CRC) in ngbe_dev_rx_init()
2957 rx_conf->offloads |= RTE_ETH_RX_OFFLOAD_VLAN_STRIP; in ngbe_dev_rx_init()
2960 if (rx_conf->offloads & RTE_ETH_RX_OFFLOAD_SCATTER) in ngbe_dev_rx_init()
2975 if (rx_conf->offloads & RTE_ETH_RX_OFFLOAD_CHECKSUM) in ngbe_dev_rx_init()
[all …]
/dpdk/drivers/net/virtio/
H A Dvirtio_ethdev.h64 const struct rte_eth_rxconf *rx_conf,
/dpdk/drivers/net/nfb/
H A Dnfb_rx.c60 const struct rte_eth_rxconf *rx_conf __rte_unused, in nfb_eth_rx_queue_setup()
H A Dnfb_rx.h89 const struct rte_eth_rxconf *rx_conf __rte_unused,
/dpdk/drivers/net/e1000/
H A Dem_rxtx.c1402 const struct rte_eth_rxconf *rx_conf, in eth_em_rx_queue_setup() argument
1413 offloads = rx_conf->offloads | dev->data->dev_conf.rxmode.offloads; in eth_em_rx_queue_setup()
1431 if (rx_conf->rx_drop_en) { in eth_em_rx_queue_setup()
1465 rxq->pthresh = rx_conf->rx_thresh.pthresh; in eth_em_rx_queue_setup()
1466 rxq->hthresh = rx_conf->rx_thresh.hthresh; in eth_em_rx_queue_setup()
1467 rxq->wthresh = rx_conf->rx_thresh.wthresh; in eth_em_rx_queue_setup()
1468 rxq->rx_free_thresh = rx_conf->rx_free_thresh; in eth_em_rx_queue_setup()

12345