commit | 2d03eacc0b7e7aeedce6032f79872f3fd3d1a94f | [log] [tgz] |
---|---|---|
author | Yunsheng Lin <linyunsheng@huawei.com> | Mon Sep 03 11:21:53 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Sep 03 22:04:45 2018 -0700 |
tree | 64d407022951307ff6a848f5c70cb66910d6daf5 | |
parent | daaa8521760ee4d4e65f309c4c37b3a1e58c9d4e [diff] |
net: hns3: Only update mac configuation when necessary Currently only fiber port checks if it is necessay to set the mac through firmware when link is changed, this patch unify the checking to allow the copper port do the checking too. Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>