On 6/25/20 3:38 PM, Matan Azrad wrote: > Last changes in vDPA device management by vhost library may cause queue > ready state update after the device configuration. > > So, there is chance that some queue configuration information will be > known only after the device was configured. > > Add support to reconfigure a queue after the device configuration > according to the queue state update and the configuration changes. > > Adjust the host notifier and the guest notification configuration to be > per queue and to be applied in the enablement process. > > Signed-off-by: Matan Azrad <ma...@mellanox.com> > --- > drivers/vdpa/mlx5/mlx5_vdpa.c | 26 ------------ > drivers/vdpa/mlx5/mlx5_vdpa.h | 8 +++- > drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 80 > ++++++++++++++++++++++++++----------- > 3 files changed, 64 insertions(+), 50 deletions(-) > Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com> @Xiao, we'll need same thing inthe IFC dirver, i.e. check for state change (new FDs) on enablement. Thanks, Maxime
- [dpdk-dev] [PATCH v2 1/5] vhost: skip access lock when vDP... Matan Azrad
- [dpdk-dev] [PATCH v2 3/5] vhost: handle memory hotplug wit... Matan Azrad
- Re: [dpdk-dev] [PATCH v2 3/5] vhost: handle memory ho... Maxime Coquelin
- Re: [dpdk-dev] [PATCH v2 3/5] vhost: handle memory ho... Xia, Chenbo
- [dpdk-dev] [PATCH v2 4/5] vhost: notify virtq file descrip... Matan Azrad
- Re: [dpdk-dev] [PATCH v2 4/5] vhost: notify virtq fil... Maxime Coquelin
- Re: [dpdk-dev] [PATCH v2 4/5] vhost: notify virtq fil... Xia, Chenbo
- [dpdk-dev] [PATCH v2 5/5] vdpa/mlx5: support queue update Matan Azrad
- Re: [dpdk-dev] [PATCH v2 5/5] vdpa/mlx5: support queu... Maxime Coquelin
- [dpdk-dev] [PATCH v3 0/6] vhost: improve ready state Matan Azrad
- [dpdk-dev] [PATCH v3 1/6] vhost: support host notifie... Matan Azrad
- [dpdk-dev] [PATCH v3 2/6] vhost: skip access lock whe... Matan Azrad
- [dpdk-dev] [PATCH v3 4/6] vhost: handle memory hotplu... Matan Azrad
- [dpdk-dev] [PATCH v3 3/6] vhost: improve device readi... Matan Azrad
- [dpdk-dev] [PATCH v3 5/6] vhost: notify virtq file de... Matan Azrad
- [dpdk-dev] [PATCH v3 6/6] vdpa/mlx5: support queue up... Matan Azrad
- Re: [dpdk-dev] [PATCH v3 0/6] vhost: improve ready st... Maxime Coquelin