[hns-1126]net: hns3: fix port setting handle for fibre port
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kunpeng920 |
Fix Released
|
Undecided
|
Unassigned | ||
Ubuntu-18.04 |
Invalid
|
Undecided
|
Unassigned | ||
Ubuntu-18.04-hwe |
Fix Released
|
Undecided
|
Unassigned | ||
Ubuntu-19.04 |
Fix Released
|
Undecided
|
Ike Panhc | ||
Ubuntu-19.10 |
Fix Released
|
Undecided
|
Ike Panhc | ||
Ubuntu-20.04 |
Fix Released
|
Undecided
|
Unassigned | ||
Upstream-kernel |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Disco |
Fix Released
|
Undecided
|
Ike Panhc | ||
Eoan |
Fix Released
|
Undecided
|
Ike Panhc | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
For hardware doesn't support use specified speed and duplex
to negotiate, it's unnecessary to check and modify the port
speed and duplex for fibre port when autoneg is on.
[Test Case]
`sudo ethtool -s eno1 autoneg off speed 100000 duplex full`
`sudo ethtool -s eno1 autoneg on`
commands shall return 0
[Fix]
24283ece5a0f net: hns3: fix port setting handle for fibre port
[Regression Risk]
Patch restricted to hns3 driver.
"[Bug Description]
For hardware doesn't support use specified speed and duplex
to negotiate, it's unnecessary to check and modify the port
speed and duplex for fibre port when autoneg is on.
[Steps to Reproduce]
1.ethtool -s eth* autoneg off speed 100000 duplex full
2.ethtool -s eth* autoneg on
[Actual Results]
set autoneg on fail
[Expected Results]
set autoneg on ok
[Reproducibility]
Inevitably
[Additional information]
Hardware: D06
Firmware: NA
Kernel: NA
[Resolution]
Not check and modify the port speed and duplex for fibre port when autoneg on."
net: hns3: fix port setting handle for fibre port
CVE References
Changed in kunpeng920: | |
status: | New → In Progress |
description: | updated |
Changed in linux (Ubuntu): | |
status: | New → In Progress |
Changed in linux (Ubuntu Eoan): | |
assignee: | nobody → Ike Panhc (ikepanhc) |
status: | New → In Progress |
Changed in linux (Ubuntu Disco): | |
assignee: | nobody → Ike Panhc (ikepanhc) |
status: | New → In Progress |
Changed in linux (Ubuntu Focal): | |
status: | In Progress → Fix Released |
description: | updated |
no longer affects: | linux (Ubuntu Bionic) |
Changed in linux (Ubuntu Disco): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Eoan): | |
status: | In Progress → Fix Committed |
Changed in kunpeng920: | |
status: | In Progress → Fix Committed |
Changed in kunpeng920: | |
status: | Fix Committed → Fix Released |
This patch fix autoneg since v5.2
Fixes: 22f48e24a23d ("net: hns3: add autoneg and change speed support for fibre port")
I will see if it worthes backporting to v5.3.