netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC 0/2] Multiple VLAN Registration Protocol (IEEE 802.1Q-2011)
@ 2012-09-24 21:07 David Ward
  2012-09-24 21:07 ` [PATCH RFC 1/2] net/802: Implement Multiple Registration Protocol (MRP) David Ward
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: David Ward @ 2012-09-24 21:07 UTC (permalink / raw)
  To: netdev; +Cc: Patrick McHardy, Eric Dumazet, Philip Foulkes, David Ward

The Linux kernel currently implements the GARP VLAN Registration 
Protocol (GVRP) from IEEE 802.1Q-1998 (applicant-only participant). 
When the GVRP flag is set for a VLAN interface on a Linux host, the 
host advertises its membership in the VLAN to the attached bridge/
switch, so that it is not necessary to manually configure the bridge/
switch port to participate in the VLAN.

GVRP has been superseded by the Multiple VLAN Registration Protocol 
(MVRP) in IEEE 802.1Q-2011, which addresses scalability concerns about 
the earlier protocol.  The following patches add support for MVRP to 
the Linux kernel and iproute2 utility. They are based largely off of 
the existing implementation of GVRP, but have been modified for the 
new PDU structure and state machine.

Please let me know if you have any comments. This implementation was 
tested with two Juniper EX4200 switches and found to work as expected. 
If you have access to other switches that implement MVRP, I would of 
course welcome additional testing.

Signed-off-by: David Ward <david.ward@ll.mit.edu>

David Ward (2):
  net/802: Implement Multiple Registration Protocol (MRP)
  net/8021q: Implement Multiple VLAN Registration Protocol (MVRP)

 include/linux/if_ether.h  |    1 +
 include/linux/if_vlan.h   |    1 +
 include/linux/netdevice.h |    2 +
 include/net/mrp.h         |  142 ++++++++
 net/802/Kconfig           |    3 +
 net/802/Makefile          |    1 +
 net/802/mrp.c             |  872 +++++++++++++++++++++++++++++++++++++++++++++
 net/8021q/Kconfig         |   11 +
 net/8021q/Makefile        |    1 +
 net/8021q/vlan.c          |   27 ++-
 net/8021q/vlan.h          |   16 +
 net/8021q/vlan_dev.c      |   12 +-
 net/8021q/vlan_mvrp.c     |   72 ++++
 net/8021q/vlan_netlink.c  |    2 +-
 14 files changed, 1156 insertions(+), 7 deletions(-)
 create mode 100644 include/net/mrp.h
 create mode 100644 net/802/mrp.c
 create mode 100644 net/8021q/vlan_mvrp.c

-- 
1.7.4.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-09-11  0:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-24 21:07 [PATCH RFC 0/2] Multiple VLAN Registration Protocol (IEEE 802.1Q-2011) David Ward
2012-09-24 21:07 ` [PATCH RFC 1/2] net/802: Implement Multiple Registration Protocol (MRP) David Ward
2012-09-24 21:36   ` Eric Dumazet
2012-09-24 21:07 ` [PATCH RFC 2/2] net/8021q: Implement Multiple VLAN Registration Protocol (MVRP) David Ward
2012-09-24 21:07 ` [PATCH RFC iproute2] iplink_vlan: Add flag for " David Ward
2013-09-11  0:22 ` [PATCH RFC 0/2] Multiple VLAN Registration Protocol (IEEE 802.1Q-2011) Noel Burton-Krahn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).