netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] add GENEVE netdev tunnel driver
@ 2015-04-02 19:17 John W. Linville
  2015-04-02 19:17 ` [RFC PATCH 1/5] geneve: remove MODULE_ALIAS_RTNL_LINK from net/ipv4/geneve.c John W. Linville
                   ` (5 more replies)
  0 siblings, 6 replies; 28+ messages in thread
From: John W. Linville @ 2015-04-02 19:17 UTC (permalink / raw)
  To: netdev
  Cc: David S. Miller, Jesse Gross, Andy Zhou, Stephen Hemminger,
	Alexander Duyck

This 5-patch kernel series adds a netdev implementation of a GENEVE
tunnel driver, and the single iproute2 patch enables creation and
such for those netdevs.  This makes use of the existing GENEVE
infrastructure already used by the OVS code.  The net/ipv4/geneve.c
file is renamed as net/ipv4/libgeneve.c as part of these changes.

The overall structure of the GENEVE netdev driver is strongly
influenced by the VXLAN netdev driver.  This is not surprising, as the
two drivers are intended to serve similar purposes.  As development
of the GENEVE driver continues, it is likely that those similarities
will grow stronger.

The current implementation is very simple, restricting itself to a
single GENEVE tunnel netdev per net namespace.  This is due only to
the simplicity of the implementation, and no such limit is inherent
to GENEVE in any way.  I am releasing this as an RFC patch series at
this point both as a means of reporting progress on this effort and
in hopes of collecting useful feedback.

Using the included iproute2 patch, a GENEVE tunnel is created thusly:

	ip link add dev gnv0 type geneve remote 192.168.22.1 vni 1234
	ip link set gnv0 up
	ip addr add 10.1.1.1/24 dev gnv0

After a corresponding tunnel interface is created at the link partner,
traffic should proceed as expected.

Please let me know if anyone has problems.  I look forward to your
feedback!

John

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

end of thread, other threads:[~2015-04-06 22:52 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-02 19:17 [RFC] add GENEVE netdev tunnel driver John W. Linville
2015-04-02 19:17 ` [RFC PATCH 1/5] geneve: remove MODULE_ALIAS_RTNL_LINK from net/ipv4/geneve.c John W. Linville
2015-04-02 23:39   ` Stephen Hemminger
2015-04-03 12:17     ` Jiri Pirko
2015-04-03 14:27       ` John W. Linville
2015-04-02 19:17 ` [RFC PATCH 2/5] geneve: move definition of geneve_hdr() to geneve.h John W. Linville
2015-04-02 19:17 ` [RFC PATCH 3/5] Rename support library for geneve John W. Linville
2015-04-03  0:05   ` Cong Wang
2015-04-03 14:40     ` John W. Linville
2015-04-03 15:54       ` Nicolas Dichtel
2015-04-03 18:25         ` John W. Linville
2015-04-02 19:17 ` [RFC PATCH 4/5] libgeneve: identify as driver library in modules description John W. Linville
2015-04-02 19:17 ` [RFC PATCH 5/5] geneve: add initial netdev driver for GENEVE tunnels John W. Linville
2015-04-02 20:20   ` Jiri Pirko
2015-04-03 14:57     ` John W. Linville
2015-04-03 15:07       ` John W. Linville
2015-04-03 15:20         ` Jiri Pirko
2015-04-03 18:31           ` John W. Linville
2015-04-03  5:55   ` Simon Horman
2015-04-03 14:41     ` John W. Linville
2015-04-03 21:05   ` Jesse Gross
2015-04-04  1:01     ` Francois Romieu
2015-04-06 18:06       ` Jesse Gross
2015-04-06 18:44         ` John W. Linville
2015-04-06 20:44           ` Francois Romieu
2015-04-06 18:43     ` John W. Linville
2015-04-06 22:52       ` Jesse Gross
2015-04-02 19:17 ` [RFC PATCH] iproute2: GENEVE support John W. Linville

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