From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 9A24B903 for ; Tue, 10 Feb 2015 05:48:40 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP; 09 Feb 2015 20:48:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,548,1418112000"; d="scan'208";a="649851233" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga001.jf.intel.com with ESMTP; 09 Feb 2015 20:48:38 -0800 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id t1A4mZHH024836; Tue, 10 Feb 2015 12:48:35 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t1A4mYWt021658; Tue, 10 Feb 2015 12:48:36 +0800 Received: (from wujingji@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t1A4mXpj021654; Tue, 10 Feb 2015 12:48:33 +0800 From: Jingjing Wu To: dev@dpdk.org Date: Tue, 10 Feb 2015 12:48:27 +0800 Message-Id: <1423543713-21624-1-git-send-email-jingjing.wu@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1421912305-2022-1-git-send-email-jingjing.wu@intel.com> References: <1421912305-2022-1-git-send-email-jingjing.wu@intel.com> Subject: [dpdk-dev] [PATCH v3 0/6] new ntuple filter replaces 2tuple and 5tuple filters 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: Tue, 10 Feb 2015 04:48:41 -0000 v2 changes: - remove the code which is already applied in patch "Integrate ethertype filter in igb/ixgbe driver to new API". - modify commands' description in doc testpmd_funcs.rst. v3 change: - remove the UINT32_BIT definition in ixgbe driver The patch set uses new filter_ctrl API to replace old 2tuple and 5tuple filter APIs. It defines ntuple filter to combine 2tuple and 5tuple types. It uses new functions and structure to replace old ones in igb/ixgbe driver, new commands to replace old ones in testpmd, and removes the old APIs. It removes the filter's index parameters from user interface, only the filter's key and assigned queue are visible to user. Jingjing Wu (6): ethdev: define ntuple filter type and its structure ixgbe: ntuple filter functions replace old ones for 5tuple filter e1000: ntuple filter functions replace old ones for 2tuple and 5tuple filter testpmd: new commands for ntuple filter ethdev: remove old APIs and structures of 5tuple and 2tuple filters doc: commands changed in testpmd_funcs for 2tuple amd 5tuple filter app/test-pmd/cmdline.c | 406 ++++++------- app/test-pmd/config.c | 65 --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 99 +--- lib/librte_ether/rte_eth_ctrl.h | 57 ++ lib/librte_ether/rte_ethdev.c | 116 ---- lib/librte_ether/rte_ethdev.h | 192 ------ lib/librte_pmd_e1000/e1000_ethdev.h | 69 ++- lib/librte_pmd_e1000/igb_ethdev.c | 869 +++++++++++++++++++--------- lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 468 +++++++++++---- lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 52 +- 10 files changed, 1300 insertions(+), 1093 deletions(-) -- 1.9.3