Home
last modified time | relevance | path

Searched refs:nb (Results 1 – 25 of 40) sorted by relevance

12

/dpdk/drivers/net/bnxt/
H A Dbnxt_rxtx_vec_common.h61 int nb, i; in bnxt_rxq_rearm() local
67 nb = RTE_MIN(rxq->rxrearm_nb & ~0x3, in bnxt_rxq_rearm()
71 if (rte_mempool_get_bulk(rxq->mb_pool, (void *)rx_bufs, nb) < 0) { in bnxt_rxq_rearm()
72 rte_eth_devices[rxq->port_id].data->rx_mbuf_alloc_failed += nb; in bnxt_rxq_rearm()
74 for (i = 0; i < nb; i++) in bnxt_rxq_rearm()
80 for (i = 0; i < nb; i += 4) { in bnxt_rxq_rearm()
90 rxq->rxrearm_start += nb; in bnxt_rxq_rearm()
95 rxq->rxrearm_nb -= nb; in bnxt_rxq_rearm()
/dpdk/app/test-pmd/
H A Dmacswap.h11 do_macswap(struct rte_mbuf *pkts[], uint16_t nb, in do_macswap() argument
21 vlan_qinq_set(pkts, nb, ol_flags, in do_macswap()
24 for (i = 0; i < nb; i++) { in do_macswap()
25 if (likely(i < nb - 1)) in do_macswap()
H A Dmacswap_neon.h16 do_macswap(struct rte_mbuf *pkts[], uint16_t nb, in do_macswap() argument
34 vlan_qinq_set(pkts, nb, ol_flags, in do_macswap()
38 r = nb; in do_macswap()
82 for ( ; i < nb; i++) { in do_macswap()
83 if (i < nb - 1) in do_macswap()
H A Dmacswap_sse.h11 do_macswap(struct rte_mbuf *pkts[], uint16_t nb, in do_macswap() argument
31 vlan_qinq_set(pkts, nb, ol_flags, in do_macswap()
35 r = nb; in do_macswap()
79 for ( ; i < nb; i++) { in do_macswap()
80 if (i < nb - 1) in do_macswap()
H A Dmacswap_common.h24 vlan_qinq_set(struct rte_mbuf *pkts[], uint16_t nb, in vlan_qinq_set() argument
30 for (i = 0; i < nb; i++) in vlan_qinq_set()
33 for (i = 0; i < nb; i++) in vlan_qinq_set()
/dpdk/drivers/net/ark/
H A Dark_ethdev_rx.c254 uint16_t nb; in eth_ark_recv_pkts() local
270 nb = 0; in eth_ark_recv_pkts()
320 rx_pkts[nb] = mbuf; in eth_ark_recv_pkts()
321 nb++; in eth_ark_recv_pkts()
322 if (nb >= nb_pkts) in eth_ark_recv_pkts()
335 return nb; in eth_ark_recv_pkts()
471 nb, queue->queue_index, in eth_ark_rx_seed_mbufs()
477 while (count != nb) { in eth_ark_rx_seed_mbufs()
490 queue->seed_index += nb; in eth_ark_rx_seed_mbufs()
493 switch (nb % 4) { in eth_ark_rx_seed_mbufs()
[all …]
H A Dark_ethdev_tx.c118 uint16_t nb; in eth_ark_xmit_pkts() local
132 for (nb = 0; in eth_ark_xmit_pkts()
133 (nb < nb_pkts) && (prod_index_limit - queue->prod_index) > 0; in eth_ark_xmit_pkts()
134 ++nb) { in eth_ark_xmit_pkts()
135 mbuf = tx_pkts[nb]; in eth_ark_xmit_pkts()
174 if (ARK_DEBUG_CORE && nb != nb_pkts) { in eth_ark_xmit_pkts()
181 nb_pkts, nb, in eth_ark_xmit_pkts()
191 if (likely(nb != 0)) in eth_ark_xmit_pkts()
194 return nb; in eth_ark_xmit_pkts()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_tm.c372 *nb = 0; in ixgbe_queue_base_nb_get()
379 *nb = 2; in ixgbe_queue_base_nb_get()
382 *nb = 4; in ixgbe_queue_base_nb_get()
385 *nb = 8; in ixgbe_queue_base_nb_get()
390 *nb = 1; in ixgbe_queue_base_nb_get()
399 *nb = 32; in ixgbe_queue_base_nb_get()
403 *nb = 32; in ixgbe_queue_base_nb_get()
415 *nb = 8; in ixgbe_queue_base_nb_get()
419 *nb = 8; in ixgbe_queue_base_nb_get()
423 *nb = 8; in ixgbe_queue_base_nb_get()
[all …]
/dpdk/drivers/net/txgbe/
H A Dtxgbe_tm.c361 *nb = 0; in txgbe_queue_base_nb_get()
368 *nb = 2; in txgbe_queue_base_nb_get()
371 *nb = 4; in txgbe_queue_base_nb_get()
374 *nb = 8; in txgbe_queue_base_nb_get()
379 *nb = 1; in txgbe_queue_base_nb_get()
388 *nb = 32; in txgbe_queue_base_nb_get()
392 *nb = 32; in txgbe_queue_base_nb_get()
404 *nb = 8; in txgbe_queue_base_nb_get()
408 *nb = 8; in txgbe_queue_base_nb_get()
412 *nb = 8; in txgbe_queue_base_nb_get()
[all …]
H A Dtxgbe_ethdev.c2343 int nb, st; in txgbe_get_name_by_id() local
2355 nb = id / TXGBE_NB_UP_STATS; in txgbe_get_name_by_id()
2357 snprintf(name, size, "[p%u]%s", nb, in txgbe_get_name_by_id()
2365 nb = id / TXGBE_NB_QP_STATS; in txgbe_get_name_by_id()
2367 snprintf(name, size, "[q%u]%s", nb, in txgbe_get_name_by_id()
2379 int nb, st; in txgbe_get_offset_by_id() local
2390 nb = id / TXGBE_NB_UP_STATS; in txgbe_get_offset_by_id()
2393 nb * (TXGBE_NB_UP_STATS * sizeof(uint64_t)); in txgbe_get_offset_by_id()
2400 nb = id / TXGBE_NB_QP_STATS; in txgbe_get_offset_by_id()
2403 nb * (TXGBE_NB_QP_STATS * sizeof(uint64_t)); in txgbe_get_offset_by_id()
/dpdk/drivers/net/sfc/
H A Dsfc_ef10_tx.c151 unsigned int nb = 0; in sfc_ef10_tx_reap() local
166 if ((nb == RTE_DIM(bulk)) || in sfc_ef10_tx_reap()
169 (void *)bulk, nb); in sfc_ef10_tx_reap()
170 nb = 0; in sfc_ef10_tx_reap()
173 bulk[nb++] = m; in sfc_ef10_tx_reap()
176 if (nb != 0) in sfc_ef10_tx_reap()
757 unsigned int nb = 0; in sfc_ef10_simple_tx_reap() local
764 if (nb == RTE_DIM(bulk)) { in sfc_ef10_simple_tx_reap()
766 (void *)bulk, nb); in sfc_ef10_simple_tx_reap()
767 nb = 0; in sfc_ef10_simple_tx_reap()
[all …]
H A Dsfc_ef100_tx.c278 unsigned int nb = 0; in sfc_ef100_tx_reap_num_descs() local
294 if (nb == RTE_DIM(bulk) || in sfc_ef100_tx_reap_num_descs()
295 (nb != 0 && m->pool != bulk[0]->pool)) { in sfc_ef100_tx_reap_num_descs()
297 (void *)bulk, nb); in sfc_ef100_tx_reap_num_descs()
298 nb = 0; in sfc_ef100_tx_reap_num_descs()
301 bulk[nb++] = m; in sfc_ef100_tx_reap_num_descs()
304 if (nb != 0) in sfc_ef100_tx_reap_num_descs()
305 rte_mempool_put_bulk(bulk[0]->pool, (void *)bulk, nb); in sfc_ef100_tx_reap_num_descs()
/dpdk/lib/ipsec/
H A Dsa.c114 uint32_t nb; in replay_num_bucket() local
116 nb = rte_align32pow2(RTE_ALIGN_MUL_CEIL(wsz, WINDOW_BUCKET_SIZE) / in replay_num_bucket()
118 nb = RTE_MAX(nb, (uint32_t)WINDOW_BUCKET_MIN); in replay_num_bucket()
120 return nb; in replay_num_bucket()
532 uint32_t nb, wsz; in rte_ipsec_sa_size() local
545 return ipsec_sa_size(type, &wsz, &nb); in rte_ipsec_sa_size()
553 uint32_t nb, wsz; in rte_ipsec_sa_init() local
567 sz = ipsec_sa_size(type, &wsz, &nb); in rte_ipsec_sa_init()
604 if (nb != 0) in rte_ipsec_sa_init()
605 fill_sa_replay(sa, wsz, nb, prm->ipsec_xform.esn.value); in rte_ipsec_sa_init()
/dpdk/doc/guides/sample_app_ug/
H A Dvmdq_dcb_forwarding.rst31 The nb-pools, nb-tcs and enable-rss parameters can be passed on the command line, after the EAL par…
35 …./<build_dir>/examples/dpdk-vmdq_dcb [EAL options] -- -p PORTMASK --nb-pools NP --nb-tcs TC --enab…
75 … user@target:~$ ./<build_dir>/examples/dpdk-vmdq_dcb -l 0-3 -n 4 -- -p 0x3 --nb-pools 32 --nb-tcs 4
H A Dntb.rst56 * ``--nb-desc=N``
64 the value of ``--nb-desc``. The default value is 256.
H A Dvmdq_forwarding.rst29 The nb-pools and enable-rss parameters can be passed on the command line, after the EAL parameters:
33 ./<build_dir>/examples/dpdk-vmdq [EAL options] -- -p PORTMASK --nb-pools NP --enable-rss
59 user@target:~$ ./<build_dir>/examples/dpdk-vmdq -l 0-3 -n 4 -- -p 0x3 --nb-pools 16
/dpdk/doc/guides/nics/
H A Dnfb.rst113 -- --port-topology=chained --rxq=2 --txq=2 --nb-cores=2 -i -a
134 nb forwarding cores=2 - nb forwarding ports=1
H A Dmvneta.rst148 -i --p 3 -a --txd 256 --rxd 128 --rxq=1 --txq=1 --nb-cores=1
H A Dcnxk.rst63 …./<build_dir>/app/dpdk-testpmd -c 0xc -a 0002:02:00.0 -- --portmask=0x1 --nb-cores=1 --port-topolo…
92 nb forwarding cores=1 - nb forwarding ports=1
H A Dhns3.rst184 --nb-cores=8 --nb-ports=1
H A Docteontx.rst77 -- --rxq=1 --txq=1 --nb-core=2 \
/dpdk/drivers/net/virtio/
H A Dvirtqueue.h863 int nb = num; in virtio_xmit_cleanup_inorder_packed() local
869 while (nb > 0 && desc_is_used(&desc[used_idx], vq)) { in virtio_xmit_cleanup_inorder_packed()
876 nb -= dxp->ndescs; in virtio_xmit_cleanup_inorder_packed()
/dpdk/doc/guides/howto/
H A Dpvp_reference_benchmark.rst129 --nb-cores=4 --forward-mode=io
339 --rxd=256 --txd=256 --nb-cores=2 --auto-start
/dpdk/lib/eventdev/
H A Drte_event_crypto_adapter.c528 uint16_t nb = 0, nb_enqueued = 0; in eca_crypto_cdev_flush() local
545 nb += nb_enqueued; in eca_crypto_cdev_flush()
548 return nb; in eca_crypto_cdev_flush()
/dpdk/drivers/net/ngbe/
H A Dngbe_ethdev.c1530 int nb, st; in ngbe_get_name_by_id() local
1542 nb = id / NGBE_NB_QP_STATS; in ngbe_get_name_by_id()
1544 snprintf(name, size, "[q%u]%s", nb, in ngbe_get_name_by_id()
1556 int nb, st; in ngbe_get_offset_by_id() local
1567 nb = id / NGBE_NB_QP_STATS; in ngbe_get_offset_by_id()
1570 nb * (NGBE_NB_QP_STATS * sizeof(uint64_t)); in ngbe_get_offset_by_id()

12