Lines Matching refs:bufs
236 eth_pcap_rx_infinite(void *queue, struct rte_mbuf **bufs, uint16_t nb_pkts) in eth_pcap_rx_infinite() argument
245 if (rte_pktmbuf_alloc_bulk(pcap_q->mb_pool, bufs, nb_pkts) != 0) in eth_pcap_rx_infinite()
254 rte_memcpy(rte_pktmbuf_mtod(bufs[i], void *), in eth_pcap_rx_infinite()
257 bufs[i]->data_len = pcap_buf->data_len; in eth_pcap_rx_infinite()
258 bufs[i]->pkt_len = pcap_buf->pkt_len; in eth_pcap_rx_infinite()
259 bufs[i]->port = pcap_q->port_id; in eth_pcap_rx_infinite()
273 eth_pcap_rx(void *queue, struct rte_mbuf **bufs, uint16_t nb_pkts) in eth_pcap_rx() argument
330 bufs[num_rx] = mbuf; in eth_pcap_rx()
342 struct rte_mbuf **bufs __rte_unused, in eth_null_rx()
375 eth_pcap_tx_dumper(void *queue, struct rte_mbuf **bufs, uint16_t nb_pkts) in eth_pcap_tx_dumper() argument
397 mbuf = bufs[i]; in eth_pcap_tx_dumper()
436 eth_tx_drop(void *queue, struct rte_mbuf **bufs, uint16_t nb_pkts) in eth_tx_drop() argument
446 tx_bytes += bufs[i]->pkt_len; in eth_tx_drop()
447 rte_pktmbuf_free(bufs[i]); in eth_tx_drop()
460 eth_pcap_tx(void *queue, struct rte_mbuf **bufs, uint16_t nb_pkts) in eth_pcap_tx() argument
480 mbuf = bufs[i]; in eth_pcap_tx()
813 struct rte_mbuf *bufs; in infinite_rx_ring_free() local
815 while (!rte_ring_dequeue(pkts, (void **)&bufs)) in infinite_rx_ring_free()
816 rte_pktmbuf_free(bufs); in infinite_rx_ring_free()
888 struct rte_mbuf *bufs[1]; in eth_rx_queue_setup() local
910 while (eth_pcap_rx(pcap_q, bufs, 1)) { in eth_rx_queue_setup()
912 if (bufs[0]->nb_segs != 1) { in eth_rx_queue_setup()
920 (void * const *)bufs, 1, NULL); in eth_rx_queue_setup()