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

Function pkt_burst_io

dpdk/app/test-pmd/noisy_vnf.c:187–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187static bool
188pkt_burst_io(struct fwd_stream *fs)
189{
190 struct rte_mbuf *pkts_burst[MAX_PKT_BURST];
191 uint16_t nb_rx;
192 uint16_t nb_tx;
193
194 nb_rx = common_fwd_stream_receive(fs, pkts_burst, nb_pkt_per_burst);
195 nb_tx = noisy_eth_tx_burst(fs, nb_rx, pkts_burst);
196
197 return nb_rx > 0 || nb_tx > 0;
198}
199
200static bool
201pkt_burst_mac(struct fwd_stream *fs)

Callers

nothing calls this directly

Calls 2

noisy_eth_tx_burstFunction · 0.85

Tested by

no test coverage detected