]> git.droids-corp.org - dpdk.git/commit
net/vhost: fix queue update
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Thu, 23 Jul 2020 13:08:54 +0000 (15:08 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 29 Jul 2020 22:41:24 +0000 (00:41 +0200)
commite97958398b2af45ae13f88abb8c54d672b62be51
tree0b02d08d288e70c948f315ee2cca5ee465a8c661
parentb53a4972946d4fb82ae323ca036e8d6e61db44d6
net/vhost: fix queue update

Now that the vhost library saves the guest notifications
enablement value in its virtqueues metadata, it is not
necessary to do it in the vring_state_changed callback.

One effect of the patch is also to prevent possible
deadlock happening in vhost library.

Fixes: 604052ae5395 ("net/vhost: support queue update")
Reported-by: Yinan Wang <yinan.wang@intel.com>
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Tested-by: Yinan Wang <yinan.wang@intel.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
drivers/net/vhost/rte_eth_vhost.c