"[Bug Description]
Flow control parameters of fibre port can not be set after enable flow control autoneg, as flow control autoneg is unsupported for fibre port.
[Steps to Reproduce]
1.link up fibre port and enable flow control autoneg
2.check status of tx pause and rx pause
3.turn off tx pause
4.checkout status of tx pause
[Actual Results]
tx pause is on
[Expected Results]
tx pause is off
[Reproducibility]
Inevitably
[Additional information]
Hardware: D06
Firmware: NA
Kernel: NA
[Resolution]
This patch return -EOPNOTSUPP when user tries to enable flow control autoneg."
net: hns3: fix flow control configure issue for fibre port
"[Bug Description]
Flow control parameters of fibre port can not be set after enable flow control autoneg, as flow control autoneg is unsupported for fibre port.
[Steps to Reproduce]
1.link up fibre port and enable flow control autoneg
2.check status of tx pause and rx pause
3.turn off tx pause
4.checkout status of tx pause
[Actual Results]
tx pause is on
[Expected Results]
tx pause is off
[Reproducibility]
Inevitably
[Additional information]
Hardware: D06
Firmware: NA
Kernel: NA
[Resolution]
This patch return -EOPNOTSUPP when user tries to enable flow control autoneg."
net: hns3: fix flow control configure issue for fibre port