> -----Original Message-----
> From: Xu, Ting <[email protected]>
> Sent: Wednesday, July 22, 2020 3:16 AM
> To: [email protected]
> Cc: Dumitrescu, Cristian <[email protected]>; Xu, Ting
> <[email protected]>; [email protected]
> 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: [email protected]
>
> Signed-off-by: Ting Xu <[email protected]>
>
> ---
> v3->v4: Change design based on comment
> v2->v3: Rebase
> v1->v2: Correct patch time
> ---
Acked-by: Cristian Dumitrescu <[email protected]>