Re: [dpdk-dev] [PATCH v5 14/26] common/mlx5: add list lcore share

2021-07-12 Thread Suanming Mou
Hi Raslan, > -Original Message- > From: Raslan Darawsheh > Sent: Monday, July 12, 2021 10:59 PM > To: Suanming Mou ; Slava Ovsiienko > ; Matan Azrad > Cc: Ori Kam ; dev@dpdk.org > Subject: RE: [PATCH v5 14/26] common/mlx5: add list lcore share > > Hi Suanming, > > This patch will cause

Re: [dpdk-dev] [PATCH v5 14/26] common/mlx5: add list lcore share

2021-07-12 Thread Raslan Darawsheh
Hi Suanming, This patch will cause the following failure in compilation with CLANG : [1443/3183] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common_utils.c.o FAILED: drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common_utils.c.o clang -Idrivers/libtmp_rte_common_m

[dpdk-dev] [PATCH v5 14/26] common/mlx5: add list lcore share

2021-07-11 Thread Suanming Mou
As some actions in SW-steering is only memory and can be allowed to create duplicate objects, for lists which no need to check if there are existing same objects in other sub local lists, search the object only in local list will be more efficient. This commit adds the lcore share mode to list opt