From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D0911A04EF for ; Tue, 2 Jun 2020 11:46:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 92A431BF84; Tue, 2 Jun 2020 11:46:43 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 4B79A1BF84; Tue, 2 Jun 2020 11:46:41 +0200 (CEST) IronPort-SDR: jQKKIo82h8+HG7KXFipjQS/z5MZqrIT7jmHdM/SpqEMCY//p6OhNtRBWtCHfrB9vH5rh4dnwI9 yIv9Dbu5oSNA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2020 02:46:40 -0700 IronPort-SDR: 8IQkDfHZbKTkYVnMqnI6BCOiCNK2D+XjWJDIKj/Lbccwydpaqq3dpD9xiOMZOIb6kKIaWLUjfM 9ffnJzvgKGuw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,463,1583222400"; d="scan'208";a="470613851" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga006.fm.intel.com with ESMTP; 02 Jun 2020 02:46:40 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 2 Jun 2020 02:46:39 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 2 Jun 2020 02:46:39 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 2 Jun 2020 02:46:39 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.170) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 2 Jun 2020 02:46:39 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BTl4Yu1IjaoDeTPmrvWV2fdBWm3P2k/ofOufzmObOk27vYAxuapoNjIETEFj0AhmfBMdUD3zvlbHdRqyH3Pu34afaHh2AqPlvAMPCCbNR/cex6rHuUTd78tZ1haiumwfdGz/CVyMHgcu7Zr4udXVvHqu4xDsK2B6Z/iBr235ITuONd5Gt76Yju1383I2Z3H08KPSfWUHIkX0CbqBQ9fHGMku5RNS9o1IOvWVCfTS3LJYc1/V0yZ9gz400JPOcePuX6jm2R4NiUGH00QekOaFAC33ZSBeS29sp0vb5iiFkvdY6fqj0HMuNpvm471BImTDuVvq5DHV6vuZXSn3Z5ZsGw== 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-SenderADCheck; bh=ja4lPtIdC8GAQXEZ2EdsMckVz8OweDibZRSgJB05+4c=; b=RGBqbNJ3w1x/a+6bYEsFWgT3gE6mwPPEGfCXa7dPpAaIP9pxlnpwv6GH6wbCiyBUEOLK3hFDJ+A9ZSZxpoxXuk5XgLpsIaxPt9oQ6pF5FXYhzE/ze+CdpTv23bCDt3HZ/XZ2cSCejq4NQh7WemxFT4B2isEfIAze+4aCfR7j/X3kHeW2lGqbJFiq8nrXgtFA/uLY5rwkVca+xQvXt0JH0fhff1lWvYqo3z/y2NSK7cXoDYG1OpelaEurGjENl4rgub9059pYS5UTWc+2hui3Q3OSmaIKzwlqYGdG2OKVDscxaIeDFpa4J50uZlbK6P3E4/c4n5ISIUn1K5KhqZAhnw== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ja4lPtIdC8GAQXEZ2EdsMckVz8OweDibZRSgJB05+4c=; b=uKaT39LbhXprILPhUF36i15LswGDJpLGB8zT3HehVHJi0Nuo63LMyCtwD2RH1Scr7mEg0u7C1hbx9Z2faz6dgSqykRxw/kOF5D6xyKEJzJ0Fctp1UOu2a4hCnofvqROZdYcCLXMP6kwWQIS4k8xlamwhnJCGQMSVtMok993xl8U= Received: from DM5PR11MB0074.namprd11.prod.outlook.com (2603:10b6:4:69::24) by DM5PR11MB1724.namprd11.prod.outlook.com (2603:10b6:3:e::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.22; Tue, 2 Jun 2020 09:46:38 +0000 Received: from DM5PR11MB0074.namprd11.prod.outlook.com ([fe80::18be:129d:8094:c863]) by DM5PR11MB0074.namprd11.prod.outlook.com ([fe80::18be:129d:8094:c863%5]) with mapi id 15.20.3045.024; Tue, 2 Jun 2020 09:46:38 +0000 From: "Singh, Jasvinder" To: Archit Pandey , "dev@dpdk.org" CC: dpdk stable Thread-Topic: [PATCH] sched: add missing 64-bit rate values Thread-Index: AQHWOLuqvrnoDq6dFUqM34jU7AhQF6jFE5Qw Date: Tue, 2 Jun 2020 09:46:38 +0000 Message-ID: References: <20200602085528.96650-1-architpandeynitk@gmail.com> In-Reply-To: <20200602085528.96650-1-architpandeynitk@gmail.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.2.0.6 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [109.77.64.69] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6f8ebe4c-1eb1-44bf-ed4d-08d806d9d8aa x-ms-traffictypediagnostic: DM5PR11MB1724: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:281; x-forefront-prvs: 0422860ED4 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: SL93FXvEukEeH0k2F8ovhhM8n/Uc73EX7VBGG2UBUPd6vxdCW7xNZdOGrH0i4jCBrtc2xb6Jnj4V2SBOvyMCdwmEWUx5hjKntOA9w+EOxLBf7cbWN3WkWharqNJc2I7NNaBwom8UmfdR+wmmnpt5xCLU+PT3jGrG/PjaG1QLKOfsMFY+lOc1oRVfuomye42naiqnWQ1bxBB6nud4qhXVa3yilj+fZmbvPieHRxxyNUAEpoaMh5bxMfZUCv1IxCDzC89uNI5urY6RpmrJzBvofUdv23UokrMSpeockecpu0JpAbUI9uuX5N/tw3h+1jioMaK/qb32dEyFcYKf4bDzFg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR11MB0074.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(39860400002)(136003)(396003)(366004)(346002)(376002)(83380400001)(8936002)(8676002)(53546011)(71200400001)(6506007)(26005)(2906002)(186003)(9686003)(5660300002)(4326008)(66446008)(64756008)(66946007)(86362001)(66476007)(66556008)(52536014)(55016002)(7696005)(316002)(76116006)(110136005)(478600001)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: 9PLpxkToNgeiwq/1DeqxI1PZ+nG5Rj3RwGkkk36Ac3DcZggu+egA/PcJ4x990A9uRPmUS/R9p6xC46Gh8uVkLG4/6iH4NTohg2uZ3sj8ncfajvzDxPNSfjTxOzYDMuGxPN75JH93aR3kv8Yjw5MwlUR+qX//m1LXflUFP8sCqspgviLjYbZjrF5RSHuYpW1DuonoGm6nPXj1CY4MUdzjI9pLmZ1Pws2YGXn+xPqax2LUU/lZLlCj4UoW6r87Rus5j2Ffuz0MkGBwUuomP0xz1KA7DL6LuMJwrWMuF8ciF5cLlely5uKjX9OcCFpmYx0Rp4baL8iwaWryxJrv/zGrSq+egTcpU7NXTQuXof85gtbS9xYjam8vrvc5eoZpK31ajNq8db2NJ6grJgjtCYlK/rFP7TCs3MJ7Uu9mprCYF3XvA00HFbpKwjdrqFiVMZQwMPPo+l8B6aluz1w9W1BPHTwveSV0njfY+H19XEoP7Z4= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 6f8ebe4c-1eb1-44bf-ed4d-08d806d9d8aa X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Jun 2020 09:46:38.4726 (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: ltbzywCGK7gp8xfGB8G+QS8eBAO8HhKBf3dKn77NHn9fwZ3hCzCqevdxReHXOfQzz5zpBqRJ7+uU8hl8OFiUBSWaWyFXRyTVMqiFTAC2MxA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1724 X-OriginatorOrg: intel.com Subject: Re: [dpdk-stable] [PATCH] sched: add missing 64-bit rate values X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" > -----Original Message----- > From: Archit Pandey > Sent: Tuesday, June 2, 2020 9:55 AM > To: dev@dpdk.org > Cc: Archit Pandey ; Singh, Jasvinder > > Subject: [PATCH] sched: add missing 64-bit rate values >=20 > 64-bit support was missing from the functions pipe_profile_check and > rte_sched_subport_config_pipe_profile_table. >=20 > Fixes: 68c1f26d4236 ("sched: support 64-bit values") > Cc: jasvinder.singh@intel.com >=20 > Signed-off-by: Archit Pandey > --- > lib/librte_sched/rte_sched.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/lib/librte_sched/rte_sched.c b/lib/librte_sched/rte_sched.c = index > c0983ddda..be822057b 100644 > --- a/lib/librte_sched/rte_sched.c > +++ b/lib/librte_sched/rte_sched.c > @@ -304,7 +304,7 @@ rte_sched_port_tc_queue(struct rte_sched_port > *port, uint32_t qindex) >=20 > static int > pipe_profile_check(struct rte_sched_pipe_params *params, > - uint32_t rate, uint16_t *qsize) > + uint64_t rate, uint16_t *qsize) > { > uint32_t i; >=20 > @@ -624,7 +624,7 @@ rte_sched_pipe_profile_convert(struct > rte_sched_subport *subport, >=20 > static void > rte_sched_subport_config_pipe_profile_table(struct rte_sched_subport > *subport, > - struct rte_sched_subport_params *params, uint32_t rate) > + struct rte_sched_subport_params *params, uint64_t rate) > { > uint32_t i; >=20 > -- > 2.25.1 + CC stable@dpdk.org Acked-by: Jasvinder Singh