< display usage */
| 149 | |
| 150 | /**< display usage */ |
| 151 | static void |
| 152 | pdump_usage(const char *prgname) |
| 153 | { |
| 154 | printf("usage: %s [EAL options] --" |
| 155 | " --["CMD_LINE_OPT_MULTI"]\n" |
| 156 | " --"CMD_LINE_OPT_PDUMP" " |
| 157 | "'(port=<port id> | device_id=<pci id or vdev name>)," |
| 158 | "(queue=<queue_id>)," |
| 159 | "(rx-dev=<iface or pcap file> |" |
| 160 | " tx-dev=<iface or pcap file>," |
| 161 | "[ring-size=<ring size>default:16384]," |
| 162 | "[mbuf-size=<mbuf data size>default:2176]," |
| 163 | "[total-num-mbufs=<number of mbufs>default:65535]'\n", |
| 164 | prgname); |
| 165 | } |
| 166 | |
| 167 | static int |
| 168 | parse_device_id(const char *key __rte_unused, const char *value, |
no test coverage detected