| 296 | } |
| 297 | |
| 298 | static inline void |
| 299 | pktmbuf_input_free_bulk(struct rte_mbuf **mbufs, unsigned int nb_to_free) |
| 300 | { |
| 301 | unsigned int i; |
| 302 | for (i = 0; i < nb_to_free; ++i) { |
| 303 | struct rte_mbuf *rx_pkt = *mbuf_input(mbufs[i]); |
| 304 | rte_pktmbuf_free(rx_pkt); |
| 305 | rte_pktmbuf_free(mbufs[i]); |
| 306 | } |
| 307 | } |
| 308 | |
| 309 | /* Check the link status of all ports in up to 9s, and print them finally */ |
| 310 | static int |
no test coverage detected