net/virtio-user: fix setting filters
authorMarvin Liu <yong.liu@intel.com>
Wed, 6 Nov 2019 09:02:50 +0000 (17:02 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Nov 2019 22:15:05 +0000 (23:15 +0100)
commita76552d48f17a990662592ff5e13a6e83b62025c
tree74687fe7c8fa4d999084c6c0e531f4070a7b6251
parentbc42ca1787233617e5ce8a848e268784884a8d07
net/virtio-user: fix setting filters

As doc mentioned, Rx/Mac/vlan filters are all supported by best effort.
These control commands should return success.

Fixes: f9b9d1a55775 ("net/virtio-user: add multiple queues in device emulation")
Cc: stable@dpdk.org
Signed-off-by: Marvin Liu <yong.liu@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_user/virtio_user_dev.c