diff options
author | Majd Dibbiny <majd@mellanox.com> | 2017-02-23 10:02:43 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-21 15:21:35 (GMT) |
commit | 8909b26a51fc7e47b8f4094c39c6b0f38676b02b (patch) | |
tree | fa92fa6c6ceb229a523ee1a7ca6d6172e88c289c /drivers/net/ethernet/aurora | |
parent | 84a66ca775438dc3f9918a977a169f49a9700e2d (diff) | |
download | linux-8909b26a51fc7e47b8f4094c39c6b0f38676b02b.tar.xz |
net/mlx4_core: Fix VF overwrite of module param which disables DMFS on new probed PFs
[ Upstream commit 95f1ba9a24af9769f6e20dfe9a77c863f253f311 ]
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: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/aurora')
0 files changed, 0 insertions, 0 deletions