]> 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)
commita475eb73750da16021fabcede2b37b0203aafd55
treeaf692a41cf6058aad8c975533edd0909df6297e2
parentba21983b4fb7751c641a0c535e8c7f6ff5dd00aa
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: ede80d26b82e ("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