aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorFuyun Liang <liangfuyun1@huawei.com>2018-03-10 11:29:22 +0800
committerDavid S. Miller <davem@davemloft.net>2018-03-11 22:53:31 -0400
commit590980558bd0f49ff598909464661298aad74819 (patch)
tree6444dc1811ccafd2ed4b1fa89823da84710acc61 /tools/perf/scripts/python/event_analyzing_sample.py
parentMerge branch 'selftests-forwarding-Tweaks-and-a-new-test' (diff)
downloadlinux-590980558bd0f49ff598909464661298aad74819.tar.gz
linux-590980558bd0f49ff598909464661298aad74819.zip
net: hns3: add existence check when remove old uc mac address
When driver is in initial state, the mac_vlan table table is empty. So the delete operation for mac address must fail. Existence check is needed here. Otherwise, the error message will make user confused. Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support") Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions