From mboxrd@z Thu Jan 1 00:00:00 1970 From: Helin Zhang Subject: [PATCH v2 0/2] i40e: RSS granularity configuration Date: Tue, 22 Sep 2015 15:26:08 +0800 Message-ID: <1442906770-18805-1-git-send-email-helin.zhang@intel.com> References: <1442903547-18198-1-git-send-email-helin.zhang@intel.com> Cc: yulong.pei@intel.com To: dev@dpdk.org Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id C49C68D9E for ; Tue, 22 Sep 2015 09:26:20 +0200 (CEST) In-Reply-To: <1442903547-18198-1-git-send-email-helin.zhang@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The default fields of a received packet are loaded from firmware, which cannot be modified even users want to use different fields for RSS or filtering. Here adds a workaround to open more flexibilities of selecting 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. Helin Zhang (2): i40e: add RSS granularity configuration app/testpmd: add test commands for RSS granularity app/test-pmd/cmdline.c | 106 +++++++ drivers/net/i40e/i40e_ethdev.c | 591 ++++++++++++++++++++++++++++++++++++++++ drivers/net/i40e/i40e_ethdev.h | 6 + drivers/net/i40e/i40e_fdir.c | 31 +++ lib/librte_ether/rte_eth_ctrl.h | 106 ++++++- 5 files changed, 836 insertions(+), 4 deletions(-) -- 1.9.3