Home
last modified time | relevance | path

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

/dpdk/lib/port/
H A Drte_port_kni.c204 uint32_t n_pkts_ok; in rte_port_kni_writer_tx_bulk() local
210 n_pkts_ok = rte_kni_tx_burst(p->kni, pkts, n_pkts); in rte_port_kni_writer_tx_bulk()
212 RTE_PORT_KNI_WRITER_STATS_PKTS_DROP_ADD(p, n_pkts - n_pkts_ok); in rte_port_kni_writer_tx_bulk()
213 for (; n_pkts_ok < n_pkts; n_pkts_ok++) { in rte_port_kni_writer_tx_bulk()
214 struct rte_mbuf *pkt = pkts[n_pkts_ok]; in rte_port_kni_writer_tx_bulk()
408 uint32_t n_pkts_ok; in rte_port_kni_writer_nodrop_tx_bulk() local
414 n_pkts_ok = rte_kni_tx_burst(p->kni, pkts, n_pkts); in rte_port_kni_writer_nodrop_tx_bulk()
416 if (n_pkts_ok >= n_pkts) in rte_port_kni_writer_nodrop_tx_bulk()
423 for (; n_pkts_ok < n_pkts; n_pkts_ok++) { in rte_port_kni_writer_nodrop_tx_bulk()
424 struct rte_mbuf *pkt = pkts[n_pkts_ok]; in rte_port_kni_writer_nodrop_tx_bulk()
H A Drte_port_ethdev.c210 uint32_t n_pkts_ok; in rte_port_ethdev_writer_tx_bulk() local
216 n_pkts_ok = rte_eth_tx_burst(p->port_id, p->queue_id, pkts, in rte_port_ethdev_writer_tx_bulk()
219 RTE_PORT_ETHDEV_WRITER_STATS_PKTS_DROP_ADD(p, n_pkts - n_pkts_ok); in rte_port_ethdev_writer_tx_bulk()
220 for ( ; n_pkts_ok < n_pkts; n_pkts_ok++) { in rte_port_ethdev_writer_tx_bulk()
221 struct rte_mbuf *pkt = pkts[n_pkts_ok]; in rte_port_ethdev_writer_tx_bulk()
417 uint32_t n_pkts_ok; in rte_port_ethdev_writer_nodrop_tx_bulk() local
423 n_pkts_ok = rte_eth_tx_burst(p->port_id, p->queue_id, pkts, in rte_port_ethdev_writer_nodrop_tx_bulk()
426 if (n_pkts_ok >= n_pkts) in rte_port_ethdev_writer_nodrop_tx_bulk()
433 for (; n_pkts_ok < n_pkts; n_pkts_ok++) { in rte_port_ethdev_writer_nodrop_tx_bulk()
434 struct rte_mbuf *pkt = pkts[n_pkts_ok]; in rte_port_ethdev_writer_nodrop_tx_bulk()
H A Drte_port_ring.c283 uint32_t n_pkts_ok; in rte_port_ring_writer_tx_bulk_internal() local
294 n_pkts_ok = rte_ring_mp_enqueue_burst(p->ring, in rte_port_ring_writer_tx_bulk_internal()
297 n_pkts_ok = rte_ring_sp_enqueue_burst(p->ring, in rte_port_ring_writer_tx_bulk_internal()
301 for ( ; n_pkts_ok < n_pkts; n_pkts_ok++) { in rte_port_ring_writer_tx_bulk_internal()
302 struct rte_mbuf *pkt = pkts[n_pkts_ok]; in rte_port_ring_writer_tx_bulk_internal()
599 uint32_t n_pkts_ok; in rte_port_ring_writer_nodrop_tx_bulk_internal() local
610 n_pkts_ok = in rte_port_ring_writer_nodrop_tx_bulk_internal()
614 n_pkts_ok = in rte_port_ring_writer_nodrop_tx_bulk_internal()
618 if (n_pkts_ok >= n_pkts) in rte_port_ring_writer_nodrop_tx_bulk_internal()
625 for (; n_pkts_ok < n_pkts; n_pkts_ok++) { in rte_port_ring_writer_nodrop_tx_bulk_internal()
[all …]