commit | 681ec3999b3d1548b97c077df77433b718b3bfb3 | [log] [tgz] |
---|---|---|
author | Yunsheng Lin <linyunsheng@huawei.com> | Wed Mar 21 15:49:22 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 22 13:12:01 2018 -0400 |
tree | 9983766c8fe23e1b3889a02b39ca3364ceae912f | |
parent | 1a426f8b40fca920f15558c9d2fa6efab6921002 [diff] |
net: hns3: fix for vlan table lost problem when resetting The vlan table in hardware is clear after PF/Core/IMP/Global reset, which will cause vlan tagged packets not being received problem. This patch fixes it by restoring the vlan table after reset. 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>