From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3 1/6] ethdev: add an field for querying hash key size Date: Mon, 15 Jun 2015 17:01:07 +0200 Message-ID: <1779695.4NFurMfay9@xps13> References: <1433403216-7114-1-git-send-email-helin.zhang@intel.com> <1434094441-23906-1-git-send-email-helin.zhang@intel.com> <1434094441-23906-2-git-send-email-helin.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: nhorman@tuxdriver.com Return-path: Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by dpdk.org (Postfix) with ESMTP id 65AB35A52 for ; Mon, 15 Jun 2015 17:02:04 +0200 (CEST) Received: by wiga1 with SMTP id a1so80759552wig.0 for ; Mon, 15 Jun 2015 08:02:04 -0700 (PDT) In-Reply-To: <1434094441-23906-2-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" 2015-06-12 15:33, Helin Zhang: > 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 it by default. [...] > @@ -918,6 +918,7 @@ struct rte_eth_dev_info { > uint32_t tx_offload_capa; /**< Device TX offload capabilities. */ > uint16_t reta_size; > /**< Device redirection table size, the total number of entries. */ > + uint8_t hash_key_size; /**< Hash key size in bytes */ > /** Bit mask of RSS offloads, the bit offset also means flow type */ > uint64_t flow_type_rss_offloads; > struct rte_eth_rxconf default_rxconf; /**< Default RX configuration */ Neil, what is your opinion? Do you ack that this technique covers every ABI cases?