Re: [dpdk-dev] [PATCH] net/mlx5: use anonymous DV allocator argument

2020-06-29 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Michael Baum > Sent: Wednesday, June 24, 2020 4:47 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Slava Ovsiienko > > Subject: [dpdk-dev] [PATCH] net/mlx5: use anonymous DV allocator > argument > > The mlx5

[dpdk-dev] [PATCH] net/mlx5: use anonymous DV allocator argument

2020-06-24 Thread Michael Baum
The mlx5_dev_spawn function defines an struct mlx5dv_ctx_allocators type variable several hundred rows after it starts, with the only use it being passed as a parameter to the mlx5_glue->dv_set_context_attr function. However, according to DPDK Coding Style Guidelines, variables should be declared a

[dpdk-dev] [PATCH] net/mlx5: use anonymous DV allocator argument

2020-06-24 Thread Michael Baum
The mlx5_dev_spawn function defines an struct mlx5dv_ctx_allocators type variable several hundred rows after it starts, with the only use it being passed as a parameter to the mlx5_glue->dv_set_context_attr function. However, according to DPDK Coding Style Guidelines, variables should be declared a