aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorAmir Vadai <[email protected]>2016-09-08 16:23:45 +0300
committerDavid S. Miller <[email protected]>2016-09-10 20:53:55 -0700
commitd817f432c2ab7639a4f69de73eafdc55e57c45ad (patch)
treefc378fb961d465b15248076fc884e3c90fb228f6 /tools/perf/scripts/python/net_dropmonitor.py
parente808bb6ed042020d3a15cb6e85ca646bc7c9eda8 (diff)
net/ip_tunnels: Introduce tunnel_id_to_key32() and key32_to_tunnel_id()
Add utility functions to convert a 32 bits key into a 64 bits tunnel and vice versa. These functions will be used instead of cloning code in GRE and VXLAN, and in tc act_iptunnel which will be introduced in a following patch in this patchset. Signed-off-by: Amir Vadai <[email protected]> Signed-off-by: Hadar Hen Zion <[email protected]> Reviewed-by: Shmulik Ladkani <[email protected]> Acked-by: Jiri Benc <[email protected]> Acked-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions