Home
last modified time | relevance | path

Searched refs:n_seg (Results 1 – 3 of 3) sorted by relevance

/dpdk/drivers/net/mlx5/
H A Dmlx5_rxq.c839 uint16_t n_seg = conf->rx_nseg; in mlx5_rx_queue_setup() local
860 n_seg = 1; in mlx5_rx_queue_setup()
864 if (n_seg > 1) { in mlx5_rx_queue_setup()
874 MLX5_ASSERT(n_seg < MLX5_MAX_RXQ_NSEG); in mlx5_rx_queue_setup()
926 n_seg, is_extmem); in mlx5_rx_queue_setup()
1733 MLX5_ASSERT(n_seg && n_seg <= MLX5_MAX_RXQ_NSEG); in mlx5_rxq_new()
1738 tmpl->rxseg_n = n_seg; in mlx5_rxq_new()
1740 sizeof(struct rte_eth_rxseg_split) * n_seg); in mlx5_rxq_new()
1758 offset = (tmpl->rxq.rxseg_n >= n_seg ? 0 : qs_seg->offset) + in mlx5_rxq_new()
1765 seg_len = tmpl->rxq.rxseg_n >= n_seg ? buf_len : in mlx5_rxq_new()
[all …]
H A Dmlx5_rx.h213 uint16_t n_seg, bool is_extmem);
/dpdk/lib/ethdev/
H A Drte_ethdev.c1640 uint16_t n_seg, uint32_t *mbp_buf_size, in rte_eth_rx_queue_check_split() argument
1648 if (n_seg > seg_capa->max_nseg) { in rte_eth_rx_queue_check_split()
1651 n_seg, seg_capa->max_nseg); in rte_eth_rx_queue_check_split()
1660 for (seg_idx = 0; seg_idx < n_seg; seg_idx++) { in rte_eth_rx_queue_check_split()
1769 uint16_t n_seg; in rte_eth_rx_queue_setup() local
1779 n_seg = rx_conf->rx_nseg; in rte_eth_rx_queue_setup()
1782 ret = rte_eth_rx_queue_check_split(rx_seg, n_seg, in rte_eth_rx_queue_setup()