diff options
author | Elad Raz <eladr@mellanox.com> | 2016-02-03 09:57:04 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-09 10:42:47 +0100 |
commit | 157ede6784ba2837c7dc43f195418c75927f8488 (patch) | |
tree | 63d6779c9fdb8c5a6444bde8755acc1dbbf9da22 /include | |
parent | bonding: trivial: style fixes (diff) | |
download | linux-157ede6784ba2837c7dc43f195418c75927f8488.tar.xz linux-157ede6784ba2837c7dc43f195418c75927f8488.zip |
bridge: mdb: add support for offloaded mdb entries
Add new bitmask member 'flags' to br_mdb_entry structure. Adding
MDB_FLAGS_OFFLOAD bit which indicates MDB entries is offloaded to hardware.
Signed-off-by: Elad Raz <eladr@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/if_bridge.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/if_bridge.h b/include/uapi/linux/if_bridge.h index 18db14477bdd..ec3547234998 100644 --- a/include/uapi/linux/if_bridge.h +++ b/include/uapi/linux/if_bridge.h @@ -183,6 +183,8 @@ struct br_mdb_entry { #define MDB_TEMPORARY 0 #define MDB_PERMANENT 1 __u8 state; +#define MDB_FLAGS_OFFLOAD (1 << 0) + __u8 flags; __u16 vid; struct { union { |