]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: Implement pci_resume callback
authorDaniel Jurgens <danielj@mellanox.com>
Wed, 20 Apr 2016 13:01:15 +0000 (16:01 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Apr 2016 19:02:39 +0000 (15:02 -0400)
commitd2f664ce7331ad9fa6191c14d2c6af9e398998c3
treed5ec727e9459ba5b6fce7d54fb3bd93916624a15
parentd5dba24f988cebf91a08728d275b34a4da9b9a26
net/mlx4_core: Implement pci_resume callback

Move resume related activities to a new pci_resume function instead of
performing them in mlx4_pci_slot_reset.  This change is needed to avoid
a hotplug during EEH recovery due to commit ec1ffd0f6479 ("powerpc/eeh:
More relaxed hotplug criterion").

Fixes: 5b0d7b9c74bc ('net/mlx4_core: Handle AER flow properly')
Signed-off-by: Daniel Jurgens <danielj@mellanox.com>
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