Re: [dpdk-dev] [PATCH v8 06/10] common/mlx5: avoid using class constructor priority

2020-07-24 Thread Parav Pandit
> From: David Marchand > Sent: Friday, July 24, 2020 7:15 PM > To: Parav Pandit > Cc: dev ; Gaetan Rivet ; Yigit, Ferruh > ; Thomas Monjalon ; > Raslan Darawsheh ; Ori Kam > ; Matan Azrad ; Joyce Kong > > Subject: Re: [dpdk-dev] [PATCH v8 06/10] common/mlx5: avoi

Re: [dpdk-dev] [PATCH v8 06/10] common/mlx5: avoid using class constructor priority

2020-07-24 Thread David Marchand
On Thu, Jul 23, 2020 at 10:10 PM Parav Pandit wrote: > > mlx5_common is shared library between mlx5 net, VDPA and regex PMD. > It is better to use common initialization helper instead of using > RTE_INIT_CLASS priority. RTE_INIT_CLASS does not exist, I suppose you meant RTE_PRIORITY_CLASS. Sugge

[dpdk-dev] [PATCH v8 06/10] common/mlx5: avoid using class constructor priority

2020-07-23 Thread Parav Pandit
mlx5_common is shared library between mlx5 net, VDPA and regex PMD. It is better to use common initialization helper instead of using RTE_INIT_CLASS priority. Signed-off-by: Parav Pandit --- drivers/common/mlx5/mlx5_common.c | 13 +++-- drivers/common/mlx5/mlx5_common.h