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

Function pkt_burst_5tswap

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

Source from the content-addressed store, hash-verified

228}
229
230static bool
231pkt_burst_5tswap(struct fwd_stream *fs)
232{
233 struct rte_mbuf *pkts_burst[MAX_PKT_BURST];
234 uint16_t nb_rx;
235 uint16_t nb_tx;
236
237 nb_rx = common_fwd_stream_receive(fs, pkts_burst, nb_pkt_per_burst);
238 if (likely(nb_rx != 0))
239 do_5tswap(pkts_burst, nb_rx, fs);
240 nb_tx = noisy_eth_tx_burst(fs, nb_rx, pkts_burst);
241
242 return nb_rx > 0 || nb_tx > 0;
243}
244
245static void
246noisy_fwd_end(portid_t pi)

Callers

nothing calls this directly

Calls 3

do_5tswapFunction · 0.85
noisy_eth_tx_burstFunction · 0.85

Tested by

no test coverage detected