aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorEyal Perry <[email protected]>2014-07-22 15:44:09 +0300
committerDavid S. Miller <[email protected]>2014-07-22 19:53:13 -0700
commitb94901f3ede8fa5ea334f59bf947eba7d0cb24f3 (patch)
tree0e29fb4c6f76ab5ed465bdc4f4144d29f7ec5183 /tools/perf/scripts/python/netdev-times.py
parent7861f12bfd9f63e346b33a2b9841136f541dfbe3 (diff)
net/mlx4_en: current_mac isn't updated in port up
When port is down dev_addr is changed (e.g. by bonding) but current_mac is not touched. When port is up again, hash_mac is updated to dev_addr, but current_mac isn't. This leads to inconsistency between current_mac and mac_hash. Because of that, mlx4_en_replace_mac() fails to find current_mac in mac_hash. Fix is to reset current_mac to dev_addr when port is up - as we do for mac_hash. Signed-off-by: Eyal Perry <[email protected]> Signed-off-by: Amir Vadai <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions