net/virtio: fix kernel set features for multi-queue device
authorThierry Herbelot <thierry.herbelot@6wind.com>
Fri, 28 May 2021 13:20:38 +0000 (15:20 +0200)
committerChenbo Xia <chenbo.xia@intel.com>
Wed, 23 Jun 2021 07:55:27 +0000 (09:55 +0200)
commitcf412ff7e978cacbb4228fb74248f16563c74861
tree3aa3b1ba6c6f8e35de2a0dd5369c9d3f8a720c46
parent9cfbe67691f02e3f66f6a6804a5ce266830e1f3f
net/virtio: fix kernel set features for multi-queue device

Restore the original code, where VHOST_SET_FEATURES is applied to
all vhostfds of the device.

Fixes: cc0151b34dee ("net/virtio: add virtio-user features ops")
Cc: stable@dpdk.org
Signed-off-by: Thierry Herbelot <thierry.herbelot@6wind.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_user/vhost_kernel.c