From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id D7B71C340 for ; Fri, 12 Jun 2015 09:34:29 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 12 Jun 2015 00:34:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,600,1427785200"; d="scan'208";a="709692815" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga001.jf.intel.com with ESMTP; 12 Jun 2015 00:34:10 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id t5C7Y76R005068; Fri, 12 Jun 2015 15:34:07 +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 t5C7Y3PR023940; Fri, 12 Jun 2015 15:34:05 +0800 Received: (from hzhan75@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t5C7Y3IV023936; Fri, 12 Jun 2015 15:34:03 +0800 From: Helin Zhang To: dev@dpdk.org Date: Fri, 12 Jun 2015 15:33:55 +0800 Message-Id: <1434094441-23906-1-git-send-email-helin.zhang@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1433403216-7114-1-git-send-email-helin.zhang@intel.com> References: <1433403216-7114-1-git-send-email-helin.zhang@intel.com> Subject: [dpdk-dev] [PATCH v3 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: Fri, 12 Jun 2015 07:34:30 -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. v3 changes: * Moved the newly added element right after 'uint16_t reta_size', where it was a padding. So it will not break any ABI compatibility, and no need to disable the code changes by default. 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 | 2 ++ drivers/net/e1000/igb_ethdev.c | 3 +++ drivers/net/fm10k/fm10k_ethdev.c | 1 + drivers/net/i40e/i40e_ethdev.c | 2 ++ drivers/net/i40e/i40e_ethdev_vf.c | 2 ++ drivers/net/ixgbe/ixgbe_ethdev.c | 3 +++ lib/librte_ether/rte_ethdev.h | 1 + 7 files changed, 14 insertions(+) -- 1.9.3