]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: no link check until after probe
authorShannon Nelson <snelson@pensando.io>
Thu, 30 Apr 2020 21:33:41 +0000 (14:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 May 2020 01:02:46 +0000 (18:02 -0700)
commitbcabe59d8b9a6c87165da2192c194f1fc5db904d
treeaf692a41cf6058aad8c975533edd0909df6297e2
parent50d629e29227862bd52de8c4d517ca23993ddf9c
ionic: no link check until after probe

Don't bother with the link check during probe, let
the watchdog notice the first link-up.  This allows
probe to finish cleanly without any interruptions
from over excited user programs opening the device
as soon as it is registered.

Fixes: cd28795776c7 ("ionic: remove lifs on fw reset")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_lif.c