From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by dpdk.org (Postfix) with ESMTP id 40B832A7 for ; Mon, 16 Jun 2014 09:31:42 +0200 (CEST) Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 16 Jun 2014 00:31:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,484,1400050800"; d="scan'208";a="445908561" Received: from shilc102.sh.intel.com ([10.239.39.44]) by azsmga001.ch.intel.com with ESMTP; 16 Jun 2014 00:31:56 -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 s5G7VrLJ009159 for ; Mon, 16 Jun 2014 15:31:55 +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 s5G7VoMT024416 for ; Mon, 16 Jun 2014 15:31:52 +0800 Received: (from wujingji@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id s5G7VkOs024412 for dev@dpdk.org; Mon, 16 Jun 2014 15:31:46 +0800 From: Jingjing Wu To: dev@dpdk.org Date: Mon, 16 Jun 2014 15:31:42 +0800 Message-Id: <1402903906-24307-1-git-send-email-jingjing.wu@intel.com> X-Mailer: git-send-email 1.7.0.7 Subject: [dpdk-dev] [PATCH v4 0/4] NIC filters support for generic filter 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: Mon, 16 Jun 2014 07:31:42 -0000 --- the v4 patchset changes: --- change the type of rx_queue to uint16_t --- change the parameter of rte_eth_dev_add_syn_filter API --- the v3 patchset changes: --- comments alignment --- the v2 patchset changes: --- add NIC filter support for 82576 --- rework for the whitespace and tab warning if using git apply to apply patch 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 support. NIC filters list below are implemented in this patchset: ethertype filter, syn filter, 2tuple filter and flex filter for 82580 and i350 ethertype filter, syn filter, 5tuple filter for 82576 ethertype filter, syn filter and 5tuple filter for 82599 jingjing.wu (4): ethdev: add ethdev APIs for NIC filters of generic filter e1000: add igb NIC filters of generic filter feature ixgbe: add ixgbe NIC filters of generic filter feature app/test-pmd: add commands in testpmd for NIC filters app/test-pmd/cmdline.c | 909 +++++++++++++++++++++++++++++++++++- app/test-pmd/config.c | 147 ++++++ app/test-pmd/testpmd.h | 5 + lib/librte_ether/rte_ethdev.c | 275 +++++++++++ lib/librte_ether/rte_ethdev.h | 428 +++++++++++++++++ lib/librte_pmd_e1000/e1000_ethdev.h | 53 +++ lib/librte_pmd_e1000/igb_ethdev.c | 768 ++++++++++++++++++++++++++++++ lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 440 +++++++++++++++++ lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 34 ++ 9 files changed, 3058 insertions(+), 1 deletion(-) -- 1.8.1.4