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 EA67B592C for ; Thu, 12 Jan 2017 09:45:09 +0100 (CET) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP; 12 Jan 2017 00:45:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,349,1477983600"; d="scan'208";a="48070319" Received: from dpdk1.bj.intel.com ([172.16.182.84]) by orsmga004.jf.intel.com with ESMTP; 12 Jan 2017 00:45:07 -0800 From: Wei Zhao To: dev@dpdk.org Cc: zhao wei Date: Thu, 12 Jan 2017 16:40:21 +0800 Message-Id: <1484210439-61746-1-git-send-email-wei.zhao1@intel.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1484208838-58734-1-git-send-email-wei.zhao1@intel.com> References: <1484208838-58734-1-git-send-email-wei.zhao1@intel.com> Subject: [dpdk-dev] [PATCH v4 00/18] net/ixgbe: Consistent filter API 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: , X-List-Received-Date: Thu, 12 Jan 2017 08:45:10 -0000 From: zhao wei The patches mainly finish following functions: 1) Store and restore all kinds of filters. 2) Parse all kinds of filters. 3) Add flow validate function. 4) Add flow create function. 5) Add flow destroy function. 6) Add flow flush function. v2 changes: fix git log error Modify some function call relationship Change return value type of all parse flow functions Update error info for all flow ops Add ixgbe_filterlist_flush to flush flows and rules created v3 change: add new file ixgbe_flow.c to store generic API parser related functions add more comment about pattern and action rules add attr check in parser functions change struct name ixgbe_flow to rte_flow change SYN to TCP SYN change to use memset initizlize struct ixgbe_filter_info break down filter uninit process to 3 indepedent functions in eth_ixgbe_dev_uninit() change struct rte_flow_item_nvgre definition change struct rte_flow_item_e_tag definition fix one bug in function ixgbe_dev_filter_ctrl add goto in function ixgbe_flow_create delete some useless initialization eliminate some git log check warning v4 change: fix some check patch warning zhao wei (18): net/ixgbe: store TCP SYN filter net/ixgbe: store flow director filter net/ixgbe: store L2 tunnel filter net/ixgbe: restore n-tuple filter Add support for restoring n-tuple filter in SW. net/ixgbe: restore ether type filter net/ixgbe: restore TCP SYN filter net/ixgbe: restore flow director filter net/ixgbe: restore L2 tunnel filter net/ixgbe: store and restore L2 tunnel configuration net/ixgbe: flush all the filters net/ixgbe: parse n-tuple filter net/ixgbe: parse ethertype filter net/ixgbe: parse TCP SYN filter check if the rule is a TCP SYN rule, and get the SYN info. net/ixgbe: parse L2 tunnel filter check if the rule is a L2 tunnel rule, and get the L2 tunnel info. net/ixgbe: parse flow director filter net/ixgbe: create consistent filter net/ixgbe: destroy consistent filter net/ixgbe: flush all the filter list drivers/net/ixgbe/Makefile | 2 + drivers/net/ixgbe/ixgbe_ethdev.c | 667 +++++++-- drivers/net/ixgbe/ixgbe_ethdev.h | 203 ++- drivers/net/ixgbe/ixgbe_fdir.c | 407 ++++-- drivers/net/ixgbe/ixgbe_flow.c | 2808 ++++++++++++++++++++++++++++++++++++++ drivers/net/ixgbe/ixgbe_pf.c | 26 +- lib/librte_ether/rte_flow.h | 48 + 7 files changed, 3950 insertions(+), 211 deletions(-) create mode 100644 drivers/net/ixgbe/ixgbe_flow.c -- 2.5.5