aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/switchdev.h
diff options
context:
space:
mode:
authorScott Feldman <sfeldma@gmail.com>2015-05-10 09:47:55 -0700
committerDavid S. Miller <davem@davemloft.net>2015-05-12 18:43:54 -0400
commit6004c86718998aee1337efd3b087d6e17284632d (patch)
tree1f046bd21d9583618ed312115fb0c0aef1f273c9 /include/net/switchdev.h
parentrocker: use switchdev add/del obj for bridge port vlans (diff)
downloadlinux-dev-6004c86718998aee1337efd3b087d6e17284632d.tar.xz
linux-dev-6004c86718998aee1337efd3b087d6e17284632d.zip
switchdev: add bridge port flags attr
rocker: use switchdev get/set attr for bridge port flags Signed-off-by: Scott Feldman <sfeldma@gmail.com> Acked-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/switchdev.h')
-rw-r--r--include/net/switchdev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/switchdev.h b/include/net/switchdev.h
index e598c2d45786..6cf6de1a90b4 100644
--- a/include/net/switchdev.h
+++ b/include/net/switchdev.h
@@ -27,6 +27,7 @@ enum switchdev_attr_id {
SWITCHDEV_ATTR_UNDEFINED,
SWITCHDEV_ATTR_PORT_PARENT_ID,
SWITCHDEV_ATTR_PORT_STP_STATE,
+ SWITCHDEV_ATTR_PORT_BRIDGE_FLAGS,
};
struct switchdev_attr {
@@ -36,6 +37,7 @@ struct switchdev_attr {
union {
struct netdev_phys_item_id ppid; /* PORT_PARENT_ID */
u8 stp_state; /* PORT_STP_STATE */
+ unsigned long brport_flags; /* PORT_BRIDGE_FLAGS */
};
};