numam-dpdk/drivers
Qi Zhang 691ad36245 common/iavf: support VF with more than 16 queues
Currently there are limitations in the virthcnl.h interface that only
allow a maximum of 16 queues to be used by a VF driver. Add support in
virtchnl.h to allow a VF driver to request >16 queues. Also, the RSS
qregion size is currently assumed to be the max number of queues a VF
can request and/or is given on initialization. With larger VFs this
assumption can no longer be made, so add a new op to support querying
the max RSS qregion size.

In order to request more queues than the initially given queues the VF
driver needs to use the VIRTCHNL_OP_REQUEST_QUEUES opcode.

The VF is given more >16 queues it should use the new
VIRTCHNL_OP_GET_MAX_RSS_QREGION to determine its max qregion size. This
is needed to correctly configure the RSS LUT and/or configure filters
based on queue base/offset and queue region size.

If the VF is configuring >16 queues it should use the following opcodes
to configure the qeueus and interrupts after successfully requesting
them.

VIRTCHNL_OP_MAP_QUEUE_VECTOR
VIRTCHNL_OP_ENABLE_QUEUES_V2
VIRTCHNL_OP_DISABLE_QUEUES_V2

Also, add support in virtchnl_vc_validate_vf_msg() to validate the above
messages. As a part of this move the virtchnl_vector_limits enumeration
directly above the function it's used.

The patch also update base code release version in readme.

Signed-off-by: Ting Xu <ting.xu@intel.com>
Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
2020-10-16 19:48:19 +02:00
..
baseband baseband/turbo_sw: detect dependencies automatically 2020-10-14 21:32:11 +02:00
bus bus/pci: clear undefined bits in Windows segment parsing 2020-10-16 14:41:32 +02:00
common common/iavf: support VF with more than 16 queues 2020-10-16 19:48:19 +02:00
compress mbuf: remove deprecated function and macro aliases 2020-09-19 00:25:37 +02:00
crypto event/octeontx2: add crypto adapter datapath 2020-10-15 22:27:49 +02:00
event eventdev: express DLB/DLB2 PMD constraints 2020-10-15 23:16:07 +02:00
mempool net/octeontx2: fix jumbo frame crash 2020-10-15 22:54:21 +02:00
net net/virtio: fix indirect desc length 2020-10-16 19:48:19 +02:00
raw raw/dpaa2_qdma: fix reset 2020-10-11 22:02:55 +02:00
regex regex/octeontx2: introduce REE driver 2020-10-14 10:41:21 +02:00
vdpa vdpa/ifc: fix build with recent kernels 2020-10-02 18:38:33 +02:00
meson.build common/mlx5: introduce layer for multiple class drivers 2020-07-28 19:01:11 +02:00