net/mlx4_core: Handle AER flow properly
authorYishai Hadas <yishaih@mellanox.com>
Sun, 25 Jan 2015 14:59:41 +0000 (16:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jan 2015 22:43:14 +0000 (14:43 -0800)
commit2ba5fbd62b2534335f4e3b844ecc7860115525a3
tree39deefc94a3689434c900b50d412a07e07238869
parentc69453e294c9f16da977b68e658a8028b854c209
net/mlx4_core: Handle AER flow properly

Fix AER callbacks to work properly, it includes:
- Refractoring AER to be aligned with Reset flow support.
- Sync with concurrent catas flow.

In addition, fix the shutdown PCI callback to sync with
concurrent catas flow.

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>
drivers/net/ethernet/mellanox/mlx4/main.c