numam-dpdk/drivers/net/virtio/virtio_user
Yunjian Wang 1ad2f882b3 net/virtio-user: check tap offload setting failure
The function vhost_kernel_tap_set_offload() could return errors,
the return value need to be checked. And there is no need to fail
when error is -ENOTSUP.

Fixes: 1db4d2330b ("net/virtio-user: check negotiated features before set")
Cc: stable@dpdk.org

Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
2020-01-17 19:46:26 +01:00
..
vhost_kernel_tap.c net/virtio-user: check tap offload setting failure 2020-01-17 19:46:26 +01:00
vhost_kernel_tap.h net/virtio-user: do not close tap when disabling queue pairs 2020-01-17 19:46:26 +01:00
vhost_kernel.c net/virtio-user: do not close tap when disabling queue pairs 2020-01-17 19:46:26 +01:00
vhost_user.c net/virtio-user: do not close tap when disabling queue pairs 2020-01-17 19:46:26 +01:00
vhost.h net/virtio: fix build 2019-07-30 19:46:11 +02:00
virtio_user_dev.c net/virtio-user: do not close tap when disabling queue pairs 2020-01-17 19:46:26 +01:00
virtio_user_dev.h net/virtio-user: do not close tap when disabling queue pairs 2020-01-17 19:46:26 +01:00