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

Function us_vhost_usage

dpdk/examples/vhost/main.c:637–659  ·  view source on GitHub ↗

* Display usage */

Source from the content-addressed store, hash-verified

635 * Display usage
636 */
637static void
638us_vhost_usage(const char *prgname)
639{
640 RTE_LOG(INFO, VHOST_CONFIG, "%s [EAL options] -- -p PORTMASK\n"
641 " --vm2vm [0|1|2]\n"
642 " --rx-retry [0|1] --mergeable [0|1] --stats [0-N]\n"
643 " --socket-file <path>\n"
644 " -p PORTMASK: Set mask for ports to be used by application\n"
645 " --vm2vm [0|1|2]: disable/software(default)/hardware vm2vm comms\n"
646 " --rx-retry [0|1]: disable/enable(default) retries on Rx. Enable retry if destination queue is full\n"
647 " --rx-retry-delay [0-N]: timeout(in usecond) between retries on RX. This makes effect only if retries on rx enabled\n"
648 " --rx-retry-num [0-N]: the number of retries on rx. This makes effect only if retries on rx enabled\n"
649 " --mergeable [0|1]: disable(default)/enable RX mergeable buffers\n"
650 " --stats [0-N]: 0: Disable stats, N: Time in seconds to print stats\n"
651 " --socket-file: The path of the socket file.\n"
652 " --tx-csum [0|1]: disable/enable TX checksum offload.\n"
653 " --tso [0|1]: disable/enable TCP segment offload.\n"
654 " --client: register a vhost-user socket as client mode.\n"
655 " --dmas: register dma channel for specific vhost device.\n"
656 " --total-num-mbufs [0-N]: set the number of mbufs to be allocated in mbuf pools, the default value is 147456.\n"
657 " --builtin-net-driver: enable simple vhost-user net driver\n",
658 prgname);
659}
660
661enum {
662#define OPT_VM2VM "vm2vm"

Callers 1

us_vhost_parse_argsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected