> -----Original Message-----
> From: Xu, Ting <ting...@intel.com>
> Sent: Wednesday, July 22, 2020 3:16 AM
> To: dev@dpdk.org
> Cc: Dumitrescu, Cristian <cristian.dumitre...@intel.com>; Xu, Ting
> <ting...@intel.com>; sta...@dpdk.org
> Subject: [PATCH v4] lib/table: fix cache alignment issue
> 
> When create softnic hash table with 16 keys, it failed on 32-bit
> environment, because the pointer field in structure rte_bucket_4_16
> is only 32 bits. Add a padding field in 32-bit environment to keep
> the structure to a multiple of 64 bytes. Apply this to 8-byte and
> 32-byte key hash function as well.
> 
> Fixes: 8aa327214c ("table: hash")
> Cc: sta...@dpdk.org
> 
> Signed-off-by: Ting Xu <ting...@intel.com>
> 
> ---
> v3->v4: Change design based on comment
> v2->v3: Rebase
> v1->v2: Correct patch time
> ---

Acked-by: Cristian Dumitrescu <cristian.dumitre...@intel.com>

Reply via email to