net/iavf: query QoS capabilities and set queue TC mapping
authorTing Xu <ting.xu@intel.com>
Thu, 1 Jul 2021 11:41:22 +0000 (19:41 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 6 Jul 2021 02:58:15 +0000 (04:58 +0200)
commit44d0a720a53863a1c9323fcded3223e4ee11ee6a
treec5eee52d32fa764acb9e1d259664cbe1cd8c7bf2
parent3a6bfc37eaf49b46af211beb0e448b5ad862d017
net/iavf: query QoS capabilities and set queue TC mapping

This patch added the support for VF to config the ETS-based Tx QoS,
including querying current QoS configuration from PF and config queue TC
mapping. PF QoS is configured in advance and the queried info is
provided to the user for future usage. VF queues are mapped to different
TCs in PF through virtchnl.

Signed-off-by: Qiming Yang <qiming.yang@intel.com>
Signed-off-by: Ting Xu <ting.xu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
doc/guides/rel_notes/release_21_08.rst
drivers/net/iavf/iavf.h
drivers/net/iavf/iavf_ethdev.c
drivers/net/iavf/iavf_tm.c [new file with mode: 0644]
drivers/net/iavf/iavf_vchnl.c
drivers/net/iavf/meson.build