Message ID | 20210218152056.1893590-1-conor.walsh@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0293BA0524; Thu, 18 Feb 2021 16:21:03 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 804604003D; Thu, 18 Feb 2021 16:21:03 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 3EA224003C for <dev@dpdk.org>; Thu, 18 Feb 2021 16:21:01 +0100 (CET) IronPort-SDR: zvEJ2VU+hW8+MQB+ly5VXS4+SB8QQMPmemqkYuhlMBkMk0ukdfqs0zG4UjxrCqo95vTIVbPXcR swTShAYaZoxw== X-IronPort-AV: E=McAfee;i="6000,8403,9898"; a="183654444" X-IronPort-AV: E=Sophos;i="5.81,187,1610438400"; d="scan'208";a="183654444" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Feb 2021 07:20:59 -0800 IronPort-SDR: iuQrDUyeece9WTAzyqeyuYjNf49Y0rfgBNgoXqxeDaLRcxwTwEOGAorC162H2CSVHSWwoLG3GI Z2XG7ZibyJ4Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,187,1610438400"; d="scan'208";a="364859322" Received: from silpixa00400466.ir.intel.com ([10.237.213.210]) by orsmga006.jf.intel.com with ESMTP; 18 Feb 2021 07:20:58 -0800 From: Conor Walsh <conor.walsh@intel.com> To: jerinj@marvell.com, stephen@networkplumber.org, bernard.iremonger@intel.com, konstantin.ananyev@intel.com, vladimir.medvedkin@intel.com Cc: dev@dpdk.org, Conor Walsh <conor.walsh@intel.com> Date: Thu, 18 Feb 2021 15:20:51 +0000 Message-Id: <20210218152056.1893590-1-conor.walsh@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210218121552.1888092-1-conor.walsh@intel.com> References: <20210218121552.1888092-1-conor.walsh@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 0/5] examples/l3fwd: add FIB lookup method to l3fwd X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
examples/l3fwd: add FIB lookup method to l3fwd
|
|
Message
Conor Walsh
Feb. 18, 2021, 3:20 p.m. UTC
Currently the l3fwd sample app supports LPM and EM lookup methods this patchset implements the FIB library as another lookup method for l3fwd. The flag '-F' has been added to the applications options to allow the user to use this lookup method. --- v2: added socket header file to fix FreeBSD build. Conor Walsh (5): examples/l3fwd: fix LPM IPv6 subnets examples/l3fwd: move l3fwd routes to common header examples/l3fwd: add FIB infrastructure examples/l3fwd: implement FIB lookup method doc/guides/l3_forward: update documentation for FIB doc/guides/sample_app_ug/l3_forward.rst | 103 ++++- examples/l3fwd/Makefile | 2 +- examples/l3fwd/l3fwd.h | 27 +- examples/l3fwd/l3fwd_common_route.h | 48 +++ examples/l3fwd/l3fwd_event.c | 9 + examples/l3fwd/l3fwd_event.h | 1 + examples/l3fwd/l3fwd_fib.c | 489 ++++++++++++++++++++++++ examples/l3fwd/l3fwd_lpm.c | 68 +--- examples/l3fwd/main.c | 43 ++- examples/l3fwd/meson.build | 4 +- 10 files changed, 718 insertions(+), 76 deletions(-) create mode 100644 examples/l3fwd/l3fwd_common_route.h create mode 100644 examples/l3fwd/l3fwd_fib.c