display usage */
| 299 | |
| 300 | /* display usage */ |
| 301 | static void |
| 302 | lsi_usage(const char *prgname) |
| 303 | { |
| 304 | printf("%s [EAL options] -- -p PORTMASK [-q NQ]\n" |
| 305 | " -p PORTMASK: hexadecimal bitmask of ports to configure\n" |
| 306 | " -q NQ: number of queue (=ports) per lcore (default is 1)\n" |
| 307 | " -T PERIOD: statistics will be refreshed each PERIOD seconds (0 to disable, 10 default, 86400 maximum)\n", |
| 308 | prgname); |
| 309 | } |
| 310 | |
| 311 | static int |
| 312 | lsi_parse_portmask(const char *portmask) |
no test coverage detected