commit | 1f60949297ceb92f8dbf0571f5f502988bbb0273 | [log] [tgz] |
---|---|---|
author | Yunsheng Lin <linyunsheng@huawei.com> | Fri Jan 18 16:13:14 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Jan 18 15:10:22 2019 -0800 |
tree | 91f818ac3a65962390f69d4a267ddebac80d6afc | |
parent | af013903c5c5dc4a251e0ac49eaab9411293f9f9 [diff] |
net: hns3: add HNAE3_RESTORE_CLIENT interface in enet module The HNAE3_INIT_CLIENT interface is also used when changing tc configuration, vlan/mac hardware table does not need to be restored when tc configuration changes. This patch adds a HNAE3_RESTORE_CLIENT interface to restore the vlan/mac hardware table when resetting. Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>