netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v5 0/6] vxlan: allow specifying multiple default destinations
@ 2013-06-25 13:01 Mike Rapoport
  2013-06-25 13:01 ` [PATCH net-next v5 1/6] vxlan: add implicit fdb entry for default destination Mike Rapoport
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Mike Rapoport @ 2013-06-25 13:01 UTC (permalink / raw)
  To: netdev
  Cc: Stephen Hemminger, David Stevens, Thomas Graf, Cong Wang,
	Mike Rapoport

These patches add ability to specify multiple default destinations to
vxlan. This ability is usefull in cases when multicast are disabled on
infrastructure level, for instance in public clouds.

The default destinations list is managed via the fdb entry with
"00:00:00:00:00:00" MAC address and does not require changes to vxlan
netlink API.

The default destinations can be added/deleted using 'bridge fdb'
commands, e.g:

# ip link add vxlan0 type vxlan id 23 group 239.1.1.1 dev eth0
# bridge fdb show dev vxlan0
00:00:00:00:00:00 dst 239.1.1.1 self permanent

# bridge fdb append 00:00:00:00:00:00 dev vxlan0 dst 54.242.49.246
# bridge fdb append 00:00:00:00:00:00 dev vxlan0 dst 23.22.26.34
# bridge fdb append 00:00:00:00:00:00 dev vxlan0 dst 184.72.129.120
# bridge fdb show dev vxlan0
00:00:00:00:00:00 dst 239.1.1.1 self permanent
00:00:00:00:00:00 dst 54.242.49.246 self permanent
00:00:00:00:00:00 dst 23.22.26.34 self permanent
00:00:00:00:00:00 dst 184.72.129.120 self permanent

# bridge fdb delete 00:00:00:00:00:00 dev vxlan0 dst 23.22.26.34
# bridge fdb append 00:00:00:00:00:00 dev vxlan0 dst 54.242.49.246
# bridge fdb show dev vxlan0
00:00:00:00:00:00 dst 239.1.1.1 self permanent
00:00:00:00:00:00 dst 184.72.129.120 self permanent

Since v5 is complete rework, I've dropped prevoius changelog as not relevant.

Mike Rapoport (6):
  vxlan: add implicit fdb entry for default destination
  vxlan: introduce vxlan_fdb_find_rdst
  vxlan: introduce vxlan_fdb_parse
  vxlan: allow removal of single destination from fdb entry
  rtnetlink: allow using zero MAC address in rtnl_fdb_{add,del}
  vxlan: fdb: allow specifying multiple destinations for zero MAC

 drivers/net/vxlan.c  | 219 +++++++++++++++++++++++++++++++++++++--------------
 net/core/rtnetlink.c |   8 --
 2 files changed, 159 insertions(+), 68 deletions(-)

-- 
1.8.1.5

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

end of thread, other threads:[~2013-06-25 23:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-25 13:01 [PATCH net-next v5 0/6] vxlan: allow specifying multiple default destinations Mike Rapoport
2013-06-25 13:01 ` [PATCH net-next v5 1/6] vxlan: add implicit fdb entry for default destination Mike Rapoport
2013-06-25 13:01 ` [PATCH net-next v5 2/6] vxlan: introduce vxlan_fdb_find_rdst Mike Rapoport
2013-06-25 13:01 ` [PATCH net-next v5 3/6] vxlan: introduce vxlan_fdb_parse Mike Rapoport
2013-06-25 13:01 ` [PATCH net-next v5 4/6] vxlan: allow removal of single destination from fdb entry Mike Rapoport
2013-06-25 13:01 ` [PATCH net-next v5 5/6] rtnetlink: allow using zero MAC address in rtnl_fdb_{add,del} Mike Rapoport
2013-06-25 16:37   ` Stephen Hemminger
2013-06-25 23:48     ` David Miller
2013-06-25 13:01 ` [PATCH net-next v5 6/6] vxlan: fdb: allow specifying multiple destinations for zero MAC Mike Rapoport
2013-06-25 21:19 ` [PATCH net-next v5 0/6] vxlan: allow specifying multiple default destinations Stephen Hemminger

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).