diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-09-24 14:02:48 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-09-24 14:02:48 +0200 |
commit | db25f440f42eca380fcdb339f51cf73633e32485 (patch) | |
tree | d67c8ec502c2ce8b1382538545ee1b8a439dc6e2 /include/net/switchdev.h | |
parent | 145d92e77e6f34f53773fdb06789816ec2b6c7b3 (diff) | |
parent | 83510441bc08bee201c0ded9d81da6dfd008d69a (diff) |
Merge branch 'for-linus' into for-next
Diffstat (limited to 'include/net/switchdev.h')
-rw-r--r-- | include/net/switchdev.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/net/switchdev.h b/include/net/switchdev.h index d5671f118bfc..319baab3b48e 100644 --- a/include/net/switchdev.h +++ b/include/net/switchdev.h @@ -72,6 +72,7 @@ struct switchdev_obj { struct switchdev_obj_fdb { /* PORT_FDB */ const unsigned char *addr; u16 vid; + u16 ndm_state; } fdb; } u; }; @@ -157,6 +158,9 @@ int switchdev_port_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], int switchdev_port_fdb_dump(struct sk_buff *skb, struct netlink_callback *cb, struct net_device *dev, struct net_device *filter_dev, int idx); +void switchdev_port_fwd_mark_set(struct net_device *dev, + struct net_device *group_dev, + bool joining); #else @@ -271,6 +275,12 @@ static inline int switchdev_port_fdb_dump(struct sk_buff *skb, return -EOPNOTSUPP; } +static inline void switchdev_port_fwd_mark_set(struct net_device *dev, + struct net_device *group_dev, + bool joining) +{ +} + #endif #endif /* _LINUX_SWITCHDEV_H_ */ |