From: Elad Raz Date: Wed, 3 Feb 2016 08:57:04 +0000 (+0100) Subject: bridge: mdb: add support for offloaded mdb entries X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=157ede6784ba2837c7dc43f195418c75927f8488;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller --- 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 {