From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 1616C1B487 for ; Tue, 23 Oct 2018 12:31:07 +0200 (CEST) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Oct 2018 03:31:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,415,1534834800"; d="scan'208";a="80223123" Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.107]) by fmsmga007.fm.intel.com with SMTP; 23 Oct 2018 03:31:04 -0700 Received: by (sSMTP sendmail emulation); Tue, 23 Oct 2018 11:31:03 +0100 Date: Tue, 23 Oct 2018 11:31:03 +0100 From: Bruce Richardson To: Honnappa Nagarahalli Cc: pablo.de.lara.guarch@intel.com, dev@dpdk.org, yipeng1.wang@intel.com, gavin.hu@arm.com, dharmik.thakkar@arm.com, nd@arm.com Message-ID: <20181023103103.GC18800@bricha3-MOBL.ger.corp.intel.com> References: <1540268524-126673-1-git-send-email-honnappa.nagarahalli@arm.com> <1540268524-126673-4-git-send-email-honnappa.nagarahalli@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1540268524-126673-4-git-send-email-honnappa.nagarahalli@arm.com> Organization: Intel Research and Development Ireland Ltd. User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [dpdk-dev] [PATCH v5 3/5] hash: fix key store element alignment X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2018 10:31:08 -0000 On Mon, Oct 22, 2018 at 11:22:02PM -0500, Honnappa Nagarahalli wrote: > Fix the key store array element alignment such that every array > element is aligned on KEY_ALIGNMENT boundary. This is required to > make 'pdata' in 'struct rte_hash_key' align on its natural boundary > for atomic load/store. > > Fixes: 473d1bebce43 ("hash: allow to store data in hash table") > Cc: Pablo de Lara > > Signed-off-by: Honnappa Nagarahalli > Reviewed-by: Gavin Hu > Reviewed-by: Ola Liljedahl > Reviewed-by: Steve Capper > Reviewed-by: Yipeng Wang > --- Fix email. Acked-by: Bruce Richardson