Re: [dpdk-dev] [PATCH v3 3/4] vhost: fix unnecessary vring_state_changed call

2021-04-20 Thread Xia, Chenbo
Hi Maxime & Jiayu, > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, April 20, 2021 5:40 PM > To: Hu, Jiayu ; dev@dpdk.org; Xia, Chenbo > > Cc: Wang, Yinan ; Pai G, Sunil ; > Jiang, Cheng1 ; sta...@dpdk.org > Subject: Re: [PATCH v3 3/4] vhost: fix unnecessary vring_state_chan

Re: [dpdk-dev] [PATCH v3 3/4] vhost: fix unnecessary vring_state_changed call

2021-04-20 Thread Maxime Coquelin
On 4/20/21 10:57 AM, Jiayu Hu wrote: > 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 vri

[dpdk-dev] [PATCH v3 3/4] vhost: fix unnecessary vring_state_changed call

2021-04-19 Thread Jiayu Hu
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: 966027b4b3a3 ("vhos