From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id B210A282 for ; Thu, 29 Dec 2016 17:05:12 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP; 29 Dec 2016 08:05:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,427,1477983600"; d="scan'208";a="1105684918" Received: from unknown (HELO dpdk9.sh.intel.com) ([10.239.129.31]) by fmsmga002.fm.intel.com with ESMTP; 29 Dec 2016 08:05:09 -0800 From: Beilei Xing To: jingjing.wu@intel.com, helin.zhang@intel.com Cc: dev@dpdk.org Date: Fri, 30 Dec 2016 00:04:16 +0800 Message-Id: <1483027473-89042-1-git-send-email-beilei.xing@intel.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1482819984-14120-1-git-send-email-beilei.xing@intel.com> References: <1482819984-14120-1-git-send-email-beilei.xing@intel.com> Subject: [dpdk-dev] [PATCH v3 00/17] net/i40e: 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, 29 Dec 2016 16:05:13 -0000 All pathes depend on Adrien's Generic flow API(rte_flow). 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. v3 changes: Set the related cause pointer to a non-NULL value when error happens. Change return value when error happens. Modify filter_del parameter with key. Malloc filter after checking when delete a filter. Delete meaningless initialization. Add return value when there's error. Change global variable definition. Modify some function declaration. v2 changes: Add i40e_flow.c, all flow ops are implemented in the file. Change the whole implementation of all parse flow functions. Update error info for all flow ops. Add flow_list to store flows created. Beilei Xing (17): net/i40e: store ethertype filter net/i40e: store tunnel filter net/i40e: store flow director filter net/i40e: restore ethertype filter net/i40e: restore tunnel filter net/i40e: restore flow director filter net/i40e: add flow validate function net/i40e: parse flow director filter net/i40e: parse tunnel filter net/i40e: add flow create function net/i40e: add flow destroy function net/i40e: destroy ethertype filter net/i40e: destroy tunnel filter net/i40e: destroy flow directory filter net/i40e: add flow flush function net/i40e: flush ethertype filters net/i40e: flush tunnel filters drivers/net/i40e/Makefile | 2 + drivers/net/i40e/i40e_ethdev.c | 519 ++++++++++-- drivers/net/i40e/i40e_ethdev.h | 173 ++++ drivers/net/i40e/i40e_fdir.c | 137 +++- drivers/net/i40e/i40e_flow.c | 1772 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 2537 insertions(+), 66 deletions(-) create mode 100644 drivers/net/i40e/i40e_flow.c -- 2.5.5