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

2020-07-21 Thread Xu, Ting
Hi, Cristian, > -Original Message- > From: Dumitrescu, Cristian > Sent: Wednesday, July 22, 2020 5:17 AM > To: Xu, Ting ; dev@dpdk.org > Cc: sta...@dpdk.org > Subject: RE: [PATCH v3] lib/table: fix cache alignment issue > > > > > -Original Message- > > From: Xu, Ting > > Sent:

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

2020-07-21 Thread Dumitrescu, Cristian
> -Original Message- > From: Xu, Ting > Sent: Tuesday, July 21, 2020 6:16 AM > To: Dumitrescu, Cristian ; dev@dpdk.org > Cc: sta...@dpdk.org > Subject: RE: [PATCH v3] lib/table: fix cache alignment issue > > Hi, Cristian > > > -Original Message- > > From: Dumitrescu, Cristian

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

2020-07-20 Thread Xu, Ting
Hi, Cristian > -Original Message- > From: Dumitrescu, Cristian > Sent: Monday, July 20, 2020 10:38 PM > To: Xu, Ting ; dev@dpdk.org > Cc: sta...@dpdk.org > Subject: RE: [PATCH v3] lib/table: fix cache alignment issue > > > > > -Original Message- > > From: Xu, Ting > > Sent: Th

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

2020-07-20 Thread Dumitrescu, Cristian
> -Original Message- > From: Xu, Ting > Sent: Thursday, July 9, 2020 2:48 AM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian ; Xu, Ting > ; sta...@dpdk.org > Subject: [PATCH v3] lib/table: fix cache alignment issue > > When create softnic hash table with 16 keys, it failed on 32bit > env

[dpdk-dev] [PATCH v3] 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 --- v2->v3: Rebase v1->v2: Co

[dpdk-dev] [PATCH v3] 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 --- v2->v3: Rebase v1->v2: Co