Commit e981219
committed
Setup crosslink requester IDs when updating link status
When accessing the peer status for link status update, we need to setup
the crosslink requester IDs first to ensure we have access to the peer
status.
Earlier crosslink requester IDs setup during device initialization or
link enabling can fail because the peer switch may not in a good state
or the link to the peer switch may not be well connected at the moment.
Therefore, we add the requester IDs setup during link status update
which could be triggered by a peer link up event at which the peer
switch and the connection to the peer switch must be in a good state.
For more background about the requester IDs setup, please refer to
commit fd0edee.1 parent 453e809 commit e981219
1 file changed
+8
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
588 | 588 | | |
589 | 589 | | |
590 | 590 | | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
591 | 594 | | |
592 | 595 | | |
593 | 596 | | |
594 | 597 | | |
| 598 | + | |
595 | 599 | | |
596 | 600 | | |
597 | 601 | | |
598 | | - | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
599 | 606 | | |
600 | 607 | | |
601 | 608 | | |
| |||
670 | 677 | | |
671 | 678 | | |
672 | 679 | | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | 680 | | |
677 | 681 | | |
678 | 682 | | |
| |||
684 | 688 | | |
685 | 689 | | |
686 | 690 | | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | 691 | | |
691 | 692 | | |
692 | 693 | | |
| |||
0 commit comments