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 D6B6FA0471 for ; Mon, 9 Sep 2019 04:39:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DBBD61EAA1; Mon, 9 Sep 2019 04:39:01 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70089.outbound.protection.outlook.com [40.107.7.89]) by dpdk.org (Postfix) with ESMTP id 23CD31EA9A for ; Mon, 9 Sep 2019 04:39:00 +0200 (CEST) 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=kNLTJyufVDK0gReFE3ZpGl1z3LpNhssmbsJc7fgGcHs=; b=8MQdr6khcpxC0wSMbJyUfXdCUzBh9gzaOut3BMU3wuau22Fx9tTVA8iSqTdot5L3F5D5DuEc7Hl9M/7fBpdL6+50ybiJCTd6brYYDN3WgDezRQjo+9LMs1rZEm6idfMDFyK+E+ot+2XZCmm5svW0AlhoBBTdhetbWUkMAXZXKZc= Received: from VI1PR0802CA0037.eurprd08.prod.outlook.com (2603:10a6:800:a9::23) by VI1PR08MB4208.eurprd08.prod.outlook.com (2603:10a6:803:ec::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2241.15; Mon, 9 Sep 2019 02:38:57 +0000 Received: from VE1EUR03FT030.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::204) by VI1PR0802CA0037.outlook.office365.com (2603:10a6:800:a9::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2241.15 via Frontend Transport; Mon, 9 Sep 2019 02:38:57 +0000 Authentication-Results: spf=temperror (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=temperror action=none header.from=arm.com; Received-SPF: TempError (protection.outlook.com: error in processing during lookup of arm.com: DNS Timeout) Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT030.mail.protection.outlook.com (10.152.18.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2241.14 via Frontend Transport; Mon, 9 Sep 2019 02:38:55 +0000 Received: ("Tessian outbound 802e738ad7e5:v27"); Mon, 09 Sep 2019 02:38:53 +0000 X-CR-MTA-TID: 64aa7808 Received: from 7f78e9465b40.2 (cr-mta-lb-1.cr-mta-net [104.47.9.59]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id AA990089-ECB4-4B3E-95E5-1690E71FD203.1; Mon, 09 Sep 2019 02:38:48 +0000 Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-ve1eur03lp2059.outbound.protection.outlook.com [104.47.9.59]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 7f78e9465b40.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 09 Sep 2019 02:38:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ObW84c8WJYNle10lt4U/HZ3Mz4FECABFA+RXtzBOYt3Di6K8wl44hTL/l6JTgOgibaDV7ScycxrCEQC+abqkBujE7DNYR7NXiYP5x8ovbHASduO9IEphCKv2/Cnmaq0RzgqGFUjq2cBu98MVDxktVjF+stUzX/0fL7eS6FcuiDG7KW8DmK2JaibvAtiFLQGuI/76uaoe4njhDAAGvFb+N5Rc2q+qG7EA05IAhnmyCU2Z/N2RPBMLk2Bs9iD4fxMYlHW8S+9Qh8TVjuBnrjLkYbw16+ozJot1K5H9DeVaRDBsrfbpOgYGXLePnsEzLSGBFf/bY9Pn/G8xdN0cALrafg== 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=kNLTJyufVDK0gReFE3ZpGl1z3LpNhssmbsJc7fgGcHs=; b=ecDXkJIxi3V9vGCpbnLqjYXLEHDwiOR0WvYK52WsC6YkbEbSp88rMRhkXCtRoGzUE3UYeua94Yqx+gK4a25sICKVnhXbQHgtKY5SbKQmuYYmSB6pnSFVfIRLnDN//fBcwKUyBieClb3NaPiyMAhBmf1IvHnPFuIz4oh6lqRC7gXD7FxjMQS1kfVuJ0t9c3ZxaEEW7gtoyUIdkMURLOay4RtwYU/d5Wu06mnPtvlNxSGrR+VB7Zd+hUIQ3YY98LJ552TAyhk8ZAXlcN14F+58ZNWZubYouv28KaapxVmom0qGwNUr0z+de4hfVc8n2TYbJ0F/VBFnxtvMVmS0P6OxCg== 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=kNLTJyufVDK0gReFE3ZpGl1z3LpNhssmbsJc7fgGcHs=; b=8MQdr6khcpxC0wSMbJyUfXdCUzBh9gzaOut3BMU3wuau22Fx9tTVA8iSqTdot5L3F5D5DuEc7Hl9M/7fBpdL6+50ybiJCTd6brYYDN3WgDezRQjo+9LMs1rZEm6idfMDFyK+E+ot+2XZCmm5svW0AlhoBBTdhetbWUkMAXZXKZc= Received: from AM0PR08MB3986.eurprd08.prod.outlook.com (20.178.118.90) by AM0PR08MB5155.eurprd08.prod.outlook.com (10.255.31.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2241.15; Mon, 9 Sep 2019 02:38:46 +0000 Received: from AM0PR08MB3986.eurprd08.prod.outlook.com ([fe80::8194:f229:b0d2:b5df]) by AM0PR08MB3986.eurprd08.prod.outlook.com ([fe80::8194:f229:b0d2:b5df%7]) with mapi id 15.20.2241.018; Mon, 9 Sep 2019 02:38:46 +0000 From: "Ruifeng Wang (Arm Technology China)" To: Stephen Hemminger CC: "tomasz.kantecki@intel.com" , "dev@dpdk.org" , "Gavin Hu (Arm Technology China)" , Honnappa Nagarahalli , nd , nd Thread-Topic: [dpdk-dev] [PATCH 0/2] add lock-free mode for l3fwd Thread-Index: AQHVZJ2RE3+uO/G+WUmOLRh3JRpdcqce59cAgAOxcYA= Date: Mon, 9 Sep 2019 02:38:46 +0000 Message-ID: References: <20190906102615.36942-1-ruifeng.wang@arm.com> <20190906122846.5b9a35ae@xps13> In-Reply-To: <20190906122846.5b9a35ae@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: b602fa33-b035-4b3f-b2cf-56af549d1a3b.0 x-checkrecipientchecked: true Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Ruifeng.Wang@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: 46ceba39-19b8-4ecb-af41-08d734cedc17 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam-Untrusted: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:AM0PR08MB5155; X-MS-TrafficTypeDiagnostic: AM0PR08MB5155:|AM0PR08MB5155:|VI1PR08MB4208: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:8273;OLM:8273; x-forefront-prvs: 01559F388D X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(366004)(136003)(396003)(346002)(376002)(13464003)(199004)(189003)(81166006)(476003)(14444005)(316002)(256004)(6916009)(186003)(33656002)(6246003)(54906003)(9686003)(64756008)(66446008)(6436002)(66476007)(86362001)(76116006)(66556008)(446003)(7696005)(66946007)(26005)(229853002)(2906002)(71190400001)(71200400001)(6116002)(3846002)(53936002)(99286004)(305945005)(76176011)(55236004)(7736002)(55016002)(6506007)(53546011)(102836004)(74316002)(52536014)(486006)(11346002)(5660300002)(25786009)(478600001)(4326008)(14454004)(8676002)(81156014)(66066001)(8936002)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB5155; H:AM0PR08MB3986.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-Message-Info-Original: DtQHC9gfQn0Lmsi06IUSQnHZmjmbGWPvb9XvOeDLhAzaQs/ZRk8K5gcWNCEdztJcc35xj71qQVitbozf16dzD3KeYWMHMLs6YFF6FXi9369S9dxsCQRZ+IpimepyP3RNjtPMFeFarTFn+GNwKEUEx6JU5a34T6AydclnQF2YwQhPpMOc/iAZNzVAL3kxJAdM8WYuKs00iQm1JpKY8wTL1reqhn13G7sGaXgU3ZDhVrmmRNON2f1NEmv+72XP7Hz/QVZywJBDyYJirMqCq7uD/XcBGpY9WXkAK6V+dzjTFVyvn8ABJvIa7CCugrQz/SpCQ7mL0Hkh8ldbfRHSrxqdF8j9aFI19iNjeBBazf/m0JyxOEvqPM+WvaIfMZxWyMcooa9P75mhdIavrBnEe/Hse0YhJB7wJARbkGqpJ+fFwu0= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5155 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Ruifeng.Wang@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT030.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)(136003)(376002)(39860400002)(396003)(2980300002)(13464003)(199004)(189003)(11346002)(446003)(7696005)(126002)(97756001)(14444005)(356004)(305945005)(478600001)(74316002)(7736002)(52536014)(36906005)(14454004)(46406003)(50466002)(26826003)(54906003)(316002)(5660300002)(33656002)(3846002)(6116002)(23726003)(66066001)(47776003)(76130400001)(22756006)(2906002)(70586007)(70206006)(9686003)(229853002)(6862004)(6246003)(86362001)(8676002)(336012)(102836004)(76176011)(63350400001)(63370400001)(26005)(6506007)(53546011)(99286004)(476003)(8746002)(4326008)(8936002)(486006)(55016002)(81166006)(186003)(81156014)(25786009)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4208; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:TempError; 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: 7728718c-7241-44cd-8a7e-08d734ced6c5 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(710020)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VI1PR08MB4208; NoDisclaimer: True X-Forefront-PRVS: 01559F388D X-Microsoft-Antispam-Message-Info: BEFWmY9V441vh/1YvnTcQ/vxfO9VI/YJpiloovAbmxFLZfnONmEYZ/6ykE+mWxK/Ccri4eXt+Udvq9NiFq8JCZI16jVjZayGIFNQo1PfFpkTklv9ttUmDk0b06kkcQ+IJV2T6n8l4XmJIR2mQMYBZ7uQi2hHoW0eY/RdNidZuzllp8ef6U3p/RQ7G3xmbwWIsFhLmRaZNe8uWnZYciqihXK1qLaz2BXA/cnvz6KAb+W/UYjCeOW4JZ6jvk5ldZ+qEo/LBHRh33hZA2DUGeg07xdGT/43kzMXJLv/UOWBwCAyuv7Fj/a57DbCjRqOYPYZ6/oagCm1kAz6zy4bAAKVRu6IRj9apEg19ZtCxlg1GQnqIxLhRMtMY16dTN596l3rJzWI5G+LQBBa7Oq8QlvOsFXHdUWfUplONkL5aISl3kU= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Sep 2019 02:38:55.5230 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 46ceba39-19b8-4ecb-af41-08d734cedc17 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: VI1PR08MB4208 Subject: Re: [dpdk-dev] [PATCH 0/2] add lock-free mode for l3fwd 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" > -----Original Message----- > From: Stephen Hemminger > Sent: Saturday, September 7, 2019 01:29 > To: Ruifeng Wang (Arm Technology China) > Cc: tomasz.kantecki@intel.com; dev@dpdk.org; Gavin Hu (Arm Technology > China) ; Honnappa Nagarahalli > ; nd > Subject: Re: [dpdk-dev] [PATCH 0/2] add lock-free mode for l3fwd >=20 > On Fri, 6 Sep 2019 18:26:13 +0800 > Ruifeng Wang wrote: >=20 > > Lock-free mode is supported by hash library and LPM library. > > Now we add an option for l3fwd example to enable the lock-free mode. > > Necessary preparation steps are added to use lock-free LPM mode. >=20 > If lock-free mode works it should just do that. > Having options mean that there are two test cases; which inevitably leads= to > one of them being broken. Agree that having options will add scenarios that being tested. Since these different scenarios are supported by Hash / LPM library, the te= sts on them should be valid.=20 As l3fwd application is always used to benchmark data path performance, mak= e both supported modes available can help user to easily collect data and com= pare. In the long run, we can make lock-free mode the default used by l3fwd when = it is fine tuned.=20