From patchwork Wed Sep 9 12:08:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guy Kaneti X-Patchwork-Id: 77035 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 635CBA04B1; Wed, 9 Sep 2020 14:10:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5C8D21BF8D; Wed, 9 Sep 2020 14:10:23 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 621EB1B9B7 for ; Wed, 9 Sep 2020 14:10:21 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 089C64ka019070; Wed, 9 Sep 2020 05:10:20 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=a1Ryf+0/1XoXCeNkd5lvSh1pFgY4howBgb96RBpCNjQ=; b=RkamMJBlCqGX07xw5ECdfPyq7e6K6JjogSoJ3pdCwRdq84ReUbWWFGtOtLD8D9j7PJ7Y +jJ6jK+Kb8gkk2YCVBjfjOucL6CgC+0JyHMFMjwPL5OZ3gb7UucNzxx7mGDCtCeXXrVH +UftCoB09ESZa1k+HiIo5blrrTTsTzDZsA8q98FRYQHqk56tmDmvYz1hs8tV640PlmM7 4Ox1iM9agHx3gbm/9dgsTodrttjsoXnTK0bIbtpJU5mA0Xx3IWZPLVII3mtQ7MAnvwIc 2ROermNrgd9y3sUYXqzclkVBd4Bmf7vRnDaV8AqugfUJio6w6ROJGATD1IHDAmzXIy3S 0A== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0b-0016f401.pphosted.com with ESMTP id 33ccvr6b6r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 09 Sep 2020 05:10:20 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 9 Sep 2020 05:10:19 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 9 Sep 2020 05:10:18 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 9 Sep 2020 05:10:18 -0700 Received: from vvenus124.il.marvell.com (unknown [10.5.116.64]) by maili.marvell.com (Postfix) with ESMTP id C14FD3F704F; Wed, 9 Sep 2020 05:10:15 -0700 (PDT) From: To: , , , CC: , , , , Date: Wed, 9 Sep 2020 15:08:51 +0300 Message-ID: <20200909120853.11715-1-guyk@marvell.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200908123144.26444-3-guyk@marvell.com> References: <20200908123144.26444-3-guyk@marvell.com> MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-09-09_06:2020-09-09, 2020-09-09 signatures=0 Subject: [dpdk-dev] [PATCH v2 0/2] Add example l3fwd-regex 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" From: Guy Kaneti The L3 Forwarding with Regex application is a simple example of packet processing using DPDK Regex framework. The application performs L3 LPM based forwarding while using Regex framework for pre-filtering decision. v2: * Rebase. * Add release notes. * fix spelling mistake * fix build error Guy Kaneti (2): examples/l3fwd-regex: add regex based l3fwd doc: add l3fwd-regex application user guide MAINTAINERS | 3 + doc/guides/rel_notes/release_20_11.rst | 4 + doc/guides/sample_app_ug/index.rst | 1 + doc/guides/sample_app_ug/intro.rst | 4 + doc/guides/sample_app_ug/l3_forward_regex.rst | 235 ++++ examples/l3fwd-regex/l3fwd.h | 207 +++ examples/l3fwd-regex/l3fwd_lpm.c | 484 +++++++ examples/l3fwd-regex/l3fwd_regex.c | 487 +++++++ examples/l3fwd-regex/l3fwd_regex.h | 38 + examples/l3fwd-regex/main.c | 1117 +++++++++++++++++ examples/l3fwd-regex/meson.build | 10 + examples/meson.build | 2 +- 12 files changed, 2591 insertions(+), 1 deletion(-) create mode 100644 doc/guides/sample_app_ug/l3_forward_regex.rst create mode 100644 examples/l3fwd-regex/l3fwd.h create mode 100644 examples/l3fwd-regex/l3fwd_lpm.c create mode 100644 examples/l3fwd-regex/l3fwd_regex.c create mode 100644 examples/l3fwd-regex/l3fwd_regex.h create mode 100644 examples/l3fwd-regex/main.c create mode 100644 examples/l3fwd-regex/meson.build