MCPcopy Create free account
hub / github.com/F-Stack/f-stack / pdump_usage

Function pdump_usage

dpdk/app/pdump/main.c:151–165  ·  view source on GitHub ↗

< display usage */

Source from the content-addressed store, hash-verified

149
150/**< display usage */
151static void
152pdump_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
167static int
168parse_device_id(const char *key __rte_unused, const char *value,

Callers 1

launch_args_parseFunction · 0.85

Calls 1

printfFunction · 0.50

Tested by

no test coverage detected