Re: [PATCH net-next] bridge: mdb: add vlan support for user entries

2015-07-20 Thread Nikolay Aleksandrov
On 07/21/2015 12:28 AM, Stephen Hemminger wrote: > On Fri, 10 Jul 2015 08:02:08 -0700 > Nikolay Aleksandrov wrote: > >> diff --git a/include/uapi/linux/if_bridge.h b/include/uapi/linux/if_bridge.h >> index eaaea6208b42..3635b7797508 100644 >> --- a/include/uapi/linux/if_bridge.h >> +++ b/include/

Re: [PATCH net-next] bridge: mdb: add vlan support for user entries

2015-07-20 Thread Stephen Hemminger
On Fri, 10 Jul 2015 08:02:08 -0700 Nikolay Aleksandrov wrote: > diff --git a/include/uapi/linux/if_bridge.h b/include/uapi/linux/if_bridge.h > index eaaea6208b42..3635b7797508 100644 > --- a/include/uapi/linux/if_bridge.h > +++ b/include/uapi/linux/if_bridge.h > @@ -182,6 +182,7 @@ struct br_mdb_

Re: [PATCH net-next] bridge: mdb: add vlan support for user entries

2015-07-13 Thread David Miller
From: Nikolay Aleksandrov Date: Fri, 10 Jul 2015 08:02:08 -0700 > Until now all user mdb entries were added in vlan 0, this patch adds > support to allow the user to specify the vlan for the entry. > About the uapi change a hole in struct br_mdb_entry is used so the size > and offsets are kept th

[PATCH net-next] bridge: mdb: add vlan support for user entries

2015-07-10 Thread Nikolay Aleksandrov
Until now all user mdb entries were added in vlan 0, this patch adds support to allow the user to specify the vlan for the entry. About the uapi change a hole in struct br_mdb_entry is used so the size and offsets are kept the same (verified with pahole and tested with older iproute2). Example: $