[hns_1126]net: hns3: add Asym Pause support to fix autoneg problem

Bug #1853943 reported by Fred Kimmy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kunpeng920
Fix Released
Undecided
Unassigned
Ubuntu-18.04
Won't Fix
Undecided
Unassigned
Ubuntu-18.04-hwe
Fix Released
Undecided
Unassigned
Ubuntu-19.04
Fix Released
Undecided
Unassigned
Ubuntu-19.10
Fix Released
Undecided
Unassigned
Upstream-kernel
Fix Released
Undecided
Unassigned

Bug Description

"[Bug Description]
The pause frame use of link partner is rx off/tx on, so its
advertising only set the bit Asym_Pause, and the supported is
only set the bit Pause, so the result of linkmode_and(), is
rx off/tx off.

[Steps to Reproduce]
1.load PF drvier
2.set autoneg, RX on TX off
3.ethtool eth*

[Actual Results]
RX on TX on

[Expected Results]
RX on TX off

[Reproducibility]
Inevitably

[Additional information]
Hardware: D06
Firmware: NA
Kernel: NA

[Resolution]
This patch adds Asym_Pause to the supported flag to fix it."

net: hns3: add Asym Pause support to fix autoneg problem

no longer affects: kunpeng920/ubuntu-20.04
dann frazier (dannf)
Changed in kunpeng920:
status: New → Fix Committed
dann frazier (dannf)
Changed in kunpeng920:
status: Fix Committed → Triaged
Revision history for this message
Ike Panhc (ikepanhc) wrote :

Can not cherry-pick to bionic GA kernel and already in disco/eoan kernel.

Changed in kunpeng920:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.