dpif-netlink: add GENEVE creation support rtnetlink
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)
commiteda4695914839162b140b127a4169766058c957b
tree47a83a5a5cc4d3adb8a69728b7b28d21023f6582
parentd52f4e7f793272dbff4f5fc46869d87243f33c8f
dpif-netlink: add GENEVE creation support

Creates GENEVE devices using rtnetlink and tunnel metadata. If the kernel does
not support tunnel metadata, it will return EINVAL because of the missing ID and
REMOTE attributes.

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

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