OSDN Git Service

vdpa net: follow VirtIO initialization properly at cvq isolation probing
authorEugenio Pérez <eperezma@redhat.com>
Fri, 15 Sep 2023 17:08:36 +0000 (19:08 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 4 Oct 2023 22:15:06 +0000 (18:15 -0400)
commit845ec38ae1578dd2d42ff15c9979f1bf44b23418
tree498e09d1a8f5a7da0a181dbf116d49587f3e5537
parentf1085882d028e5a1b227443cd6e96bbb63d66f43
vdpa net: follow VirtIO initialization properly at cvq isolation probing

This patch solves a few issues.  The most obvious is that the feature
set was done previous to ACKNOWLEDGE | DRIVER status bit set.  Current
vdpa devices are permissive with this, but it is better to follow the
standard.

Fixes: 152128d646 ("vdpa: move CVQ isolation check to net_init_vhost_vdpa")
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <20230915170836.3078172-4-eperezma@redhat.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
net/vhost-vdpa.c