summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_rep.h
diff options
context:
space:
mode:
authorEran Ben Elisha <eranbe@mellanox.com>2020-03-19 21:43:13 +0200
committerSaeed Mahameed <saeedm@mellanox.com>2020-05-22 17:28:38 -0700
commitf7936ddd35d8b849daf0372770c7c9dbe7910fca (patch)
tree2d4d4858da7dcca9d47fef398364747526d39d3c /drivers/net/ethernet/mellanox/mlx5/core/en_rep.h
parentd43b7007dbd1195a5b6b83213e49b1516aaf6f5e (diff)
net/mlx5: Avoid processing commands before cmdif is ready
When driver is reloading during recovery flow, it can't get new commands till command interface is up again. Otherwise we may get to null pointer trying to access non initialized command structures. Add cmdif state to avoid processing commands while cmdif is not ready. Fixes: e126ba97dba9 ("mlx5: Add driver for Mellanox Connect-IB adapters") Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Moshe Shemesh <moshe@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_rep.h')
0 files changed, 0 insertions, 0 deletions