From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 33ACFC362 for ; Thu, 4 Jun 2015 09:34:01 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 04 Jun 2015 00:33:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,551,1427785200"; d="scan'208";a="720550006" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by fmsmga001.fm.intel.com with ESMTP; 04 Jun 2015 00:33:44 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id t547Xf4t004379; Thu, 4 Jun 2015 15:33:41 +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 t547XcAU007148; Thu, 4 Jun 2015 15:33:41 +0800 Received: (from hzhan75@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t547XcKt007144; Thu, 4 Jun 2015 15:33:38 +0800 From: Helin Zhang To: dev@dpdk.org Date: Thu, 4 Jun 2015 15:33:30 +0800 Message-Id: <1433403216-7114-1-git-send-email-helin.zhang@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1433379638-32715-1-git-send-email-helin.zhang@intel.com> References: <1433379638-32715-1-git-send-email-helin.zhang@intel.com> Subject: [dpdk-dev] [PATCH v2 0/6] query hash key size in byte 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: Thu, 04 Jun 2015 07:34:01 -0000 As different hardware has different hash key sizes, querying it (in byte) per port was asked by users. Otherwise there is no convenient way to know the size of hash key which should be prepared. v2 changes: * Disabled the code changes by default, to avoid breaking ABI compatibility. Helin Zhang (6): ethdev: add an field for querying hash key size e1000: fill the hash key size fm10k: fill the hash key size i40e: fill the hash key size ixgbe: fill the hash key size app/testpmd: show the hash key size app/test-pmd/config.c | 4 ++++ drivers/net/e1000/igb_ethdev.c | 5 +++++ drivers/net/fm10k/fm10k_ethdev.c | 3 +++ drivers/net/i40e/i40e_ethdev.c | 4 ++++ drivers/net/i40e/i40e_ethdev_vf.c | 4 ++++ drivers/net/ixgbe/ixgbe_ethdev.c | 5 +++++ lib/librte_ether/rte_ethdev.h | 3 +++ 7 files changed, 28 insertions(+) -- 1.9.3