commit | fb89629f2ecfa0feb07f9981c1bd66a4b4407f44 | [log] [tgz] |
---|---|---|
author | Jian Shen <shenjian15@huawei.com> | Thu Jul 04 22:04:21 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Jul 05 15:39:38 2019 -0700 |
tree | 61ffb88ed2b0c9df6d7779873b916bcefd98c1f0 | |
parent | 2d5066fc175ea77a733d84df9ef414b34f311641 [diff] |
net: hns3: fix flow control configure issue for fibre port Flow control autoneg is unsupported for fibre port. It takes no effect for flow control when restart autoneg. This patch fixes it, return -EOPNOTSUPP when user tries to enable flow control autoneg. Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>