aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJian Shen <[email protected]>2018-03-10 11:29:32 +0800
committerDavid S. Miller <[email protected]>2018-03-11 22:53:32 -0400
commitd07b6bb4350040e10be8483640ae1b2bf37a3e5e (patch)
tree3e76c94e0ea9a5b0bcf9eb2ccb9a471adad09a33 /tools/perf/scripts/python
parenteefd00a5d70378feae66c073105c548075609482 (diff)
net: hns3: add existence checking before adding unicast mac address
It's not allowed to add two same unicast mac address entries to the mac_vlan table. When modify the uc mac address of a VF device to the same value with the PF device's, the PF device will lose its entry of the mac_vlan table. Lookup the mac address in the mac_vlan table, and add it if the entry is inexistent. Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support") Signed-off-by: Jian Shen <[email protected]> Signed-off-by: Peng Li <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions