Thread (33 messages) flat view 33 messages, 4 authors, 2015-08-20
STALE4048d

Revision v2 of 4 in this series.

Revisions (4)
  1. v2 current
  2. v3 [diff vs current]
  3. v4 [diff vs current]
  4. v5 [diff vs current]

[PATCH net-next v2 0/9] Geneve: Add support for tunnel metadata mode

From: Pravin B Shelar <hidden>
Date: 2015-08-17 21:11:50

Following patches adds spport for Geneve tunnel metadata
mode. OVS can make use of Geneve net-device with tunnel
metadata API from kernel.

This also allows us to consolidate Geneve implementation
from two kernel modules geneve_core and geneve to single
geneve module. geneve_core module was targeted to share
Geneve encap and decap code between Geneve netdevice and
OVS Geneve tunnel implementation, Since OVS no longer
needs these API, Geneve code can be consolidated into
single geneve module.

v1-v2:
- Replaced per hash table tunnel pointer (metadata enabled) with flag.
- Added support for changelink.
- Improve geneve device route lookup with more parameters.

Pravin B Shelar (9):
  geneve: Initialize ethernet address in device setup.
  geneve: Use skb mark and protocol to lookup route.
  tunnel: introduce udp_tun_rx_dst()
  geneve: Make dst-port configurable.
  geneve: Add support to collect tunnel metadata.
  openvswitch: Use Geneve device.
  geneve: Consolidate Geneve functionality in single module.
  geneve: Move device hash table to geneve socket.
  geneve: Implement rtnl changelink

 drivers/net/Kconfig            |   2 +-
 drivers/net/geneve.c           | 804 +++++++++++++++++++++++++++++++++++------
 drivers/net/vxlan.c            |  18 +-
 include/net/dst_metadata.h     |  27 ++
 include/net/geneve.h           |  35 +-
 include/net/udp_tunnel.h       |   3 +
 include/uapi/linux/if_link.h   |   2 +
 net/ipv4/Kconfig               |  14 -
 net/ipv4/Makefile              |   1 -
 net/ipv4/geneve_core.c         | 447 -----------------------
 net/ipv4/ip_gre.c              |  21 +-
 net/ipv4/udp_tunnel.c          |  24 +-
 net/openvswitch/Kconfig        |   2 +-
 net/openvswitch/vport-geneve.c | 179 ++-------
 14 files changed, 791 insertions(+), 788 deletions(-)
 delete mode 100644 net/ipv4/geneve_core.c

-- 
1.8.3.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help