commit | cc9defcbb8fae52810f7795b039223edae51ef95 | [log] [tgz] |
---|---|---|
author | Michael Guralnik <michaelgur@mellanox.com> | Fri Nov 08 23:45:24 2019 +0000 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Mon Nov 11 12:15:29 2019 -0800 |
tree | 4ee11cf42b8e8b8fdbd03414c93a2a74e5a587dd | |
parent | e90cde0d76f01fd3b60da0a983d2e93c5c35bedc [diff] |
net/mlx5: Handle "enable_roce" devlink param Register "enable_roce" param, default value is RoCE enabled. Current configuration is stored on mlx5_core_dev and exposed to user through the cmode runtime devlink param. Changing configuration requires changing the cmode driverinit devlink param and calling devlink reload. Signed-off-by: Michael Guralnik <michaelgur@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>