vxlan: Allow setting destination to unicast address.
authorAtzm Watanabe <atzm@stratosphere.co.jp>
Tue, 16 Apr 2013 02:50:52 +0000 (02:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Apr 2013 20:43:35 +0000 (16:43 -0400)
commitc7995c43facc6e5dea4de63fa9d283a337aabeb1
tree3543a212031bc507ecc14b6d4b1f92bb7d957feb
parent184f489e9b8c40b4dd4883d3f1364f7786c8755c
vxlan: Allow setting destination to unicast address.

This patch allows setting VXLAN destination to unicast address.
It allows that VXLAN can be used as peer-to-peer tunnel without
multicast.

v4: generalize struct vxlan_dev, "gaddr" is replaced with vxlan_rdst.
    "GROUP" attribute is replaced with "REMOTE".
    they are based by David Stevens's comments.

v3: move a new attribute REMOTE into the last of an enum list
    based by Stephen Hemminger's comments.

v2: use a new attribute REMOTE instead of GROUP based by
    Cong Wang's comments.

Signed-off-by: Atzm Watanabe <atzm@stratosphere.co.jp>
Acked-by: David L Stevens <dlstevens@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c
include/uapi/linux/if_link.h