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

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

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

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