Home
last modified time | relevance | path

Searched refs:rx_seg (Results 1 – 7 of 7) sorted by relevance

/dpdk/drivers/net/mlx5/
H A Dmlx5_rxq.c787 if (memcmp(&conf->rx_seg[i].split, &rxq_ctrl->rxseg[i], in mlx5_shared_rxq_match()
836 struct rte_eth_rxseg_split *rx_seg = in mlx5_rx_queue_setup() local
837 (struct rte_eth_rxseg_split *)conf->rx_seg; in mlx5_rx_queue_setup()
859 rx_seg = &rx_single; in mlx5_rx_queue_setup()
925 rxq_ctrl = mlx5_rxq_new(dev, idx, desc, socket, conf, rx_seg, in mlx5_rx_queue_setup()
1687 const struct rte_eth_rxseg_split *rx_seg, uint16_t n_seg, in mlx5_rxq_new() argument
1692 unsigned int mb_len = rte_pktmbuf_data_room_size(rx_seg[0].mp); in mlx5_rxq_new()
1707 bool rx_seg_en = n_seg != 1 || rx_seg[0].offset || rx_seg[0].length; in mlx5_rxq_new()
1719 const struct rte_eth_rxseg_split *qs_seg = rx_seg; in mlx5_rxq_new()
1932 tmpl->rxq.mp = rx_seg[0].mp; in mlx5_rxq_new()
H A Dmlx5_rx.h212 const struct rte_eth_rxseg_split *rx_seg,
/dpdk/app/test-pmd/
H A Dtestpmd.c2584 rx_conf->rx_seg = NULL; in rx_queue_setup()
2592 struct rte_eth_rxseg_split *rx_seg = &rx_useg[i].split; in rx_queue_setup() local
2601 rx_seg->length = rx_pkt_seg_lengths[i] ? in rx_queue_setup()
2604 rx_seg->offset = i < rx_pkt_nb_offs ? in rx_queue_setup()
2606 rx_seg->mp = mpx ? mpx : 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()
/dpdk/lib/ethdev/
H A Drte_ethdev.c1639 rte_eth_rx_queue_check_split(const struct rte_eth_rxseg_split *rx_seg, in rte_eth_rx_queue_check_split() argument
1658 mp_first = rx_seg[0].mp; in rte_eth_rx_queue_check_split()
1661 struct rte_mempool *mpl = rx_seg[seg_idx].mp; in rte_eth_rx_queue_check_split()
1662 uint32_t length = rx_seg[seg_idx].length; in rte_eth_rx_queue_check_split()
1663 uint32_t offset = rx_seg[seg_idx].offset; in rte_eth_rx_queue_check_split()
1768 const struct rte_eth_rxseg_split *rx_seg; in rte_eth_rx_queue_setup() local
1772 if (rx_conf == NULL || rx_conf->rx_seg == NULL || rx_conf->rx_nseg == 0) { in rte_eth_rx_queue_setup()
1778 rx_seg = (const struct rte_eth_rxseg_split *)rx_conf->rx_seg; in rte_eth_rx_queue_setup()
1782 ret = rte_eth_rx_queue_check_split(rx_seg, n_seg, in rte_eth_rx_queue_setup()
H A Drte_ethdev.h1250 union rte_eth_rxseg *rx_seg; member
/dpdk/doc/guides/nics/
H A Dfeatures.rst183 * **[uses] rte_eth_rxconf**: ``rx_conf.rx_seg, rx_conf.rx_nseg``.
/dpdk/doc/guides/rel_notes/
H A Drelease_20_11.rst625 * Added fields ``rx_seg`` and ``rx_nseg`` to ``rte_eth_rxconf`` structure