From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 27CE25915 for ; Thu, 22 May 2014 22:48:57 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 22 May 2014 13:44:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.98,889,1392192000"; d="scan'208";a="545145953" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga002.jf.intel.com with ESMTP; 22 May 2014 13:49:06 -0700 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id s4MKn5Y0010812; Thu, 22 May 2014 21:49:05 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id s4MKn5Ac024797; Thu, 22 May 2014 21:49:05 +0100 Received: (from kananye1@localhost) by sivswdev02.ir.intel.com with id s4MKn5HP024793; Thu, 22 May 2014 21:49:05 +0100 From: Konstantin Ananyev To: dev@dpdk.org Date: Thu, 22 May 2014 21:48:50 +0100 Message-Id: <1400791734-24479-1-git-send-email-konstantin.ananyev@intel.com> X-Mailer: git-send-email 1.7.0.7 To: dev@dpdk.org Subject: [dpdk-dev] [PATCH 0/4] ACL library X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2014 20:48:58 -0000 The ACL library is used to perform an N-tuple search over a set of rules with multiple categories and find the best match (highest priority) for each category. This code was previously released under a proprietary license, but is now being released under a BSD license to allow its integration with the rest of the Intel DPDK codebase. Note that these patch series require other patch: "lpm: Introduce rte_lpm_lookupx4" be already installed. This patch series contains the following items: 1) librte_acl. 2) UT changes reflect latest changes in rte_acl library. 3) teat-acl: usage example and main test application for the ACL library. Provides IPv4/IPv6 5-tuple classification. 4) l3fwd-acl: demonstrates the use of the ACL library in the DPDK application to implement packet classification and L3 forwarding. app/Makefile | 1 + app/test-acl/Makefile | 45 + app/test-acl/main.c | 1029 +++++++++++++++++ app/test-acl/main.h | 50 + app/test/test_acl.c | 128 ++- config/common_linuxapp | 6 + examples/Makefile | 1 + examples/l3fwd-acl/Makefile | 56 + examples/l3fwd-acl/main.c | 2048 ++++++++++++++++++++++++++++++++++ examples/l3fwd-acl/main.h | 45 + lib/librte_acl/Makefile | 60 + lib/librte_acl/acl.h | 182 +++ lib/librte_acl/acl_bld.c | 2002 +++++++++++++++++++++++++++++++++ lib/librte_acl/acl_gen.c | 473 ++++++++ lib/librte_acl/acl_run.c | 927 +++++++++++++++ lib/librte_acl/acl_vect.h | 129 +++ lib/librte_acl/rte_acl.c | 413 +++++++ lib/librte_acl/rte_acl.h | 453 ++++++++ lib/librte_acl/rte_acl_osdep.h | 92 ++ lib/librte_acl/rte_acl_osdep_alone.h | 277 +++++ lib/librte_acl/tb_mem.c | 102 ++ lib/librte_acl/tb_mem.h | 73 ++ 22 files changed, 8549 insertions(+), 43 deletions(-) create mode 100644 app/test-acl/Makefile create mode 100644 app/test-acl/main.c create mode 100644 app/test-acl/main.h create mode 100644 examples/l3fwd-acl/Makefile create mode 100644 examples/l3fwd-acl/main.c create mode 100644 examples/l3fwd-acl/main.h create mode 100644 lib/librte_acl/Makefile create mode 100644 lib/librte_acl/acl.h create mode 100644 lib/librte_acl/acl_bld.c create mode 100644 lib/librte_acl/acl_gen.c create mode 100644 lib/librte_acl/acl_run.c create mode 100644 lib/librte_acl/acl_vect.h create mode 100644 lib/librte_acl/rte_acl.c create mode 100644 lib/librte_acl/rte_acl.h create mode 100644 lib/librte_acl/rte_acl_osdep.h create mode 100644 lib/librte_acl/rte_acl_osdep_alone.h create mode 100644 lib/librte_acl/tb_mem.c create mode 100644 lib/librte_acl/tb_mem.h -- 1.7.7.6