From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 59EB84C6E for ; Wed, 28 May 2014 21:26:48 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 28 May 2014 12:26:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.98,929,1392192000"; d="scan'208";a="519221782" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga001.jf.intel.com with ESMTP; 28 May 2014 12:26:56 -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 s4SJQuj9017614; Wed, 28 May 2014 20:26:56 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id s4SJQuBY010838; Wed, 28 May 2014 20:26:56 +0100 Received: (from kananye1@localhost) by sivswdev02.ir.intel.com with id s4SJQtFQ010834; Wed, 28 May 2014 20:26:55 +0100 From: Konstantin Ananyev To: dev@dpdk.org Date: Wed, 28 May 2014 20:26:45 +0100 Message-Id: <1401305210-10357-1-git-send-email-konstantin.ananyev@intel.com> X-Mailer: git-send-email 1.7.0.7 To: dev@dpdk.org Subject: [dpdk-dev] [PATCHv2 0/5] 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: Wed, 28 May 2014 19:26:48 -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. 5) add doxygen configuration and start page v2 fixes: * Fixed several checkpatch.pl issues * Added doxygen related changes 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 + doc/doxy-api-index.md | 3 +- doc/doxy-api.conf | 3 +- 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 | 2001 +++++++++++++++++++++++++++++++++ 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 ++ 24 files changed, 8552 insertions(+), 45 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