Home
last modified time | relevance | path

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

/f-stack/dpdk/lib/librte_port/
H A Drte_port_kni.c205 uint32_t n_pkts_ok; in rte_port_kni_writer_tx_bulk() local
211 n_pkts_ok = rte_kni_tx_burst(p->kni, pkts, n_pkts); in rte_port_kni_writer_tx_bulk()
213 RTE_PORT_KNI_WRITER_STATS_PKTS_DROP_ADD(p, n_pkts - n_pkts_ok); in rte_port_kni_writer_tx_bulk()
214 for (; n_pkts_ok < n_pkts; n_pkts_ok++) { in rte_port_kni_writer_tx_bulk()
215 struct rte_mbuf *pkt = pkts[n_pkts_ok]; in rte_port_kni_writer_tx_bulk()
409 uint32_t n_pkts_ok; in rte_port_kni_writer_nodrop_tx_bulk() local
415 n_pkts_ok = rte_kni_tx_burst(p->kni, pkts, n_pkts); in rte_port_kni_writer_nodrop_tx_bulk()
417 if (n_pkts_ok >= n_pkts) in rte_port_kni_writer_nodrop_tx_bulk()
424 for (; n_pkts_ok < n_pkts; n_pkts_ok++) { in rte_port_kni_writer_nodrop_tx_bulk()
425 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 …]