vhost-vdpa: negotiate VIRTIO_NET_F_STATUS with driver
PATCH 1/1 vhost-vdpa: negotiate VIRTIO_NET_F_STATUS with driver
Vendor driver may not support or implement config interrupt delivery for link status notifications. In this event, vendor driver is expected to NACK the feature, but guest will keep link always up.
--- net/vhost-vdpa.c | 1 + 1 file changed, 1 insertion(+)
net/vhost-vdpa.c +1 -0
@@ -55,6 +55,7 @@ const int vdpa_feature_bits[] = {VIRTIO_F_IOMMU_PLATFORM ,VIRTIO_F_RING_PACKED ,VIRTIO_NET_F_GUEST_ANNOUNCE , +VIRTIO_NET_F_STATUS , VHOST_INVALID_FEATURE_BIT };
Signature · 1 line
1.8.3.1
Quoted 15 lines · Si-Wei Liu
Vendor driver may not support or implement config interrupt delivery for link status notifications. In this event, vendor driver is expected to NACK the feature, but guest will keep link always up.
Signed-off-by Si-Wei Liu <[email protected]>--- net/vhost-vdpa.c | 1 + 1 file changed, 1 insertion(+)net/vhost-vdpa.c +0
-0
net/vhost-vdpa.c const int vdpa_feature_bits[] = { · line 61
Quoted 7 lines
net/vhost-vdpa.c +1
-0@@ -55,6 +55,7 @@ const int vdpa_feature_bits[] = {VIRTIO_F_IOMMU_PLATFORM ,VIRTIO_F_RING_PACKED ,VIRTIO_NET_F_GUEST_ANNOUNCE , +VIRTIO_NET_F_STATUS , VHOST_INVALID_FEATURE_BIT };
Michael, do you want to pick this patch or I will do that?
Thanks
Quoted 27 lines · Jason Wang
Quoted 15 lines · Si-Wei Liu
Vendor driver may not support or implement config interrupt delivery for link status notifications. In this event, vendor driver is expected to NACK the feature, but guest will keep link always up.
Signed-off-by Si-Wei Liu <[email protected]>--- net/vhost-vdpa.c | 1 + 1 file changed, 1 insertion(+)net/vhost-vdpa.c +0
-0net/vhost-vdpa.c const int vdpa_feature_bits[] = { · line 60
Quoted 6 lines
net/vhost-vdpa.c +1
-0@@ -55,6 +55,7 @@ const int vdpa_feature_bits[] = {VIRTIO_F_IOMMU_PLATFORM ,VIRTIO_F_RING_PACKED ,VIRTIO_NET_F_GUEST_ANNOUNCE , +VIRTIO_NET_F_STATUS , VHOST_INVALID_FEATURE_BIT };Acked-by Jason Wang <[email protected]>
Quoted 3 lines
Michael, do you want to pick this patch or I will do that?
Thanks
Tagged, thanks!