| 228 | } |
| 229 | |
| 230 | static bool |
| 231 | pkt_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 | |
| 245 | static void |
| 246 | noisy_fwd_end(portid_t pi) |
nothing calls this directly
no test coverage detected