Re: [dpdk-dev] [PATCH 1/2] vhost: fix guest notification setting

2020-07-27 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Thursday, July 23, 2020 9:09 PM > To: dev@dpdk.org; ma...@mellanox.com; Xia, Chenbo > ; Liu, Yong ; Wang, Yinan > > Cc: tho...@monjalon.net; Yigit, Ferruh ; > david.march...@redhat.com; Maxime Coquelin > > Subject: [PATCH 1/2] vhost:

[dpdk-dev] [PATCH 1/2] vhost: fix guest notification setting

2020-07-23 Thread Maxime Coquelin
If rte_vhost_enable_guest_notification is called before the virtqueue is ready, the configuration is lost. This patch fixes this by saving the guest notification enablement value requested by the application, and apply it before the virtqueue is made ready to the application. Fixes: 604052ae5395