[dpdk-dev] Vhost-user early adopter feedback

Xie, Huawei huawei.xie at intel.com
Wed Feb 25 08:46:56 CET 2015


On 2/18/2015 3:59 PM, Benoît Canet wrote:
> Hello Xie,
>
> As promized I integrated your vhost-user patchset from january in my vswitch.
>
> I just tried it, it works pretty well.
>
> I just had a minor bug with rte_vhost_driver_register taking ownership of the
> string patch pointer too late. I freed it out of habit just after registering in the
> caller and when ifname[IFNAMESIZ] was written the pointer was used for a new string I
> allocated later. Maybe an early strdup() would fix this.
Thanks.
Do you mean we duplicate a string from the first parameter path, like
vserver->path = strdup(path) ?
If this was the case, it was ever in my mind. We would do this if
necessary.
>
> The last patch of your new version is really a great idea since it will
> simplify a lot the socket creation and management code.
>
> Best regards
>
> Benoît
>
>



More information about the dev mailing list