net/mlx5: optimize stack memory in probe
authorMichael Baum <michaelba@mellanox.com>
Tue, 21 Jul 2020 12:05:16 +0000 (12:05 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 29 Jul 2020 22:41:23 +0000 (00:41 +0200)
commitd462a83c65d8b1ab38db68202cf1c74f75ebfbec
tree9da43e023ba7a7d88d3a90e0b5e58ecc662350e2
parent7301d1923a7103974077577520511d15420c7407
net/mlx5: optimize stack memory in probe

The device configuration struct is not small enough to be used as
function argument by value.

Call spawn function with device configuration by reference.

Signed-off-by: Michael Baum <michaelba@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/net/mlx5/linux/mlx5_os.c