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 7955B8E56 for ; Mon, 2 Nov 2015 15:32:24 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP; 02 Nov 2015 06:32:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,234,1444719600"; d="scan'208";a="840666086" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga002.jf.intel.com with ESMTP; 02 Nov 2015 06:32:22 -0800 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id tA2EWKtL000940; Mon, 2 Nov 2015 22:32:20 +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 tA2EWHKG021809; Mon, 2 Nov 2015 22:32:19 +0800 Received: (from hzhan75@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id tA2EWH4F021805; Mon, 2 Nov 2015 22:32:17 +0800 From: Helin Zhang To: dev@dpdk.org Date: Mon, 2 Nov 2015 22:32:14 +0800 Message-Id: <1446474736-21775-1-git-send-email-helin.zhang@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1446174687-2407-1-git-send-email-helin.zhang@intel.com> References: <1446174687-2407-1-git-send-email-helin.zhang@intel.com> Subject: [dpdk-dev] [PATCH v8 0/2] i40e: RSS/FD granularity configuration 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, 02 Nov 2015 14:32:24 -0000 The default input set of fields of a received packet are loaded from firmware, which cannot be modified even users want to use different fields for RSS or flow director. Here adds more flexibilities of selecting or adding packet fields for hash calculation or flow director to users. It also includes the modifications in testpmd to support the testing. v2 changes: Solved the compilation issues. v3 changes: Support selecting more input set fields. v4 changes: Removed operation of 'delete', as it is not necessary. Added FD granularity in both pmd and testpmd, as it is similar to RSS granularity. v5 changes: Fixed issue of generating wrong input set for registers on ipv6-udp and ipv6-tcp pc types. Added clear masking operations during checking if MASK registers are opcupied or not. Reworked several annotations. v6 changes: Updated documentation. v7 changes: Modified RTE_ETH_INSET_SIZE_MAX from 128 to 1, to avoid ABI changes. Split documentation into pieces and put them directly into the patch of code changes directly. v8 changes: Modified RTE_ETH_INSET_SIZE_MAX from 1 to 128, as ABI changes is allowed in ethdev. Updated release notes. Helin Zhang (2): i40e: RSS/FD granularity configuration app/testpmd: add test commands for RSS/FD granularity app/test-pmd/cmdline.c | 218 ++++++++ doc/guides/rel_notes/deprecation.rst | 5 + doc/guides/rel_notes/release_2_2.rst | 2 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 33 ++ drivers/net/i40e/i40e_ethdev.c | 742 ++++++++++++++++++++++++++++ drivers/net/i40e/i40e_ethdev.h | 7 + drivers/net/i40e/i40e_fdir.c | 31 ++ lib/librte_ether/rte_eth_ctrl.h | 114 ++++- 8 files changed, 1148 insertions(+), 4 deletions(-) -- 1.9.3