numam-dpdk/drivers
Michael Baum 50e2494378 net/mlx4: use anonymous Direct Verbs allocator argument
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 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: fix code arrangement in tag allocation 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/mlx4: 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 drivers: add crypto as dependency for event drivers 2020-03-05 14:22:11 +01:00
meson.build bus/pci: introduce Windows support with stubs 2020-06-30 00:02:54 +02:00