[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/3] vhost-net: add VIRTIO_NET_F_HASH_REPORT to the list of kerne
From: |
Yuri Benditovich |
Subject: |
[PATCH 1/3] vhost-net: add VIRTIO_NET_F_HASH_REPORT to the list of kernel features |
Date: |
Thu, 4 Feb 2021 22:29:13 +0200 |
In case of vhost TAP the kernel must support this feature,
otherwise the device can't offer it.
Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
---
hw/net/vhost_net.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/net/vhost_net.c b/hw/net/vhost_net.c
index 24d555e764..8282e440bd 100644
--- a/hw/net/vhost_net.c
+++ b/hw/net/vhost_net.c
@@ -45,6 +45,7 @@ static const int kernel_feature_bits[] = {
VIRTIO_NET_F_MTU,
VIRTIO_F_IOMMU_PLATFORM,
VIRTIO_F_RING_PACKED,
+ VIRTIO_NET_F_HASH_REPORT,
VHOST_INVALID_FEATURE_BIT
};
--
2.17.1