From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E0228A0A0C; Fri, 2 Jul 2021 05:00:41 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 68D4540141; Fri, 2 Jul 2021 05:00:41 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 578A54003E for ; Fri, 2 Jul 2021 05:00:40 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10032"; a="294309718" X-IronPort-AV: E=Sophos;i="5.83,316,1616482800"; d="scan'208";a="294309718" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jul 2021 20:00:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,316,1616482800"; d="scan'208";a="476872914" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga004.fm.intel.com with ESMTP; 01 Jul 2021 20:00:36 -0700 Received: from shsmsx602.ccr.corp.intel.com (10.109.6.142) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Thu, 1 Jul 2021 20:00:36 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX602.ccr.corp.intel.com (10.109.6.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Fri, 2 Jul 2021 11:00:34 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2242.008; Fri, 2 Jul 2021 11:00:34 +0800 From: "Zhang, Qi Z" To: "Xu, Ting" , "dev@dpdk.org" CC: "Wu, Jingjing" , "Xing, Beilei" , "Yang, Qiming" Thread-Topic: [PATCH v5 0/7] Enable ETS-based Tx QoS for VF in DCF Thread-Index: AQHXbmJA2T1HxPlLkUevPrmzr2o5Yasu//MA Date: Fri, 2 Jul 2021 03:00:34 +0000 Message-ID: References: <20210601014034.36100-1-ting.xu@intel.com> <20210701102008.3648-1-ting.xu@intel.com> In-Reply-To: <20210701102008.3648-1-ting.xu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v5 0/7] Enable ETS-based Tx QoS for VF in DCF X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Xu, Ting > Sent: Thursday, July 1, 2021 6:20 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Wu, Jingjing ; > Xing, Beilei ; Yang, Qiming ; > Xu, Ting > Subject: [PATCH v5 0/7] Enable ETS-based Tx QoS for VF in DCF >=20 > 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 T= C. IAVF > is supported to query QoS capability and set queue TC mapping. > Traffic Management API is utilized to configure the QoS hierarchy schedul= er > tree. The scheduler tree will be passed to hardware to enable all above > functions. >=20 > 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 >=20 > 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 >=20 > -- > 2.17.1 Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi