diff options
author | Majd Dibbiny <majd@mellanox.com> | 2017-02-23 12:02:43 +0200 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2017-06-05 21:17:15 +0100 |
commit | 361c34a1e5121395e88a9e7550500b7b42e6cf47 (patch) | |
tree | 1393181754ec13d35d067902e157ca782a008fc5 /samples/kobject | |
parent | 914bacc3d55dc9f9f6e16f058362bfebd76e6277 (diff) | |
download | linux-stable-361c34a1e5121395e88a9e7550500b7b42e6cf47.tar.gz linux-stable-361c34a1e5121395e88a9e7550500b7b42e6cf47.tar.bz2 linux-stable-361c34a1e5121395e88a9e7550500b7b42e6cf47.zip |
net/mlx4_core: Fix VF overwrite of module param which disables DMFS on new probed PFs
commit 95f1ba9a24af9769f6e20dfe9a77c863f253f311 upstream.
In the VF driver, module parameter mlx4_log_num_mgm_entry_size was
mistakenly overwritten -- and in a manner which overrode the
device-managed flow steering option encoded in the parameter.
log_num_mgm_entry_size is a global module parameter which
affects all ConnectX-3 PFs installed on that host.
If a VF changes log_num_mgm_entry_size, this will affect all PFs
which are probed subsequent to the change (by disabling DMFS for
those PFs).
Fixes: 3c439b5586e9 ("mlx4_core: Allow choosing flow steering mode")
Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Reviewed-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'samples/kobject')
0 files changed, 0 insertions, 0 deletions