Commit af10e09
net: phylink: always do a major config when attaching a SFP PHY
Background: https://lore.kernel.org/r/20250107123615.161095-1-ericwouds@gmail.com
Since adding negotiation of in-band capabilities, it is no longer
sufficient to just look at the MLO_AN_xxx mode and PHY interface to
decide whether to do a major configuration, since the result now
depends on the capabilities of the attaching PHY.
Always trigger a major configuration in this case.
Testing log: https://lore.kernel.org/r/f20c9744-3953-40e7-a9c9-5534b25d2e2a@gmail.com
Reported-by: Eric Woudstra <ericwouds@gmail.com>
Tested-by: Eric Woudstra <ericwouds@gmail.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 45bd1c5 commit af10e09
1 file changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3541 | 3541 | | |
3542 | 3542 | | |
3543 | 3543 | | |
3544 | | - | |
3545 | | - | |
3546 | | - | |
| 3544 | + | |
| 3545 | + | |
| 3546 | + | |
3547 | 3547 | | |
3548 | 3548 | | |
3549 | | - | |
3550 | 3549 | | |
3551 | 3550 | | |
3552 | 3551 | | |
| |||
3623 | 3622 | | |
3624 | 3623 | | |
3625 | 3624 | | |
3626 | | - | |
| 3625 | + | |
3627 | 3626 | | |
3628 | 3627 | | |
3629 | 3628 | | |
| |||
3698 | 3697 | | |
3699 | 3698 | | |
3700 | 3699 | | |
3701 | | - | |
| 3700 | + | |
3702 | 3701 | | |
3703 | 3702 | | |
3704 | 3703 | | |
| |||
0 commit comments