commit | f438bfe9d4fe2e491505abfbf04d7c506e00d146 | [log] [tgz] |
---|---|---|
author | Jian Shen <shenjian15@huawei.com> | Fri May 24 19:19:48 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sun May 26 13:24:56 2019 -0700 |
tree | 6d2fbd5775488b61e8f761766cd9a8d0bdb8b9d5 | |
parent | d93ed94fbeaf3bf5ed16b57574dbb48ab7f7e41a [diff] |
net: hns3: fix for FEC configuration The FEC capbility may be changed with port speed changes. Driver needs to read the active FEC mode, and update FEC capability when port speed changes. Fixes: 7e6ec9148a1d ("net: hns3: add support for FEC encoding control") Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>