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 2102AA046B for ; Thu, 22 Aug 2019 17:53:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 957411BF81; Thu, 22 Aug 2019 17:53:14 +0200 (CEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140041.outbound.protection.outlook.com [40.107.14.41]) by dpdk.org (Postfix) with ESMTP id 7D6811BF7A for ; Thu, 22 Aug 2019 17:53:12 +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=ur2iWYWziVnrafLMCRoCJ5gVYfP7gKwGdD8Zq7J76og=; b=bnvnDo+R/nalbbv55giEx1OVgi/1wZTsEH0OYYmcXkvY3PKEvK5eHRE6E6HK4DJZ5eQXgEnMhbTclcM1LDLo0aXIjMMekr/O9+l8Rhmya4ixfTVNvl6/K15LzUlGVRH4hSBwnAegw9l94nlXqvkpfddfm9qJnWFGWko41Mqhffw= Received: from AM6PR08CA0002.eurprd08.prod.outlook.com (2603:10a6:20b:b2::14) by HE1PR0801MB1850.eurprd08.prod.outlook.com (2603:10a6:3:86::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2178.18; Thu, 22 Aug 2019 15:53:10 +0000 Received: from AM5EUR03FT018.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::204) by AM6PR08CA0002.outlook.office365.com (2603:10a6:20b:b2::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.14 via Frontend Transport; Thu, 22 Aug 2019 15:53:10 +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 AM5EUR03FT018.mail.protection.outlook.com (10.152.16.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.13 via Frontend Transport; Thu, 22 Aug 2019 15:53:09 +0000 Received: ("Tessian outbound 8b8b6ad907d7:v27"); Thu, 22 Aug 2019 15:53:04 +0000 X-CR-MTA-TID: 64aa7808 Received: from aaefa38e7a47.1 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.1.56]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id B0E6BE4A-66A3-4584-A160-05C856FFC159.1; Thu, 22 Aug 2019 15:52:59 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01lp2056.outbound.protection.outlook.com [104.47.1.56]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id aaefa38e7a47.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 22 Aug 2019 15:52:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MH1G2xoC32RatEwp0rl1GXQQ8MB9dIiZF5dm3JlGDddAvDWUUI3WfIwpcO03VU6VGsOfLS4zHBcaOTgekiEPOhgcj1VqWH8NZuXA97i67dhWmLwx2Ed2TvXZOWDfpfqg4NSGcYowHQkR9H8FPhGd0CX2My0S0nGAzauEs9/svjwcGWlp4uo6OWcNd2zLEOomZtiIFq9KAFpcfSLdYIei6F0ketuSxcZBTWl/XI/Q7cpHaAlXBvXXbSNTTKIu+ih3BJKymL5XvPTIc+7pDWC8qgJ6SVC1ajBcQkmjGVQHzTMpSQGkZgNLMYzJxTAmtBLTayoUktGrJv88EGpAKzNZGg== 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=ur2iWYWziVnrafLMCRoCJ5gVYfP7gKwGdD8Zq7J76og=; b=AiAZZ+hz73qNp4p3AjbtjECa8IvEhv3V8z2sSeR3g5Vs+ZPFtIB7NoMLWP+jaoP/U5JQEKt4N9qfl0h+jJQJzZ83gUTP6z9TAb/FJFO5ZLfY6oTpAV9YkkY+ollKocpaNzfQ9Ix9pQGo/xqLVYsfiDHC5xWahCHHXDBBk52uz1r1o7jnhK/tt7VKGOUfO4R4UvtQejszH/W0yICU+Q/E61Ckp2eA5xIM2nQVW0ZZ4+2RTmHgnvuJPzmDRLjhrnQ9jSKDvANN5J7eevIDkMJ2kNNC1hkAebdjrPvYuALAD6ddEOPFGhYEAz3wcG0ubTjKb28huVrKTHqgge/RZd+hqg== 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=ur2iWYWziVnrafLMCRoCJ5gVYfP7gKwGdD8Zq7J76og=; b=bnvnDo+R/nalbbv55giEx1OVgi/1wZTsEH0OYYmcXkvY3PKEvK5eHRE6E6HK4DJZ5eQXgEnMhbTclcM1LDLo0aXIjMMekr/O9+l8Rhmya4ixfTVNvl6/K15LzUlGVRH4hSBwnAegw9l94nlXqvkpfddfm9qJnWFGWko41Mqhffw= Received: from VE1PR08MB5149.eurprd08.prod.outlook.com (20.179.30.152) by VE1PR08MB4751.eurprd08.prod.outlook.com (10.255.112.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.16; Thu, 22 Aug 2019 15:52:56 +0000 Received: from VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::a8af:a9b8:4597:4128]) by VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::a8af:a9b8:4597:4128%3]) with mapi id 15.20.2178.020; Thu, 22 Aug 2019 15:52:56 +0000 From: Honnappa Nagarahalli To: "Ruifeng Wang (Arm Technology China)" , "bruce.richardson@intel.com" , "vladimir.medvedkin@intel.com" , "olivier.matz@6wind.com" CC: "dev@dpdk.org" , Dharmik Thakkar , nd , "Ruifeng Wang (Arm Technology China)" , "stephen@networkplumber.org" , Konstantin Ananyev , nd Thread-Topic: [RFC PATCH 0/3] RCU integration with LPM library Thread-Index: AQHVWLPPdF/fxWcrGUSuk4wsJSJ2sacHUWAw Date: Thu, 22 Aug 2019 15:52:56 +0000 Message-ID: References: <20190822063457.41596-1-ruifeng.wang@arm.com> In-Reply-To: <20190822063457.41596-1-ruifeng.wang@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 7c805440-6874-4dd1-9356-9d1c03b8d5dc.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-Correlation-Id: dc75e7f6-fb37-4855-a4f5-08d72718d451 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam-Untrusted: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600166)(711020)(4605104)(1401327)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:VE1PR08MB4751; X-MS-TrafficTypeDiagnostic: VE1PR08MB4751:|HE1PR0801MB1850: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:4502;OLM:4502; x-forefront-prvs: 01371B902F X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(376002)(396003)(39860400002)(136003)(366004)(346002)(13464003)(199004)(189003)(76116006)(6246003)(186003)(14454004)(25786009)(64756008)(9686003)(66556008)(5660300002)(66476007)(66946007)(66446008)(53936002)(7736002)(76176011)(110136005)(99286004)(54906003)(305945005)(74316002)(6436002)(316002)(7696005)(26005)(2201001)(478600001)(81156014)(8676002)(6506007)(81166006)(86362001)(8936002)(33656002)(256004)(53546011)(2501003)(3846002)(2906002)(4326008)(6116002)(66066001)(486006)(102836004)(476003)(446003)(11346002)(52536014)(229853002)(55016002)(71200400001)(71190400001); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR08MB4751; 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-Message-Info-Original: s6p3ivWlGyzeI9yQG4XOkjFdEi5FCmaOMgIagO1TQG30lcPvOrzfcmz3Kc96Km5Sv254zLbyT2slDjOYAXRj8I4v/e0k5xGNQbuzf0W1p8DvmJPcrbJXMUgbsULC5sJa3ZKUfa32CrpngsDZ+X69Jp2CWeZ1ZqD/qH+O4Vvogpv8wFXgKSiZqF4mpJ8prO7WycXGW+5iSa2e8H/8h3iW37KBiO4RJCN7MMRrNhiscxopMuI3aGuVtfMXAdfo3S10PQ+G4ri7wHODlQ7T5sCdL8mYKtUo8qc7XwtNqIergiSuLJxXkkvGeJjQOMzC9QbB2+GUGdEwcKjECWUm8gp/hL8XVRwyJmSDW34lXp6Owxf/k5RVql/hJ866MUVNfr8QgqzdG3laQngET15tSih6MiuQysnS9PJAkjIVq/TcGAQ= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB4751 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Honnappa.Nagarahalli@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT018.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)(376002)(136003)(396003)(39860400002)(346002)(2980300002)(13464003)(199004)(189003)(81166006)(8676002)(4326008)(25786009)(36906005)(81156014)(110136005)(26826003)(356004)(7696005)(2501003)(8746002)(316002)(229853002)(46406003)(76176011)(8936002)(54906003)(99286004)(478600001)(66066001)(50466002)(14454004)(3846002)(6116002)(2906002)(47776003)(23726003)(74316002)(76130400001)(86362001)(102836004)(6246003)(305945005)(7736002)(55016002)(52536014)(97756001)(5660300002)(186003)(336012)(11346002)(486006)(63370400001)(26005)(476003)(63350400001)(446003)(70586007)(70206006)(126002)(2201001)(53546011)(6506007)(9686003)(33656002)(22756006); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0801MB1850; 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: 4847c411-a4a2-415f-5cab-08d72718ccef X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600166)(710020)(711020)(4605104)(1401327)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:HE1PR0801MB1850; NoDisclaimer: True X-Forefront-PRVS: 01371B902F X-Microsoft-Antispam-Message-Info: 3zECbLGmNBIJCAtn3cVej02cjPBrlzKEzcmYLbvVfmWAcvvjK/YNdbXzQiNivBqdjNdCc8CAir9+TkOsbFBeor3KSB/756cHZE7OJpSRUj0sfyxkWkDhvEkJgltZH3Gxz52h5aOyDtOwlgsve+6PMw48pPkUPueCw2b5WI98tNelADJRkdOLhvrFSZCiMCviDn2ObWVvmrGWhAfkDiZmzIReQvufHSK4VqQwFynzAekiochV6B/E1jhk2M8xt1F06x4wKn1o7GWo5WfCaIEx/5Cfh0xRfOKBXq1UV1M/ekmwi8H02WVirQaLhL4OqwJYhmWqwJx0QRW9un8QI39AFJ7ysVDRGKXDiGy7aWz3iZJ7mQMJjOvcKdJPly9cuXZYrQcGuAaRdLUCnQLvGvWY5aDzvWZRDTaH/oHnCEL/VqI= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Aug 2019 15:53:09.0262 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dc75e7f6-fb37-4855-a4f5-08d72718d451 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: HE1PR0801MB1850 Subject: Re: [dpdk-dev] [RFC PATCH 0/3] RCU integration with LPM library 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" + Stephen, Konstantin - for your feedback on the RCU integration design. > -----Original Message----- > From: Ruifeng Wang > Sent: Thursday, August 22, 2019 1:35 AM > To: bruce.richardson@intel.com; vladimir.medvedkin@intel.com; > olivier.matz@6wind.com > Cc: dev@dpdk.org; Honnappa Nagarahalli ; > Dharmik Thakkar ; nd ; Ruifeng > Wang (Arm Technology China) > Subject: [RFC PATCH 0/3] RCU integration with LPM library >=20 > This patchset integrates RCU QSBR support with LPM library. >=20 > Document is added with suggested design of integrating RCU library with o= ther > libraries in DPDK. > As an example, LPM library adds the integration. RCU is used to safely fr= ee tbl8 > groups that can be recycled. Table will not be reclaimed or reused until = reader > finished referencing it. >=20 > New API rte_lpm_rcu_qsbr_add is introduced for application to register a = RCU > variable that LPM library will use. >=20 > New API rte_ring_peek is introduced to help on management of reclaiming > FIFO queue. >=20 >=20 > Honnappa Nagarahalli (1): > doc/rcu: add RCU integration design details >=20 > Ruifeng Wang (2): > lib/ring: add peek API > lib/lpm: integrate RCU QSBR >=20 > doc/guides/prog_guide/rcu_lib.rst | 51 +++++++ > lib/librte_lpm/Makefile | 3 +- > lib/librte_lpm/meson.build | 2 + > lib/librte_lpm/rte_lpm.c | 218 +++++++++++++++++++++++++++-- > lib/librte_lpm/rte_lpm.h | 22 +++ > lib/librte_lpm/rte_lpm_version.map | 6 + > lib/librte_ring/rte_ring.h | 30 ++++ > lib/meson.build | 3 +- > 8 files changed, 320 insertions(+), 15 deletions(-) >=20 > -- > 2.17.1