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 66899A0511; Wed, 27 Apr 2022 03:59:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 04038410DC; Wed, 27 Apr 2022 03:59:25 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 1A71A40E78 for ; Wed, 27 Apr 2022 03:59:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651024763; x=1682560763; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=OqwPJMsPY6JgRyosDKoRPhk2YV7UyQBokIVYY/lFk+s=; b=QgCp9Z7lhAiszQoIYZTuGfEe1aT8+hCG+Gg0M5iPXFJjzdMTs/j/lNqo 1Oc5DQzVb1yfCyihLtfxdgwOPtFR0eHyQlG6f5ReO7bHSEk7ymhlwDYZ+ bSDPHGoD9U1lO17RSe0ROSKgfW7ttTuMIdeJ4jPIItsMd5QYVc1YHNI6p Coz9GDDDPxOi4uYbHKS49/smQHFQtgqilFfrAFf+TsUygRaHF6e0UZ/4l SwLrTdUqhPOPqFJLVrm7pyjLfgoRhskmt9taRpCFE1wZYHaH6th0Y2rKu 2+jkVt/J3Q+fPnOiB4DffYu2XyUsoWv2bJjiyD2nH9kMNDse5ou0c2vPb Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10329"; a="265591816" X-IronPort-AV: E=Sophos;i="5.90,292,1643702400"; d="scan'208";a="265591816" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2022 18:59:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,292,1643702400"; d="scan'208";a="660987579" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by fmsmga002.fm.intel.com with ESMTP; 26 Apr 2022 18:59:21 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Tue, 26 Apr 2022 18:59:21 -0700 Received: from orsmsx604.amr.corp.intel.com (10.22.229.17) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Tue, 26 Apr 2022 18:59:20 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Tue, 26 Apr 2022 18:59:20 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.44) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Tue, 26 Apr 2022 18:59:20 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l1D4XjJ/OPKM4a52Bh3J8ehyOMAWeYdW7xlM+mhsyp0J2Yf4dPK/bT2iSQYUxt/3KXHla2hLetOszXhQ2guDdAs7hECjOAN3JpFf01Q8Lz8NFGubqEUi6MI6kh82dwmgB1Svn77HDks8NqVKMlhMAWfvEUoSQiW8cihebTKf9hUds1NnDMDOgI8jcqJUwXcBKzDnsLC5QUG9csUwmnKe0lgXfbJhxZNqoI9DXSOP1hTt/yiQdeCnS1lqrxz6oCMtxp7b5ruQJchQ6BMXHQ9ASLVVgt6nEJg1zpc60Xcx9D5mfHRkC1QbtrUSRWuxNAhbJma5OqIFwQNwpbP4v9S2Lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SI95BAeYYI70k5F/eIoiJyGu/huQDiLvTQk+tuZJKS4=; b=mrolgxlHgjhEC91Mxz4C2g0SJOSb7T99eagN5kAN6AUPT6gELS15YKGtRz1bF9dYoHcrT4Igo9T1NXhHpCZKC7vAcRbi3QidF5qrrF7hGIfwbMQ7dd+gAjzfcJT0mskdj5zwxlYsHX7maE0eN1l0bdi1fPnK+YEf7EeEKc9WMWv3TiS3hlX7Ps4cssXXTtkISJy3sJhDoErpYQZyNL/eAWe4//erCKeU+aK7+RJbPWkREdqFRJTyPepuBPES0kYxzcc95uSG+hBLkHgf0VoUWnTemrRiQUtDQSg3wT0KCHQO1S4NwUIECPIH+8kVBABZM6QMHNgSH+c6rEoWGoaf2Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MWHPR11MB1886.namprd11.prod.outlook.com (2603:10b6:300:110::9) by CY5PR11MB6116.namprd11.prod.outlook.com (2603:10b6:930:2b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.14; Wed, 27 Apr 2022 01:59:19 +0000 Received: from MWHPR11MB1886.namprd11.prod.outlook.com ([fe80::e937:6415:7092:105c]) by MWHPR11MB1886.namprd11.prod.outlook.com ([fe80::e937:6415:7092:105c%11]) with mapi id 15.20.5186.021; Wed, 27 Apr 2022 01:59:19 +0000 From: "Yang, Qiming" To: "Wu, Wenjun1" , "dev@dpdk.org" , "Zhang, Qi Z" Subject: RE: [PATCH v7 0/9] Enable ETS-based TX QoS on PF Thread-Topic: [PATCH v7 0/9] Enable ETS-based TX QoS on PF Thread-Index: AQHYVecHxDRTX0uXDEia4+MMZQbkh60DCNsg Date: Wed, 27 Apr 2022 01:59:19 +0000 Message-ID: References: <20220329014813.1092054-1-wenjun1.wu@intel.com> <20220422005746.2300736-1-wenjun1.wu@intel.com> In-Reply-To: <20220422005746.2300736-1-wenjun1.wu@intel.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.401.20 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 01a8fcdf-9c5c-4800-f544-08da27f18aaa x-ms-traffictypediagnostic: CY5PR11MB6116:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Z8OtkRbmI00/m6r1Oc6nRlx9bDqW8x0StpMB69T8eEcpEFUIU74iCFSCW5OJQ6BFSBg87qlyWq006B4c+WoBLtPraH3+6JdSxEwEZ2V5UT+xEU/KCDrKvskT47MVwANft9/cFURIJprbQ+mUhw5luhTwuETgdISgQjeAoewleEQQkohVhqSzLgAq+JRX2STA0IAknJGhYVdHE059o9CuTKkHaHOYaoljr4EmPdsV3185V2UF3no4vwXyDIVvVPOcRDeMvBjXTOIQOzfgtfLHwCLuzicvxgzT9k5n+eGJMBsrjjmDpPMyNaUhqiuBcQ1Rxyj3PZ+nXr2ULOeekVT8bupaUJgb5oNlDhX2uJLzBlRxygOngz8yB1q/IRlUBwJdGKvXG6mfay1STLlfQ6F0xq6+eCcbEuvMBoL8tl4zzfhA0LXTT1P/mfAiD3KhmkE8dt8BHM2g7tL0TWYzkC7iU0bBTlMBZSNWzHQRnXL8NI55yQKrw3FlJ6KZfVwi6VUMk9R/Q+06m3Hzoy9g5B8d+lpmajZBQTnu8ERM6DumxYP+3/gF2ZjAmG1sZr0KEBIDrnDbd+uy13DkJgjojtS/Un4+r93Q0VfVKi9hV/XbhqkqSGT7kH/nonSbw8v5R8IUjIj6Nrr16cFAtLfuZbxpSEL6qRGFAeNojMId1vIjLyXZo9Ddcf81Y4DwOwMOSoEyBwFyqwCYE0vefesZHt0+Mw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB1886.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(26005)(186003)(55016003)(66556008)(66946007)(66476007)(76116006)(66446008)(64756008)(33656002)(82960400001)(71200400001)(52536014)(5660300002)(6636002)(8936002)(316002)(8676002)(86362001)(110136005)(38070700005)(38100700002)(508600001)(122000001)(83380400001)(2906002)(9686003)(53546011)(7696005)(6506007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-2022-jp?B?dmV0elJEVTFvY0ZjZFBCUGZPV0h4WUUrMWxmWWVCM2hZb3JnRTJiSU85?= =?iso-2022-jp?B?YXZycnM3Y1MwL241bmk1WmxBMFBNb0FpMC9HWDYyU0hiMWJxN1lqTzQ5?= =?iso-2022-jp?B?cmJPMzB0V0ljNVBoWURZRlhxbGR0Zm1ENE9JWTBCUWR5NWtvSHErZ2Zh?= =?iso-2022-jp?B?SEJsclMvZ0VvQlM2Q3A1U3hudFJiWU44ODlXcEdlMWs1WUJ0WnBPdFFm?= =?iso-2022-jp?B?Qmx0aVRFWmZSSC9JTmlhcHVZMnpsQ3VzMlZsTmZnZFZDaDZJanBPZzBx?= =?iso-2022-jp?B?a3dad082WUdReUFRUzloMGtnRWRMbFk3ZlVYWGY3eENUYzc1Q0dOSFh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aGJHNzl4dGF4Zm9kL3dzd1kxUmJjeWdIYmpXN3RPSXozMHI1L1JDemJP?= =?iso-2022-jp?B?eGhUemR2YmVzYjd6d1B2RVBRSGJUTlRDU25wcHVoQlg0VUFMNFdhbndu?= =?iso-2022-jp?B?RWYrdUR2UWVnaTVtbnlXL3ZVN2ZyWHNwWmhsd2d3RDNlZjBxVWhIOGQw?= =?iso-2022-jp?B?RWZDR0R3b29BaDJGR3kxUDJCbW8wRUxuU3ZFWCtWQjIzNm1GV3JseWpx?= =?iso-2022-jp?B?YWU5aVNIb2FKTE8zcXprSFJaUHNQVXpuS2xnTnN6K2F6WW5Mcno1OHhU?= =?iso-2022-jp?B?TzNOSTJQR1YwSmJYN1NqaFdFTkNpWHhwdFVXVkVoUGtTTkVNaUJNNGdI?= =?iso-2022-jp?B?YXdETTkxc096K2xMQWVWM3RVRFlZTkExdG80QT09?= Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1886.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 01a8fcdf-9c5c-4800-f544-08da27f18aaa X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Apr 2022 01:59:19.2939 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: DdidVtCzS4m6GOl6w6NTPVxw8DYAqRcg1tYJwgJE5oeLuO41l2qURm2ljtrCLyJqFFBX92S9RCNrSXCitNBdCQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR11MB6116 X-OriginatorOrg: intel.com 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 Hi, > -----Original Message----- > From: Wu, Wenjun1 > Sent: 2022=1B$BG/=1B(B4=1B$B7n=1B(B22=1B$BF|=1B(B 8:58 > To: dev@dpdk.org; Yang, Qiming ; Zhang, Qi Z > > Subject: [PATCH v7 0/9] Enable ETS-based TX QoS on PF >=20 > This patch set enables ETS-based TX QoS on PF. It is supported to configu= re > bandwidth and priority in both queue and queue group level, and weight > only in queue level. >=20 > v2: fix code style issue. > v3: fix uninitialization issue. > v4: fix logical issue. > v5: fix CI testing issue. Add explicit cast. > v6: add release note. > v7: merge the release note with the previous patch. >=20 > Ting Xu (1): > net/ice: support queue bandwidth limit >=20 > Wenjun Wu (8): > net/ice/base: fix dead lock issue when getting node from ID type > net/ice/base: support priority configuration of the exact node > net/ice/base: support queue BW allocation configuration > net/ice: support queue group bandwidth limit > net/ice: support queue priority configuration > net/ice: support queue weight configuration > net/ice: support queue group priority configuration > net/ice: add warning log for unsupported configuration >=20 > doc/guides/rel_notes/release_22_07.rst | 4 + > drivers/net/ice/base/ice_sched.c | 89 ++- > drivers/net/ice/base/ice_sched.h | 6 + > drivers/net/ice/ice_ethdev.c | 19 + > drivers/net/ice/ice_ethdev.h | 55 ++ > drivers/net/ice/ice_tm.c | 844 +++++++++++++++++++++++++ > drivers/net/ice/meson.build | 1 + > 7 files changed, 1016 insertions(+), 2 deletions(-) create mode 100644 > drivers/net/ice/ice_tm.c >=20 > -- > 2.25.1 Acked-by: Qiming Yang