From mboxrd@z Thu Jan 1 00:00:00 1970 From: Helin Zhang Subject: [PATCH v3 0/6] query hash key size in byte Date: Fri, 12 Jun 2015 15:33:55 +0800 Message-ID: <1434094441-23906-1-git-send-email-helin.zhang@intel.com> References: <1433403216-7114-1-git-send-email-helin.zhang@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 D7B71C340 for ; Fri, 12 Jun 2015 09:34:29 +0200 (CEST) In-Reply-To: <1433403216-7114-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" 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