Skip to content

Commit 2d07dc7

Browse files
linvjwdavem330
authored andcommitted
geneve: add initial netdev driver for GENEVE tunnels
This is an initial implementation of a netdev driver for GENEVE tunnels. This implementation uses a fixed UDP port, and only supports point-to-point links with specific partner endpoints. Only IPv4 links are supported at this time. Signed-off-by: John W. Linville <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent d37d29c commit 2d07dc7

File tree

4 files changed

+527
-0
lines changed

4 files changed

+527
-0
lines changed

drivers/net/Kconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,20 @@ config VXLAN
179179
To compile this driver as a module, choose M here: the module
180180
will be called vxlan.
181181

182+
config GENEVE
183+
tristate "Generic Network Virtualization Encapsulation netdev"
184+
depends on INET && GENEVE_CORE
185+
select NET_IP_TUNNEL
186+
---help---
187+
This allows one to create geneve virtual interfaces that provide
188+
Layer 2 Networks over Layer 3 Networks. GENEVE is often used
189+
to tunnel virtual network infrastructure in virtualized environments.
190+
For more information see:
191+
http://tools.ietf.org/html/draft-gross-geneve-02
192+
193+
To compile this driver as a module, choose M here: the module
194+
will be called geneve.
195+
182196
config NETCONSOLE
183197
tristate "Network console logging support"
184198
---help---

drivers/net/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ obj-$(CONFIG_TUN) += tun.o
2323
obj-$(CONFIG_VETH) += veth.o
2424
obj-$(CONFIG_VIRTIO_NET) += virtio_net.o
2525
obj-$(CONFIG_VXLAN) += vxlan.o
26+
obj-$(CONFIG_GENEVE) += geneve.o
2627
obj-$(CONFIG_NLMON) += nlmon.o
2728

2829
#

0 commit comments

Comments
 (0)