[dpdk-dev] [PATCH] net/virtio-user: fix dev_init in legacy-mem mode

Maxime Coquelin maxime.coquelin at redhat.com
Thu May 17 10:28:22 CEST 2018



On 05/17/2018 09:35 AM, Xiao Wang wrote:
> In legacy-mem mode, memory event callback registering is not supported,
> we should not return error in dev_init on this case.
> 
> Fixes: 12ecb2f63b12 ("net/virtio-user: support memory hotplug")
> 
> Signed-off-by: Xiao Wang<xiao.w.wang at intel.com>
> Suggested-by: Tiwei Bie<tiwei.bie at intel.com>
> ---
>   drivers/net/virtio/virtio_user/virtio_user_dev.c | 7 +++++--
>   1 file changed, 5 insertions(+), 2 deletions(-)


Applied to dpdk-next-virtio/master with suggested changes.

Thanks,
Maxime


More information about the dev mailing list