Commit 7acb441
committed
ibsim/sim_net.c: Assume QDR speed when port speed is 0
If there are devices with active extended speed, that responds to
PortInfo with LinkSpeedActive set to 0 (instead of QDR)
ibnetdiscover -f writes links with LinkSpeedActive set to 0 (s=0),
and as a result ibsim is unable to parse the file.
With this change, ibsim assumes LinkSpeedActive as QDR when
LinkSpeedActive is 0.
Signed-off-by: Daniel Klein <[email protected]>1 parent a5152b7 commit 7acb441
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
577 | 577 | | |
578 | 578 | | |
579 | 579 | | |
580 | | - | |
| 580 | + | |
581 | 581 | | |
582 | 582 | | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
583 | 586 | | |
584 | 587 | | |
585 | 588 | | |
| |||
0 commit comments