numam-dpdk/lib/vhost
Jiayu Hu c94c9f3152 vhost: fix redundant vring status change notification
When VHOST_USER_F_PROTOCOL_FEATURES is not negotiated,
there is no need for vhost_user_set_vring_kick() to
notify the application of vring enabled, as
vhost_user_msg_handler() also notifies the application.

This patch is to remove unnecessary vring_state_changed() call.

Fixes: d0fcc38f5f ("vhost: improve device readiness notifications")
Cc: stable@dpdk.org

Signed-off-by: Jiayu Hu <jiayu.hu@intel.com>
Tested-by: Yinan Wang <yinan.wang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2021-04-28 03:52:44 +02:00
..
fd_man.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
fd_man.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
iotlb.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
iotlb.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
meson.build lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_vdpa_dev.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_vdpa.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_vhost_async.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_vhost_crypto.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_vhost.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
socket.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
vdpa.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
version.map lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
vhost_crypto.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
vhost_user.c vhost: fix redundant vring status change notification 2021-04-28 03:52:44 +02:00
vhost_user.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
vhost.c vhost: fix queue initialization 2021-04-28 03:24:04 +02:00
vhost.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
virtio_crypto.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
virtio_net.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00