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 E93723975 for ; Wed, 27 Aug 2014 04:09:57 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 26 Aug 2014 19:13:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,408,1406617200"; d="scan'208";a="582158281" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by fmsmga001.fm.intel.com with ESMTP; 26 Aug 2014 19:13:58 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id s7R2DvOT004921 for ; Wed, 27 Aug 2014 10:13:57 +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 s7R2DsQs030089 for ; Wed, 27 Aug 2014 10:13:56 +0800 Received: (from wujingji@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id s7R2DsLn030085 for dev@dpdk.org; Wed, 27 Aug 2014 10:13:54 +0800 From: Jingjing Wu To: dev@dpdk.org Date: Wed, 27 Aug 2014 10:13:47 +0800 Message-Id: <1409105634-29980-1-git-send-email-jingjing.wu@intel.com> X-Mailer: git-send-email 1.7.0.7 Subject: [dpdk-dev] [PATCH v2 0/7] Support flow director programming on fortville 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: Wed, 27 Aug 2014 02:09:58 -0000 The patch set supports flow director programming on fortville. It includes: - reserve i40e resources for flow director, such as queue and vsi. - support the new ethdev API rx_classification_filter_ctl for all the configuration or queries for receive classification filters. - support programming 6 flow types for the flow director filters, which is called PCTYPE in fortville: ipv4, tcpv4, udpv4, ipv6, tcpv6, udpv6. - support flushing flow director table (all filters). - support to get flow diretor information. - support match statistics and FD ID report. - fix the the Marco conflict between rte_ip.h and netinet/in.h. v2 changes: - create real fdir vsi and assign queue 0 pair to it. - check filter status report on the rx queue 0 further plan: - add flexible payload comprasion as flow director's input - support sctpv4 and sctpv6 PCTYPEs jingjing.wu (7): flow director resource reserve and initialize on i40e define new ethdev API rx_classification_filter_ctl function implement in i40e for flow director filter programming function implement in i40e for flow director flush and info get fix the Marco conflict support FD ID report and match counter for i40e flow director add commands and config functions for i40e flow director support app/test-pmd/cmdline.c | 665 ++++++++++++++++++++++++++++++++++++ app/test-pmd/config.c | 54 ++- app/test-pmd/testpmd.c | 22 ++ app/test-pmd/testpmd.h | 57 ++++ lib/librte_ether/Makefile | 3 +- lib/librte_ether/rte_eth_features.h | 65 ++++ lib/librte_ether/rte_ethdev.c | 19 +- lib/librte_ether/rte_ethdev.h | 108 +++--- lib/librte_net/rte_ip.h | 5 +- lib/librte_pmd_i40e/Makefile | 5 + lib/librte_pmd_i40e/i40e_ethdev.c | 137 +++++++- lib/librte_pmd_i40e/i40e_ethdev.h | 32 +- lib/librte_pmd_i40e/i40e_fdir.c | 500 +++++++++++++++++++++++++++ lib/librte_pmd_i40e/i40e_rxtx.c | 176 +++++++++- lib/librte_pmd_i40e/rte_i40e.h | 125 +++++++ 15 files changed, 1906 insertions(+), 67 deletions(-) create mode 100644 lib/librte_ether/rte_eth_features.h create mode 100644 lib/librte_pmd_i40e/i40e_fdir.c create mode 100644 lib/librte_pmd_i40e/rte_i40e.h -- 1.8.1.4