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 79A63231C for ; Tue, 20 May 2014 05:53:29 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 19 May 2014 20:48:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.98,871,1392192000"; d="scan'208";a="543288912" Received: from shilc102.sh.intel.com ([10.239.39.44]) by orsmga002.jf.intel.com with ESMTP; 19 May 2014 20:53:36 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shilc102.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id s4K3rXYf005571 for ; Tue, 20 May 2014 11:53: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 s4K3rUWc018776 for ; Tue, 20 May 2014 11:53:32 +0800 Received: (from wujingji@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id s4K3rTK3018772 for dev@dpdk.org; Tue, 20 May 2014 11:53:29 +0800 From: Jingjing Wu To: dev@dpdk.org Date: Tue, 20 May 2014 11:53:25 +0800 Message-Id: <1400558009-18667-1-git-send-email-jingjing.wu@intel.com> X-Mailer: git-send-email 1.7.0.7 Subject: [dpdk-dev] [PATCH 0/4][PMD][GENERIC_FILTER] ***NIC filters support of generic feature*** 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, 20 May 2014 03:53:30 -0000 A generic filter mechanism for handling special packet is required. It will allow filters to be set in HW when available so that specific packet may be filtered by NICs to specific descriptor queues for processing. Currently only Flow Director for Intel's 10GbE 82599 devices is available. Other types of filter are not supported. NIC filters list below are implemented in patches: ethertype filter, syn filter, 2tuple filter and flex filter for 82580 and i350 ethertype filter, syn filter and 5tuple filter for 82599 jingjing.wu (4): add ethdev APIs for NIC filters of generic filter feature add igb NIC filters of generic filter feature add ixgbe NIC filters of generic filter feature add commands in testpmd for NIC filters app/test-pmd/cmdline.c | 905 +++++++++++++++++++++++++++++++++++- app/test-pmd/config.c | 143 ++++++ app/test-pmd/testpmd.h | 6 + lib/librte_ether/rte_ethdev.c | 300 ++++++++++++ lib/librte_ether/rte_ethdev.h | 428 ++++++++++++++++- lib/librte_pmd_e1000/e1000_ethdev.h | 38 ++ lib/librte_pmd_e1000/igb_ethdev.c | 512 ++++++++++++++++++++ lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 365 +++++++++++++++ lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 33 ++ 9 files changed, 2728 insertions(+), 2 deletions(-) -- 1.8.1.4