diff options
| author | Oz Shlomo <[email protected]> | 2018-11-21 12:15:34 +0200 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2018-12-10 15:53:04 -0800 |
| commit | 0621e6fc5ed2b6e58a2ba6904074e366f290b1d8 (patch) | |
| tree | 2e7ef3483d675a9511d956a1f1d41ab6c9fc5ad4 /tools/perf/scripts/python/sched-migration.py | |
| parent | 101f4de9dd521c6d06dfdacaa35e506a8db8494b (diff) | |
net: Add netif_is_gretap()/netif_is_ip6gretap()
Changed the is_gretap_dev and is_ip6gretap_dev logic from structure
comparison to string comparison of the rtnl_link_ops kind field.
This approach aligns with the current identification methods and function
names of vxlan and geneve network devices.
Convert mlxsw to use these helpers and use them in downstream mlx5 patch.
Signed-off-by: Oz Shlomo <[email protected]>
Reviewed-by: Eli Britstein <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions