numam-dpdk/drivers
Michael Baum 36dabcea78 net/mlx5: use anonymous Direct Verbs allocator argument
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 at the start of a block of code rather than in the middle.
Therefore, to improve the Coding Style, the variable is passed directly
to the function without declaring it before.

Signed-off-by: Michael Baum <michaelba@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
2020-06-30 14:52:30 +02:00
..
baseband bus/pci: introduce Windows support with stubs 2020-06-30 00:02:54 +02:00
bus bus/fslmc: fix iterating on a class type 2020-06-30 14:52:30 +02:00
common common/mlx5: remove useless assignment 2020-06-30 14:52:30 +02:00
compress bus/pci: introduce Windows support with stubs 2020-06-30 00:02:54 +02:00
crypto build: replace meson OS detection with variable 2020-06-30 15:29:59 +02:00
event bus/pci: introduce Windows support with stubs 2020-06-30 00:02:54 +02:00
mempool bus/pci: introduce Windows support with stubs 2020-06-30 00:02:54 +02:00
net net/mlx5: use anonymous Direct Verbs allocator argument 2020-06-30 14:52:30 +02:00
raw bus/pci: introduce Windows support with stubs 2020-06-30 00:02:54 +02:00
vdpa vhost: split vDPA header file 2020-06-30 14:52:30 +02:00
Makefile
meson.build bus/pci: introduce Windows support with stubs 2020-06-30 00:02:54 +02:00