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.22, 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
  - Create a native VXLAN interface with incorrect config, run VXLAN
    check-kernel test. Old device is replaced by OVS created one.

v4:
  - If device exists, verify and potentially delete/re-add. This handles the
    case where OVS may be killed.
  - Further commonize rtnetlink code; create, verify, delete
  - Incorporate Joe's style changes from last review

v3:
  - commonzie code to get port data to verify port
  - eliminate dpif_netlink_rtnl_vxlan_destroy() and alike
  - minor changes for coding style guidelines
  - add ACKs from previous reviews

Eric Garver (6):
  dpif-netlink: break up code that creates compat ports
  dpif-netlink: Support rtnetlink port creation.
  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 | 427 ++++++++++++++++++++++++++++++++++++++++++++++++
 lib/dpif-netlink-rtnl.h |  54 ++++++
 lib/dpif-netlink.c      | 210 ++++++++++++++++--------
 lib/dpif-netlink.h      |   2 +
 lib/netdev.c            |  26 ++-
 7 files changed, 651 insertions(+), 74 deletions(-)
 create mode 100644 lib/dpif-netlink-rtnl.c
 create mode 100644 lib/dpif-netlink-rtnl.h

-- 
2.12.0

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to