diff options
author | 2020-03-17 14:08:35 +0200 | |
---|---|---|
committer | 2020-03-17 22:47:12 -0700 | |
commit | 188c67dd1906eea5542268e4513ad6253fbf9297 (patch) | |
tree | d0d1aee72ee428449202729f6ed86d4e9babc551 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: bridge: vlan tunnel: constify bridge and port arguments (diff) | |
download | wireguard-linux-188c67dd1906eea5542268e4513ad6253fbf9297.tar.xz wireguard-linux-188c67dd1906eea5542268e4513ad6253fbf9297.zip |
net: bridge: vlan options: add support for tunnel id dumping
Add a new option - BRIDGE_VLANDB_ENTRY_TUNNEL_ID which is used to dump
the tunnel id mapping. Since they're unique per vlan they can enter a
vlan range if they're consecutive, thus we can calculate the tunnel id
range map simply as: vlan range end id - vlan range start id. The
starting point is the tunnel id in BRIDGE_VLANDB_ENTRY_TUNNEL_ID. This
is similar to how the tunnel entries can be created in a range via the
old API (a vlan range maps to a tunnel range).
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions