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)
commitef90c5e9757d5abc80b947cbcaacc43d1e916488
tree632120284219dae690eb3c2fa5a81d2344dfc13a
parent032080ab43ac02cf7446b3954ace7ccce1abcad6
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: 89d44f0a6c73 ("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