Home
last modified time | relevance | path

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

/f-stack/dpdk/examples/vhost/
H A Dioat.c181 unsigned short n_seg; in ioat_check_completed_copies_cb() local
188 n_seg = rte_ioat_completed_ops(dev_id, 255, dump, dump); in ioat_check_completed_copies_cb()
189 n_seg += cb_tracker[dev_id].last_remain; in ioat_check_completed_copies_cb()
190 if (!n_seg) in ioat_check_completed_copies_cb()
198 if (n_seg >= cb_tracker[dev_id].size_track[read]) { in ioat_check_completed_copies_cb()
199 n_seg -= cb_tracker[dev_id].size_track[read]; in ioat_check_completed_copies_cb()
207 cb_tracker[dev_id].last_remain = n_seg; in ioat_check_completed_copies_cb()
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_rxq.c749 uint16_t n_seg = conf->rx_nseg; in mlx5_rx_queue_setup() local
759 n_seg = 1; in mlx5_rx_queue_setup()
761 if (n_seg > 1) { in mlx5_rx_queue_setup()
774 MLX5_ASSERT(n_seg < MLX5_MAX_RXQ_NSEG); in mlx5_rx_queue_setup()
779 rxq_ctrl = mlx5_rxq_new(dev, idx, desc, socket, conf, rx_seg, n_seg); in mlx5_rx_queue_setup()
1398 const struct rte_eth_rxseg_split *rx_seg, uint16_t n_seg) in mlx5_rxq_new() argument
1414 const int mprq_en = mlx5_check_mprq_support(dev) > 0 && n_seg == 1 && in mlx5_rxq_new()
1442 MLX5_ASSERT(n_seg && n_seg <= MLX5_MAX_RXQ_NSEG); in mlx5_rxq_new()
1460 offset = (tmpl->rxq.rxseg_n >= n_seg ? 0 : qs_seg->offset) + in mlx5_rxq_new()
1467 seg_len = tmpl->rxq.rxseg_n >= n_seg ? buf_len : in mlx5_rxq_new()
[all …]
H A Dmlx5_rxtx.h340 uint16_t n_seg);
/f-stack/dpdk/lib/librte_ethdev/
H A Drte_ethdev.c1854 uint16_t n_seg, uint32_t *mbp_buf_size, in rte_eth_rx_queue_check_split() argument
1862 if (n_seg > seg_capa->max_nseg) { in rte_eth_rx_queue_check_split()
1865 n_seg, seg_capa->max_nseg); in rte_eth_rx_queue_check_split()
1874 for (seg_idx = 0; seg_idx < n_seg; seg_idx++) { in rte_eth_rx_queue_check_split()
1984 uint16_t n_seg; in rte_eth_rx_queue_setup() local
1994 n_seg = rx_conf->rx_nseg; in rte_eth_rx_queue_setup()
1997 ret = rte_eth_rx_queue_check_split(rx_seg, n_seg, in rte_eth_rx_queue_setup()