]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
rtnetlink: new filter RTEXT_FILTER_BRVLAN_COMPRESSED
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Sat, 10 Jan 2015 15:31:13 +0000 (07:31 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Jan 2015 21:47:04 +0000 (16:47 -0500)
This filter is same as RTEXT_FILTER_BRVLAN except that it tries
to compress the consecutive vlans into ranges.

This helps on systems with large number of configured vlans.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/rtnetlink.h

index d81f22d5b39090aa109edb07c24f51517b7828fa..a1d18593f41ea1d0db0272e6dc305a22949607bc 100644 (file)
@@ -636,6 +636,7 @@ struct tcamsg {
 /* New extended info filters for IFLA_EXT_MASK */
 #define RTEXT_FILTER_VF                (1 << 0)
 #define RTEXT_FILTER_BRVLAN    (1 << 1)
+#define RTEXT_FILTER_BRVLAN_COMPRESSED (1 << 2)
 
 /* End of information exported to user level */