Display list of possible interfaces that can be used. */
| 269 | |
| 270 | /* Display list of possible interfaces that can be used. */ |
| 271 | static void dump_interfaces(void) |
| 272 | { |
| 273 | char name[RTE_ETH_NAME_MAX_LEN]; |
| 274 | uint16_t p; |
| 275 | |
| 276 | RTE_ETH_FOREACH_DEV(p) { |
| 277 | if (rte_eth_dev_get_name_by_port(p, name) < 0) |
| 278 | continue; |
| 279 | printf("%u. %s\n", p, name); |
| 280 | } |
| 281 | |
| 282 | exit(0); |
| 283 | } |
| 284 | |
| 285 | static void compile_filters(void) |
| 286 | { |
no test coverage detected