diff options
| author | John Hurley <[email protected]> | 2019-01-15 19:06:58 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-01-16 15:23:15 -0800 |
| commit | 13cf71031d797d37bbc960a8260ba47505f6b597 (patch) | |
| tree | 7394d7b3704720b8b053bf8da49bf0220c9f50c5 /tools/perf/scripts/python/compaction-times.py | |
| parent | 05d2bee6bd76164f7d81f3fde83f7461d0ff12af (diff) | |
nfp: flower: ensure MAC cleanup on address change
It is possible to receive a MAC address change notification without the
net device being down (e.g. when an OvS bridge is assigned the same MAC as
a port added to it). This means that an offloaded MAC address may not be
removed if its device gets a new address.
Maintain a record of the offloaded MAC addresses for each repr and netdev
assigned a MAC offload index. Use this to delete the (now expired) MAC if
a change of address event occurs. Only handle change address events if the
device is already up - if not then the netdev up event will handle it.
Signed-off-by: John Hurley <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions