diff options
author | Nikolay Aleksandrov <nikolay@nvidia.com> | 2021-07-19 19:06:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-20 14:41:20 +0200 |
commit | 743a53d9636aad83da63a8638e8365e817ef6365 (patch) | |
tree | c00dc735f02a82bdd1c2ce7ab56abea3c85a48b5 /include/uapi | |
parent | net: bridge: vlan: add support for global options (diff) | |
download | linux-743a53d9636aad83da63a8638e8365e817ef6365.tar.xz linux-743a53d9636aad83da63a8638e8365e817ef6365.zip |
net: bridge: vlan: add support for dumping global vlan options
Add a new vlan options dump flag which causes only global vlan options
to be dumped. The dumps are done only with bridge devices, ports are
ignored. They support vlan compression if the options in sequential
vlans are equal (currently always true).
Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/if_bridge.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/if_bridge.h b/include/uapi/linux/if_bridge.h index 4ed57d1a5d89..946ccf33dc53 100644 --- a/include/uapi/linux/if_bridge.h +++ b/include/uapi/linux/if_bridge.h @@ -479,6 +479,7 @@ enum { /* flags used in BRIDGE_VLANDB_DUMP_FLAGS attribute to affect dumps */ #define BRIDGE_VLANDB_DUMPF_STATS (1 << 0) /* Include stats in the dump */ +#define BRIDGE_VLANDB_DUMPF_GLOBAL (1 << 1) /* Dump global vlan options only */ /* Bridge vlan RTM attributes * [BRIDGE_VLANDB_ENTRY] = { |