[dpdk-dev] [PATCH v1] lib/table: fix cache alignment issue

2020-07-08 Thread Ting Xu
When create softnic hash table with 16 keys, it failed on 32bit environment because of the structure rte_bucket_4_16 alignment issue. Add __rte_cache_aligned to ensure correct cache align. Fixes: 8aa327214c ("table: hash") Cc: sta...@dpdk.org Signed-off-by: Ting Xu --- lib/librte_table/rte_tabl

[dpdk-dev] [PATCH v1] lib/table: fix cache alignment issue

2020-06-16 Thread Ting Xu
When create softnic hash table with 16 keys, it failed on 32bit environment because of the structure rte_bucket_4_16 alignment issue. Add __rte_cache_aligned to ensure correct cache align. Fixes: 8aa327214c ("table: hash") Cc: sta...@dpdk.org Signed-off-by: Ting Xu --- lib/librte_table/rte_tabl