| 185 | } |
| 186 | |
| 187 | static bool |
| 188 | pkt_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 | |
| 200 | static bool |
| 201 | pkt_burst_mac(struct fwd_stream *fs) |
nothing calls this directly
no test coverage detected