diff options
author | Moshe Shemesh <moshe@mellanox.com> | 2020-10-07 09:00:53 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-10-09 22:06:53 +0300 |
commit | 195d9dece1686576ad1c7b45942b5cf9eacb3fbf (patch) | |
tree | 4bdf594dd64e1804cab6936a7d29b85960643078 /drivers/net/ethernet/mellanox/mlx5/core/fw_reset.c | |
parent | 5ec697446f4630e3c30c6d7a67f4955c7bfd1a11 (diff) | |
download | linux-195d9dece1686576ad1c7b45942b5cf9eacb3fbf.tar.xz |
devlink: Add enable_remote_dev_reset generic parameter
The enable_remote_dev_reset devlink param flags that the host admin
allows device resets that can be initiated by other hosts. This
parameter is useful for setups where a device is shared by different
hosts, such as multi-host setup. Once the user set this parameter to
false, the driver should NACK any attempt to reset the device while the
driver is loaded.
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/fw_reset.c')
0 files changed, 0 insertions, 0 deletions