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 1408CA2EDB for ; Fri, 6 Sep 2019 12:35:17 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E21321F260; Fri, 6 Sep 2019 12:35:15 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 795BD1F218 for ; Fri, 6 Sep 2019 12:35:14 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Sep 2019 03:35:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,472,1559545200"; d="scan'208";a="190783952" Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96]) by FMSMGA003.fm.intel.com with ESMTP; 06 Sep 2019 03:35:12 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.73]) by IRSMSX154.ger.corp.intel.com ([169.254.12.14]) with mapi id 14.03.0439.000; Fri, 6 Sep 2019 11:35:11 +0100 From: "Ananyev, Konstantin" To: Ruifeng Wang , "Kantecki, Tomasz" CC: "dev@dpdk.org" , "gavin.hu@arm.com" , "honnappa.nagarahalli@arm.com" , "nd@arm.com" Thread-Topic: [dpdk-dev] [PATCH 0/2] add lock-free mode for l3fwd Thread-Index: AQHVZJ2V0VFLih9NLEC8cBERfEm4mKcecv3g Date: Fri, 6 Sep 2019 10:35:10 +0000 Message-ID: <2601191342CEEE43887BDE71AB977258019192657B@irsmsx105.ger.corp.intel.com> References: <20190906102615.36942-1-ruifeng.wang@arm.com> In-Reply-To: <20190906102615.36942-1-ruifeng.wang@arm.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNmVlZmMzY2UtYzE5MC00MGZiLWFkNTQtMWI3YTBlZjQ5ZDg3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoic3lCcys2V0x6QnF5RDZwU0F6Zmk5d1NcL0wxN1NQajVCTmVvWW9PNEJOOHUrRnJJYzJkMWhhTmNCa1ZaejFTekIifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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" Hi, >=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. Can I ask about the purpose of these changes? Right now in l3fwd both lpm and hash tables are static and hard-coded. we initialize them at startup and then just do read from them. Do you plan to enhance l3fwd with ability to dynamically update tables cont= ents? Though fir that we first have to get rid of hard-coded values (config file = or so). Konstantin >=20 > Patch 2/2 has dependency on RCU QSBR integration with LPM library: > http://patches.dpdk.org/project/dpdk/list/?series=3D6288 >=20 >=20 > Ruifeng Wang (2): > examples/l3fwd: add lock-free option for l3fwd > examples/l3fwd: integrate RCU QSBR for LPM mode >=20 > doc/guides/sample_app_ug/l3_forward.rst | 3 ++ > examples/l3fwd/Makefile | 1 + > examples/l3fwd/l3fwd.h | 4 +- > examples/l3fwd/l3fwd_em.c | 10 +++- > examples/l3fwd/l3fwd_lpm.c | 72 +++++++++++++++++++++++-- > examples/l3fwd/main.c | 27 ++++++++-- > examples/l3fwd/meson.build | 1 + > 7 files changed, 108 insertions(+), 10 deletions(-) >=20 > -- > 2.17.1