numam-dpdk/drivers/common
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
..
cpt event/octeontx2: add crypto adapter datapath 2020-10-15 22:27:49 +02:00
dpaax common/dpaax/caamflib: support PDCP-SDAP 2020-10-14 22:24:41 +02:00
iavf common/iavf: support VF with more than 16 queues 2020-10-16 19:48:19 +02:00
mlx5 common/mlx5: add glue function for mirroring 2020-10-16 19:48:18 +02:00
mvep drivers/common: mark all symbols as internal 2020-10-06 01:16:14 +02:00
octeontx drivers/common: mark all symbols as internal 2020-10-06 01:16:14 +02:00
octeontx2 net/octeontx2: fix jumbo frame crash 2020-10-15 22:54:21 +02:00
qat common/qat: use write combining store for tail updates 2020-10-13 14:41:42 +02:00
sfc_efx common/sfc_efx/base: provide helper to check Rx prefix 2020-10-16 19:48:18 +02:00
meson.build net/sfc: introduce common driver library 2020-09-30 19:19:08 +02:00