]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: decouple link message from netdev state
authorShannon Nelson <snelson@pensando.io>
Sat, 28 Mar 2020 03:14:41 +0000 (20:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Mar 2020 18:40:49 +0000 (11:40 -0700)
commit9a53dbcab5fbbcbab13dcf2779ee3975caa87e4a
tree511a86e15b1b172b0162a52dc4cbb4e4d0bc47db
parenta40f3ce7990af3a617cd3be1cc64fdc3e7d4a306
ionic: decouple link message from netdev state

Rearrange the link_up/link_down messages so that we announce
link up when we first notice that the link is up when the
driver loads, and decouple the link_up/link_down messages from
the UP and DOWN netdev state.

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