[dpdk-dev] [PATCH 10/16] vhost: export vid as the only interface to applications
Rich Lane
rich.lane at bigswitch.com
Tue May 10 19:13:18 CEST 2016
On Tue, May 10, 2016 at 9:39 AM, Yuanhan Liu <yuanhan.liu at linux.intel.com>
wrote:
>
> Rich, would you help try by adding following line there and
> do a test? It would be great if this patch has your Tested-by :)
>
> internal->vid = vid;
>
The problem is new_device has already returned before that point because
find_internal_resource failed.
I suggest adding a cookie parameter to rte_vhost_driver_register and
passing the cookie to each of the vhost_ops. The PMD can use pmd_internals
for the cookie and the whole internal_list can go away.
ps. Could you push git branches somewhere for these larger vhost patch
series? That would make it a lot easier to test than getting patches
individually from patchwork.
More information about the dev
mailing list