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)
commitaa47b540b79cb35d6e10baf8b401c316e84199c0
tree511a86e15b1b172b0162a52dc4cbb4e4d0bc47db
parentea315c55074e1a50df391b9ddba92260216b0e98
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