[dpdk-dev] [PATCH v5 3/5] hash: fix key store element alignment

Bruce Richardson bruce.richardson at intel.com
Tue Oct 23 12:31:03 CEST 2018


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 <pablo.de.lara.guarch at intel.com>
> 
> Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
> Reviewed-by: Gavin Hu <gavin.hu at arm.com>
> Reviewed-by: Ola Liljedahl <ola.liljedahl at arm.com>
> Reviewed-by: Steve Capper <steve.capper at arm.com>
> Reviewed-by: Yipeng Wang <yipeng1.wang at arm.com> 
> ---
Fix email.

Acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the dev mailing list