diff options
author | Zhu Lingshan <lingshan.zhu@intel.com> | 2021-08-18 11:57:14 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-09-05 22:23:07 +0200 |
commit | 90d1936681bc469824c6dfeda701efc884d3b448 (patch) | |
tree | de14168f831b30accd9e5f78a5aa4c63e3d682b2 /drivers/vdpa/ifcvf/ifcvf_base.h | |
parent | vDPA/ifcvf: detect and use the onboard number of queues directly (diff) | |
download | linux-90d1936681bc469824c6dfeda701efc884d3b448.tar.xz linux-90d1936681bc469824c6dfeda701efc884d3b448.zip |
vDPA/ifcvf: enable multiqueue and control vq
This commit enbales multi-queue and control vq
features for ifcvf
Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Link: https://lore.kernel.org/r/20210818095714.3220-3-lingshan.zhu@intel.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'drivers/vdpa/ifcvf/ifcvf_base.h')
-rw-r--r-- | drivers/vdpa/ifcvf/ifcvf_base.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/vdpa/ifcvf/ifcvf_base.h b/drivers/vdpa/ifcvf/ifcvf_base.h index 97d9019a3ec0..09918af3ecf8 100644 --- a/drivers/vdpa/ifcvf/ifcvf_base.h +++ b/drivers/vdpa/ifcvf/ifcvf_base.h @@ -22,15 +22,6 @@ #define N3000_DEVICE_ID 0x1041 #define N3000_SUBSYS_DEVICE_ID 0x001A -#define IFCVF_NET_SUPPORTED_FEATURES \ - ((1ULL << VIRTIO_NET_F_MAC) | \ - (1ULL << VIRTIO_F_ANY_LAYOUT) | \ - (1ULL << VIRTIO_F_VERSION_1) | \ - (1ULL << VIRTIO_NET_F_STATUS) | \ - (1ULL << VIRTIO_F_ORDER_PLATFORM) | \ - (1ULL << VIRTIO_F_ACCESS_PLATFORM) | \ - (1ULL << VIRTIO_NET_F_MRG_RXBUF)) - /* Max 8 data queue pairs(16 queues) and one control vq for now. */ #define IFCVF_MAX_QUEUES 17 |