summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJian Shen <shenjian15@huawei.com>2018-10-05 18:03:25 +0100
committerDavid S. Miller <davem@davemloft.net>2018-10-05 12:01:54 -0700
commitf05e21097121b24cad92b15b570386bc68574d68 (patch)
tree10a94efb5c1aa0c01e2d5888ddc53e421019db9f /tools/perf/scripts/python
parentdd2b6ef950b0dc5ede23291fa7fb0c322e8c116b (diff)
net: hns3: Clear mac vlan table entries when unload driver or function reset
In original codes, the mac vlan table entries are not cleared when unload hns3 driver. The dirty mac vlan table entries will make the result of looking up mac vlan table being unexpected. When doing core reset or global reset, the firmware will clear all the tables for driver, and driver shouldn't send any commands to firmware during reset. But when doing function reset, the driver needs to clear the tables itself. This patch clears the mac vlan table entries for each client when unload driver or reset. Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions