[ovs-dev] [PATCH v2 0/7] create tunnel devices using rtnetlink interface

Eric Garver e at erig.me
Thu Mar 16 22:10:14 UTC 2017


This series adds support for the creation of tunnels using the rtnetlink
interface. This will open the possibility for new features and flags on those
vports without the need to change vport compatibility code.

Support for STT and LISP have not been added because these are not upstream yet,
so we don't know how the interface will be like upstream. And there are no
features in the current drivers right now we could make use of.

Note: This work originally started by Thadeu Lima de Souza Cascardo.

Testing:
  - kernel 4.9.3, in-tree datapath
    - rtnetlink successfully creates devices
  - kernel 4.2.8, in-tree datapath
    - rtnetlink is tried, but fails due to no COLLECT_METADATA support
    - genetlink successfully creates devices
  - kernel 4.2.8, out-of-tree datapath
    - rtnetlink is not tried
    - genetlink successfully creates devices

Eric Garver (6):
  dpif-netlink: break up code that creates compat ports
  dpif-netlink: code to create/destroy tunnel ports via rtnetlink
  dpif-netlink-rtnl: add VXLAN creation support
  dpif-netlink-rtnl: add GRE creation support
  dpif-netlink-rtnl: add GENEVE creation support
  dpif-netlink: Probe for out-of-tree tunnels, decides used interface

Thadeu Lima de Souza Cascardo (1):
  netdev: get device type from vport prefix if it uses one

 NEWS                    |   3 +
 lib/automake.mk         |   3 +
 lib/dpif-netlink-rtnl.c | 503 ++++++++++++++++++++++++++++++++++++++++++++++++
 lib/dpif-netlink-rtnl.h |  54 ++++++
 lib/dpif-netlink.c      | 204 +++++++++++++-------
 lib/dpif-netlink.h      |   2 +
 lib/netdev.c            |  26 ++-
 7 files changed, 726 insertions(+), 69 deletions(-)
 create mode 100644 lib/dpif-netlink-rtnl.c
 create mode 100644 lib/dpif-netlink-rtnl.h

-- 
2.10.0



More information about the dev mailing list