mbox series

[v4,0/7] Enable ETS-based Tx QoS for VF in DCF

Message ID 20210630065344.50352-1-ting.xu@intel.com (mailing list archive)
Headers show
Series Enable ETS-based Tx QoS for VF in DCF | expand

Message

Ting Xu June 30, 2021, 6:53 a.m. UTC
This patch enables the ETS-based Tx QoS for IAVF. Kernel tool is used to
configure ETS first. DCF is used to set bandwidth limit for VFs of each
TC. IAVF is supported to query QoS capability and set queue TC mapping.
Traffic Management API is utilized to configure the QoS hierarchy
scheduler tree. The scheduler tree will be passed to hardware to enable
all above functions.

Ting Xu (7):
  common/iavf: support ETS-based QoS offload configuration
  net/ice/base: support DCF query port ETS adminq
  net/ice: support DCF link status event handling
  net/ice: support QoS config VF bandwidth in DCF
  net/iavf: query QoS cap and set queue TC mapping
  net/iavf: check Tx packet with correct UP and queue
  doc: release note for ETS-based Tx QoS

 doc/guides/rel_notes/release_21_08.rst |   7 +
 drivers/common/iavf/iavf_type.h        |   2 +
 drivers/common/iavf/virtchnl.h         | 131 +++++
 drivers/net/iavf/iavf.h                |  56 ++
 drivers/net/iavf/iavf_ethdev.c         |  34 ++
 drivers/net/iavf/iavf_rxtx.c           |  43 ++
 drivers/net/iavf/iavf_tm.c             | 727 +++++++++++++++++++++++
 drivers/net/iavf/iavf_vchnl.c          |  56 +-
 drivers/net/iavf/meson.build           |   1 +
 drivers/net/ice/base/ice_dcb.c         |   3 +-
 drivers/net/ice/ice_dcf.c              |   9 +-
 drivers/net/ice/ice_dcf.h              |  54 ++
 drivers/net/ice/ice_dcf_ethdev.c       |  68 ++-
 drivers/net/ice/ice_dcf_ethdev.h       |   3 +
 drivers/net/ice/ice_dcf_parent.c       |  81 +++
 drivers/net/ice/ice_dcf_sched.c        | 759 +++++++++++++++++++++++++
 drivers/net/ice/meson.build            |   3 +-
 17 files changed, 2030 insertions(+), 7 deletions(-)
 create mode 100644 drivers/net/iavf/iavf_tm.c
 create mode 100644 drivers/net/ice/ice_dcf_sched.c