cxgbe(4): Don't forget to report link state to the kernel if the link is
already up at attach. Reported by: Fabrice Bruel @ Orange Business Service MFC after: 1 week Sponsored by: Chelsio Communications
This commit is contained in:
parent
238eb01b5c
commit
41dda0d9eb
@ -5074,6 +5074,8 @@ cxgbe_init_synchronized(struct vi_info *vi)
|
||||
callout_reset(&vi->tick, hz, vi_tick, vi);
|
||||
else
|
||||
callout_reset(&pi->tick, hz, cxgbe_tick, pi);
|
||||
if (pi->link_cfg.link_ok)
|
||||
t4_os_link_changed(pi);
|
||||
PORT_UNLOCK(pi);
|
||||
done:
|
||||
if (rc != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user