MCPcopy Create free account
hub / github.com/F-Stack/f-stack / common_fwd_stream_receive

Function common_fwd_stream_receive

dpdk/app/test-pmd/testpmd.h:865–876  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

863}
864
865static inline uint16_t
866common_fwd_stream_receive(struct fwd_stream *fs, struct rte_mbuf **burst,
867 unsigned int nb_pkts)
868{
869 uint16_t nb_rx;
870
871 nb_rx = rte_eth_rx_burst(fs->rx_port, fs->rx_queue, burst, nb_pkts);
872 if (record_burst_stats)
873 fs->rx_burst_stats.pkt_burst_spread[nb_rx]++;
874 fs->rx_packets += nb_rx;
875 return nb_rx;
876}
877
878static inline uint16_t
879common_fwd_stream_transmit(struct fwd_stream *fs, struct rte_mbuf **burst,

Callers 15

pkt_burst_mac_forwardFunction · 0.85
pkt_burst_mac_swapFunction · 0.85
pkt_burst_ioFunction · 0.85
pkt_burst_macFunction · 0.85
pkt_burst_macswapFunction · 0.85
pkt_burst_5tswapFunction · 0.85
pkt_burst_5tuple_swapFunction · 0.85
pkt_burst_io_forwardFunction · 0.85
pkt_burst_flow_genFunction · 0.85
ieee1588_packet_fwdFunction · 0.85
shared_rxq_fwdFunction · 0.85
reply_to_icmp_echo_rqstsFunction · 0.85

Calls 1

rte_eth_rx_burstFunction · 0.85

Tested by

no test coverage detected