Skip to content
Commit 76e39ccf authored by Eli Cohen's avatar Eli Cohen Committed by David S. Miller
Browse files

net/mlx4_core: Fix backward compatibility on VFs

Commit 85743f1e ("net/mlx4_core: Set UAR page size to 4KB regardless
of system page size") introduced dependency where old VF drivers without
this fix fail to load if the PF driver runs with this commit.

To resolve this add a module parameter which disables that functionality
by default.  If both the PF and VFs are running with a driver with that
commit the administrator may set the module param to true.

The module parameter is called enable_4k_uar.

Fixes: 85743f1e

 ('net/mlx4_core: Set UAR page size to 4KB ...')
Signed-off-by: default avatarEli Cohen <eli@mellanox.com>
Tested-by: default avatarAlexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e2ad1f97
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment