| 388 | } |
| 389 | |
| 390 | static inline void |
| 391 | flush_all_ports(struct output_buffer *tx_buffers) |
| 392 | { |
| 393 | uint16_t outp; |
| 394 | |
| 395 | RTE_ETH_FOREACH_DEV(outp) { |
| 396 | /* skip ports that are not enabled */ |
| 397 | if ((enabled_port_mask & (1 << outp)) == 0) |
| 398 | continue; |
| 399 | |
| 400 | if (tx_buffers[outp].count == 0) |
| 401 | continue; |
| 402 | |
| 403 | flush_one_port(&tx_buffers[outp], outp); |
| 404 | } |
| 405 | } |
| 406 | |
| 407 | |
| 408 |
no test coverage detected