[dpdk-dev] [PATCH v3 2/2] vhost: Add VHOST PMD
Rich Lane
rich.lane at bigswitch.com
Fri Nov 13 05:03:43 CET 2015
>
> + if (rte_kvargs_count(kvlist, ETH_VHOST_IFACE_ARG) == 1) {
> + ret = rte_kvargs_process(kvlist, ETH_VHOST_IFACE_ARG,
> + &open_iface, &iface_name);
> + if (ret < 0)
> + goto out_free;
> + }
>
I noticed that the strdup in eth_dev_vhost_create crashes if you don't pass
the iface option, so this should probably return an error if the option
doesn't exist.
More information about the dev
mailing list