> -----Original Message----- > From: David Marchand <david.march...@redhat.com> > Sent: Thursday, March 2, 2023 11:48 AM > To: dev@dpdk.org > Cc: Semion Simma <ssi...@nvidia.com>; Yajun Wu <yaj...@nvidia.com>; > Maxime Coquelin <maxime.coque...@redhat.com>; Chenbo Xia > <chenbo....@intel.com>; Morten Brørup <m...@smartsharesystems.com> > Subject: [PATCH] vhost: fix vring enable with VDPA > > For VDPA devices, vq are not locked once the device has been configured. > But we need to hold the vq lock to check if vhost async is enabled. > > Combining VDPA and vhost async does not seem to make much sense, so > prevent this combination, and only assert the lock is taken when VDPA is > not configured on this vq. > > Bugzilla ID: 1169 > Fixes: 4b02c2673757 ("vhost: annotate async accesses") > > Signed-off-by: David Marchand <david.march...@redhat.com> > ---
Verified it resolves the issue, thanks David. Tested-by: Ali Alnubani <alia...@nvidia.com>