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 CBE03A04F6; Tue, 7 Jan 2020 06:42:54 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9AB401D90E; Tue, 7 Jan 2020 06:42:54 +0100 (CET) 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 CF7801D8FF for ; Tue, 7 Jan 2020 06:42:52 +0100 (CET) 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=UdrOpKf78oRjvdbPU4KXRJ2d5N/LJW+UUFICPEGrI1Q=; b=wv91RZzf+evYe2iCviOGGcsD3t7zEWyZrgh4SHQGFSaWROuuE4wMA2GQW6rBth0aZ4NxSiNVPG69ctUJCKYT4+cwq/EjXGAGnBQeVKM0wGoNP2DmLKcTirk8M36OORWEkEf37SMW1lhywZscdJAXy9SB0bruY1maUbk9TTVTWSE= Received: from VI1PR0802CA0027.eurprd08.prod.outlook.com (2603:10a6:800:a9::13) by AM0PR08MB2978.eurprd08.prod.outlook.com (2603:10a6:208:66::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.15; Tue, 7 Jan 2020 05:42:51 +0000 Received: from DB5EUR03FT017.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::209) by VI1PR0802CA0027.outlook.office365.com (2603:10a6:800:a9::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.12 via Frontend Transport; Tue, 7 Jan 2020 05:42:51 +0000 Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT017.mail.protection.outlook.com (10.152.20.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.11 via Frontend Transport; Tue, 7 Jan 2020 05:42:50 +0000 Received: ("Tessian outbound ba41a0333779:v40"); Tue, 07 Jan 2020 05:42:50 +0000 X-CR-MTA-TID: 64aa7808 Received: from b0e11d584224.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 74234925-48E5-476D-B43C-423EBF366B13.1; Tue, 07 Jan 2020 05:42:45 +0000 Received: from EUR02-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b0e11d584224.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 07 Jan 2020 05:42:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=odrTOfnyoOpBth059TBhl6QmDBQUTa2GWy6O66hujneQ68cuSgjsiLhlAVktq6HV4TGZXEWgVtSiBHQ+Hj1jsaZHxeGKM1jFoeb17HpRwqQhVooJE1E6AUl8CXZqUuqssYuqGKcfuLrsXRHsXAOX6MwlKCu2RBho21VOUTiWCUpTc0m6NVqhHekhUlY4TOOIxT17PLeuADh7+Be794qvL84FHCq0cPd+yfSiRGQpDoJsw4MReWvfysXTttKVInnzVaJsfJbrK0+PQvfpCNzJPiGfislbZi6HToQ0zjkGKPFg8CoQeOQPM/87i497bG83yC4BFJ3P94kjIusbyb8TRQ== 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=UdrOpKf78oRjvdbPU4KXRJ2d5N/LJW+UUFICPEGrI1Q=; b=nxj1MvX2mxEuArt34IzhhMsHflEgZMq6PZYSCnKRWL6Fw+W7Q5ERGZRAQIpk7xNtBph2KyicTnoPMeqYGf0ijLlFXJ1RTOsckWVbVb+cF10ia27MYKVPWrshHt2Gzn7RS1IF97usFESGfgqbnwqUV9EO4TC38sZqsp+erO+zJ4HTVYfPJ8QOj5B+YTr0GtZsHW4NHg6ASn1hg27AZPjnfXe08Wp80Yhjy5kxU0VYJivbl4CzlwujZCNP+Xdg3K2j6w714wUq/+vPpUCoX0SZtpxkWnLIZoAej99KxgeArJP9JZYbdT0ejQGoIV+P0AmRfUvFL1GSjQ9I34bLpPReLQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; 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=UdrOpKf78oRjvdbPU4KXRJ2d5N/LJW+UUFICPEGrI1Q=; b=wv91RZzf+evYe2iCviOGGcsD3t7zEWyZrgh4SHQGFSaWROuuE4wMA2GQW6rBth0aZ4NxSiNVPG69ctUJCKYT4+cwq/EjXGAGnBQeVKM0wGoNP2DmLKcTirk8M36OORWEkEf37SMW1lhywZscdJAXy9SB0bruY1maUbk9TTVTWSE= Received: from VE1PR08MB5149.eurprd08.prod.outlook.com (20.179.30.27) by VE1PR08MB4720.eurprd08.prod.outlook.com (10.255.115.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.12; Tue, 7 Jan 2020 05:42:43 +0000 Received: from VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::29eb:a1be:8f8f:fae2]) by VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::29eb:a1be:8f8f:fae2%7]) with mapi id 15.20.2602.015; Tue, 7 Jan 2020 05:42:43 +0000 From: Honnappa Nagarahalli To: "Ananyev, Konstantin" , "olivier.matz@6wind.com" , "sthemmin@microsoft.com" , "jerinj@marvell.com" , "Richardson, Bruce" , "david.marchand@redhat.com" , "pbhagavatula@marvell.com" CC: "dev@dpdk.org" , Dharmik Thakkar , Ruifeng Wang , Gavin Hu , nd , nd Thread-Topic: [PATCH v7 15/17] test/ring: adjust run-on-all-cores perf test cases Thread-Index: AQHVwY48WCR21Un0uUyGWOuhzM1NV6fet1Mw Date: Tue, 7 Jan 2020 05:42:42 +0000 Message-ID: References: <20190906190510.11146-1-honnappa.nagarahalli@arm.com> <20191220044524.32910-1-honnappa.nagarahalli@arm.com> <20191220044524.32910-16-honnappa.nagarahalli@arm.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: e378be2e-9ad1-4a19-adb9-bcd421b192d2.0 x-checkrecipientchecked: true Authentication-Results-Original: 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-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 44a2855e-2daf-4ca4-00f4-08d793346f42 X-MS-TrafficTypeDiagnostic: VE1PR08MB4720:|VE1PR08MB4720:|AM0PR08MB2978: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:5236;OLM:5236; x-forefront-prvs: 027578BB13 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(376002)(136003)(39860400002)(366004)(346002)(396003)(199004)(189003)(66446008)(66476007)(9686003)(2906002)(4744005)(64756008)(478600001)(4326008)(7696005)(66946007)(55016002)(66556008)(76116006)(26005)(186003)(6506007)(110136005)(316002)(8936002)(54906003)(33656002)(52536014)(71200400001)(8676002)(86362001)(81166006)(5660300002)(81156014); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR08MB4720; H:VE1PR08MB5149.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: mGzh6/4kUARGvl62+bct0EuWtesQj4YmyKiLJRIGd5MCUXN1x1OCFPLf8BuWnAEWzn1bmTomkdvcW3P9VV7nnxCx9VKaYxXNKOXExzdtyDdPYw61qBiLRVhx3SQJkeE7mThZc8d5ha2b+40vxw4IVQ5frcb2BX+ybHfARfXyW9Kix57QyNLPgJmXfejnsuwoTddH6D7VimKF30cjsUQUNcYR+oqDKAtA/ZojT+c+uo6cuanbXDD2Cr19yg0evjnqziZ5tYcofapZACHC0gcZKH+kbH3hReGVGZ6qqZl0is+mzxbdbKAk/nRfED3macj0JcrjDWWTEboiFvC27SgRxro3WUh3NEDahUDXuGRE0+LtP6qLlrQ9rHbbhOSBy+XBF7kxOR/iAV4FvPo30qk6445v6GUefsocvE2fH/3mqOH3jDOIQFXYpX4v9OQ+l4RV Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB4720 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Honnappa.Nagarahalli@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT017.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(396003)(136003)(39860400002)(199004)(189003)(6506007)(110136005)(26005)(70586007)(86362001)(70206006)(81166006)(81156014)(54906003)(26826003)(356004)(55016002)(8676002)(316002)(186003)(8936002)(336012)(2906002)(33656002)(5660300002)(52536014)(9686003)(4326008)(7696005)(478600001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB2978; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; A:1; MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: ec39b21a-50e4-4827-f6e0-08d793346a90 NoDisclaimer: True X-Forefront-PRVS: 027578BB13 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WzVg3arrIDIY269buiVqMSR3ZSWSiw38RMQpmItUefEFgC0qQLJ4gKmCv/E5tJ7IgY1gYXzGk5Bst08tLMJFz/mTxYg5HZtudO3oyQqHdECwVTRYZQIriZmg2b8fE4Q+H+a4JZ4NgeYlxSurGMIy+9OM7O1Zd6NMlB9F5pTsYYfmjoJy7rrudmkCd3XCOePiTIvL2j637o2RIy6RK6ZwedWypIgTwwHBrOngbOFk/YnhlElrBIteZG07VOCqn9tCjLNKTMqGRhxy5vT0i4XZTUt26t2dz6y/ZdbaHawpkjmELqbFCyVmlbIVPK58nTC690vWkkq9yG/1gMLfw9ZIwfAeDIajHSmefPHeDrV4PaTrpwUGZo2ZBHG4HLJR59kRCRknSygeS5oJ7xTa+JfLT+Qlu2d9+NDV6Dsec5iaMG468chF+04XB8LYkDRHRbkz X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jan 2020 05:42:50.9853 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 44a2855e-2daf-4ca4-00f4-08d793346f42 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB2978 Subject: Re: [dpdk-dev] [PATCH v7 15/17] test/ring: adjust run-on-all-cores perf test cases 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 > > > > Adjust run-on-all-cores test case to use legacy APIs. > > > > Signed-off-by: Honnappa Nagarahalli > > Reviewed-by: Gavin Hu > > --- > > app/test/test_ring_perf.c | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/app/test/test_ring_perf.c b/app/test/test_ring_perf.c > > index b893b5779..fb95e4f2c 100644 > > --- a/app/test/test_ring_perf.c > > +++ b/app/test/test_ring_perf.c > > @@ -520,6 +520,9 @@ test_ring_perf(void) > > dequeue_bulk) < 0) > > return -1; > > } > > + printf("\n### Testing using all slave nodes ###\n"); > > + if (run_on_all_cores(r) < 0) > > + return -1; > > rte_ring_free(r); > > > > TEST_RING_CREATE(RING_NAME, 16, RING_SIZE, rte_socket_id(), 0, > r); > > @@ -567,9 +570,6 @@ test_ring_perf(void) > > return -1; > > } > > > > - printf("\n### Testing using all slave nodes ###\n"); > > - run_on_all_cores(r); > > - >=20 > No run_on_all_cores() for 16B elems case? Ok, I can add. >=20 > > rte_ring_free(r); > > > > return 0; > >