diff options
| author | Jakub Kicinski <[email protected]> | 2018-11-06 17:07:30 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-11-07 11:45:22 -0800 |
| commit | e50bfdf74d5f81c81f7a00498aa7fd1cba53b65b (patch) | |
| tree | 3fef23b90241a31d4133e77a7cc33a74a2d7d48b /tools/perf/scripts/python/stat-cpi.py | |
| parent | 4234d62c27a633a089506f0b05040d7c6ff5fd6c (diff) | |
nfp: flower: remove unnecessary iteration over devices
For flower tunnel offloads FW has to be informed about MAC addresses
of tunnel devices. We use a netdev notifier to keep track of these
addresses.
Remove unnecessary loop over netdevices after notifier is registered.
The intention of the loop was to catch devices which already existed
on the system before nfp driver got loaded, but netdev notifier will
replay NETDEV_REGISTER events.
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: John Hurley <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions