diff options
author | Yishai Hadas <yishaih@mellanox.com> | 2015-01-25 15:59:40 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-25 23:43:14 +0100 |
commit | c69453e294c9f16da977b68e658a8028b854c209 (patch) | |
tree | 31d0d1363f6fdcad81c6de6eec722d657ae486a3 /usr | |
parent | net/mlx4_core: Activate reset flow upon fatal command cases (diff) | |
download | linux-c69453e294c9f16da977b68e658a8028b854c209.tar.xz linux-c69453e294c9f16da977b68e658a8028b854c209.zip |
net/mlx4_core: Manage interface state for Reset flow cases
We need to manage interface state to sync between reset flow and some other
relative cases such as remove_one. This has to be done to prevent certain
races. For example in case software stack is down as a result of unload call,
the remove_one should skip the unload phase.
Implement the remove_one case, handling AER and other cases comes next.
The interface can be up/down, upon remove_one, the state will include an extra
bit indicating that the device is cleaned-up, forcing other tasks to finish
before the final cleanup.
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions