projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d66bd90
)
bridge: mdb: add support for offloaded mdb entries
author
Elad Raz
<eladr@mellanox.com>
Wed, 3 Feb 2016 08:57:04 +0000
(09:57 +0100)
committer
David S. Miller
<davem@davemloft.net>
Tue, 9 Feb 2016 09:42:47 +0000
(
04:42
-0500)
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>
include/uapi/linux/if_bridge.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/if_bridge.h
b/include/uapi/linux/if_bridge.h
index 18db14477bdda952fa946ccfba979950233f3130..ec35472349988fa556f39028d5ea8ecd689b85b0 100644
(file)
--- 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 {