dpif-netlink: add VXLAN creation support
authorThadeu Lima de Souza Cascardo <cascardo@redhat.com>
Thu, 26 May 2016 14:21:36 +0000 (11:21 -0300)
committerThadeu Lima de Souza Cascardo <cascardo@redhat.com>
Thu, 23 Jun 2016 22:08:25 +0000 (19:08 -0300)
commitc90ee897fbd75a78eb2d3ca8ed65d48af7ed1523
tree747392cac0bfc5418cdc0a74b8912ed8dedac7e9
parenta74fa223ad4474442595a6e00a91b0ca691f7862
dpif-netlink: add VXLAN creation support

Creates VXLAN devices using rtnetlink and tunnel metadata. If the kernel does
not support tunnel metadata, it will return EINVAL because of the missing VNI
attribute.

This was tested on kernels 4.2.3, 4.3.6, 4.4.9, 4.5.5 and RHEL-based 3.10. All
of them worked with the system traffic test "datapath - ping over vxlan tunnel".

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com>
lib/dpif-netlink.c