Commit b34228f
committed
Update link status when enabling link
When enabling link, the crosslink may not be properly configured or the
peer switch may not be probed/initialized by the driver. Call
switchtec_ntb_link_status_update() to try to configure it before sending
the link up message to peer. If the peer switch is probed/initialized
when enabling the link, the call to switchtec_ntb_link_status_update()
will make the crosslink configured, then the link up message will be
able to be sent to the peer switch. Otherwise we will need to wait for
the peer driver to come up and bring up the link.1 parent 4cb436b commit b34228f
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
863 | 863 | | |
864 | 864 | | |
865 | 865 | | |
| 866 | + | |
| 867 | + | |
866 | 868 | | |
867 | 869 | | |
868 | 870 | | |
| |||
0 commit comments