From patchwork Fri Sep 6 10:26:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ruifeng Wang X-Patchwork-Id: 58821 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7472A1F273; Fri, 6 Sep 2019 12:26:26 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by dpdk.org (Postfix) with ESMTP id 17A5B1F26E for ; Fri, 6 Sep 2019 12:26:24 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E445C1570; Fri, 6 Sep 2019 03:26:23 -0700 (PDT) Received: from net-arm-c2400-02.shanghai.arm.com (net-arm-c2400-02.shanghai.arm.com [10.169.40.42]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 54A503F59C; Fri, 6 Sep 2019 03:26:22 -0700 (PDT) From: Ruifeng Wang To: tomasz.kantecki@intel.com Cc: dev@dpdk.org, gavin.hu@arm.com, honnappa.nagarahalli@arm.com, nd@arm.com, Ruifeng Wang Date: Fri, 6 Sep 2019 18:26:13 +0800 Message-Id: <20190906102615.36942-1-ruifeng.wang@arm.com> X-Mailer: git-send-email 2.17.1 Subject: [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" 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. Patch 2/2 has dependency on RCU QSBR integration with LPM library: http://patches.dpdk.org/project/dpdk/list/?series=6288 Ruifeng Wang (2): examples/l3fwd: add lock-free option for l3fwd examples/l3fwd: integrate RCU QSBR for LPM mode 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(-)