mbox series

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

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

Message

Xu, Ting July 1, 2021, 10:20 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             | 737 ++++++++++++++++++++++++
 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, 2040 insertions(+), 7 deletions(-)
 create mode 100644 drivers/net/iavf/iavf_tm.c
 create mode 100644 drivers/net/ice/ice_dcf_sched.c
  

Comments

Qi Zhang July 2, 2021, 3 a.m. UTC | #1
> -----Original Message-----
> From: Xu, Ting <ting.xu@intel.com>
> Sent: Thursday, July 1, 2021 6:20 PM
> To: dev@dpdk.org
> Cc: Zhang, Qi Z <qi.z.zhang@intel.com>; Wu, Jingjing <jingjing.wu@intel.com>;
> Xing, Beilei <beilei.xing@intel.com>; Yang, Qiming <qiming.yang@intel.com>;
> Xu, Ting <ting.xu@intel.com>
> Subject: [PATCH v5 0/7] Enable ETS-based Tx QoS for VF in DCF
> 
> 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             | 737 ++++++++++++++++++++++++
>  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, 2040 insertions(+), 7 deletions(-)  create mode 100644
> drivers/net/iavf/iavf_tm.c  create mode 100644
> drivers/net/ice/ice_dcf_sched.c
> 
> --
> 2.17.1

Acked-by: Qi Zhang <qi.z.zhang@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi