]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Return success for PAGE_FAULT_RESUME in internal error state
authorMoni Shoua <monis@mellanox.com>
Thu, 8 Nov 2018 19:10:13 +0000 (21:10 +0200)
committerLeon Romanovsky <leonro@mellanox.com>
Mon, 12 Nov 2018 20:21:17 +0000 (22:21 +0200)
commit2443a8c95778d39b99d142e6a3923138285fdbfd
tree632120284219dae690eb3c2fa5a81d2344dfc13a
parentc54c53631fb611c8869443e32f2acd503636ee46
net/mlx5: Return success for PAGE_FAULT_RESUME in internal error state

When the device is in internal error state, command interface isn't
accessible and the driver decides which commands to fail and which to
pass.
Move the PAGE_FAULT_RESUME command to the pass list in order to avoid
redundant failure messages.

Fixes: 88d54a05851b ("net/mlx5_core: Add pci error handlers to mlx5_core driver")
Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/cmd.c