summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/health.c
diff options
context:
space:
mode:
authorFeras Daoud <ferasda@mellanox.com>2018-12-02 14:41:22 +0200
committerSaeed Mahameed <saeedm@mellanox.com>2019-06-13 13:23:17 -0700
commit1ef6f1a17e56f9126472d2c50818f468f1fc43d2 (patch)
tree8c6b27e64c0cba03e9eb3e65af1711535ccab94e /drivers/net/ethernet/mellanox/mlx5/core/health.c
parent63cbc552eebf08818af2025aef4589a48ef849c0 (diff)
net/mlx5: Control CR-space access by different PFs
Since the FW can be shared between different PFs/VFs it is common that more than one health poll will detected a failure, this can lead to multiple resets which are unneeded. The solution is to use a FW locking mechanism using semaphore space to provide a way to allow only one device to collect the cr-dump and to issue a sw-reset. Signed-off-by: Feras Daoud <ferasda@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/health.c')
0 files changed, 0 insertions, 0 deletions