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 EF888A046B for ; Fri, 28 Jun 2019 18:38:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D06724C8B; Fri, 28 Jun 2019 18:38:03 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60061.outbound.protection.outlook.com [40.107.6.61]) by dpdk.org (Postfix) with ESMTP id 6ECB44C6C; Fri, 28 Jun 2019 18:38:02 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=testarcselector01; d=microsoft.com; cv=none; b=i9pYdPwETxd4eGt334drts6GhVhp6gjmoVcUHjnjGxqzyAqDhV5BSaNoUFOE/w9Uq8JyF9HaXuzWkIs8eUNPa4xe+QfHxQxz+NsNxUhcvsZPPPtKhVKHBSeIJwI668g2lbxS6vFU1sASVgWk3AJsOTCJferq3I4mlS7P5jcDlV4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=testarcselector01; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GojGuSuRisCOwAc2jHtzOreODTWs+QSJISyJ0cmQV/8=; b=tFPtLeXvAeO/Xey92pyW3wDf3kkFavuK4Ohhatd5hchuRdWT4OZXQa+b5ypoFTkQ7yId+dpkTBDvfaNFZPHnIdJSs1YhOrfjzFEXnOwVtU1qTmld8dWibFPJny6UH7TpZuJY+IgwR0ixv9HKA41QVQT+fUzcZtgIbDracIFO2Zs= ARC-Authentication-Results: i=1; test.office365.com 1;spf=none;dmarc=none;dkim=none;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GojGuSuRisCOwAc2jHtzOreODTWs+QSJISyJ0cmQV/8=; b=Mf6XGaoCze2tfWIoEbBF1x9clem3DuH1yArpucqAvrNToxwFZhPmq6hRsm0FgyHUQQDlSbK9oV6+Kwuxo4dQIxhYy7lYIfhY2sNLJeV5rxnngH39LohZad8F7i4/P2Zh1vh30u4N9ulRYp5fY4VfsbOd0YIKSKSbAiqAa5R4YvE= Received: from VE1PR08MB5149.eurprd08.prod.outlook.com (20.179.30.152) by VE1PR08MB4928.eurprd08.prod.outlook.com (10.255.114.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2008.16; Fri, 28 Jun 2019 16:38:01 +0000 Received: from VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::a89e:33:fbda:ed35]) by VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::a89e:33:fbda:ed35%4]) with mapi id 15.20.2008.014; Fri, 28 Jun 2019 16:38:01 +0000 From: Honnappa Nagarahalli To: "thomas@monjalon.net" CC: "stable@dpdk.org" , David Marchand , dev , "Ruifeng Wang (Arm Technology China)" , Honnappa Nagarahalli , nd , "ferruh.yigit@intel.com" , nd Thread-Topic: [dpdk-stable] [dpdk-dev] [PATCH 1/2] test/rcu: increase the size of num cores variable Thread-Index: AQHVLbY7EPg5DOP8P0qefzgasfZxEaaxRADA Date: Fri, 28 Jun 2019 16:38:01 +0000 Message-ID: References: <20190628034406.5399-1-honnappa.nagarahalli@arm.com> <2800271.zs2T813PYt@xps> In-Reply-To: <2800271.zs2T813PYt@xps> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: b82cdeea-dd08-42ce-b5bd-7e0757cc027f.0 x-checkrecipientchecked: true authentication-results: spf=none (sender IP is ) smtp.mailfrom=Honnappa.Nagarahalli@arm.com; x-originating-ip: [217.140.111.135] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0e0b8792-8399-433e-0f89-08d6fbe6fc67 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VE1PR08MB4928; x-ms-traffictypediagnostic: VE1PR08MB4928: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-microsoft-antispam-prvs: nodisclaimer: True x-ms-oob-tlc-oobclassifiers: OLM:4303; x-forefront-prvs: 00826B6158 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(4636009)(39860400002)(396003)(366004)(136003)(346002)(376002)(189003)(199004)(1730700003)(5640700003)(256004)(102836004)(54906003)(68736007)(81166006)(99286004)(316002)(7696005)(86362001)(6506007)(8936002)(74316002)(6916009)(7736002)(33656002)(8676002)(26005)(186003)(76176011)(66066001)(2906002)(2501003)(25786009)(305945005)(72206003)(2351001)(53936002)(6246003)(3846002)(9686003)(4744005)(4326008)(6436002)(66446008)(478600001)(52536014)(66946007)(6116002)(486006)(64756008)(76116006)(229853002)(476003)(11346002)(66556008)(5660300002)(66476007)(71190400001)(446003)(71200400001)(55016002)(14454004)(73956011)(81156014)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR08MB4928; H:VE1PR08MB5149.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: qENOADFnVfMAWnHe2dCU42jhzdg2nBU0HKEhGB/wPfscwGtMsDo+WAktCJDxWZMWlTLXV78X9z9axW2l29kCzPVACREcbLNBRGnjyS2bRr7CA/hRHHxdKnuKmDlkpbzV/1bxu54C/tk3pk8TgbubUlsUdeLIdE/G2/LhaCMatnIRhWgZX9tYB+CB66jtsd5nI5dBZD8N3ud/JoIzT29N8jEvunQ0+WFpkzcIDDYym52N3U9kM1fDbqZa0JfIIA7lf36afa0Sag2i2slbdOhihnWOGhne1dHjNt9pDMZwZPFB7YjNRPlIgAElXndzKE7mdFS4r+cRYBF+S/wmgsg3hhBavmpr809dolqlSiPOwfM4blXaS8y184r18H2iT98kNT8eQ0hZeF52hFaXCEupXpUaJuoBVhijE9uZ3R67ip4= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0e0b8792-8399-433e-0f89-08d6fbe6fc67 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jun 2019 16:38:01.3377 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Honnappa.Nagarahalli@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB4928 Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH 1/2] test/rcu: increase the size of num cores variable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" >=20 > 28/06/2019 11:09, David Marchand: > > On Fri, Jun 28, 2019 at 5:44 AM Honnappa Nagarahalli > > > --- a/app/test/test_rcu_qsbr.c > > > +++ b/app/test/test_rcu_qsbr.c > > > @@ -27,7 +27,7 @@ > > > #define TEST_RCU_QSBR_CNT_INIT 1 > > > > > > uint16_t enabled_core_ids[RTE_MAX_LCORE]; -uint8_t num_cores; > > > +uint16_t num_cores; > > > > If we want to be closer to the eal API, those should be unsigned int. >=20 > I agree, please use unsigned int where relevant. Sent v2. There are other similar cases, may be in a follow up patch. >=20 >=20