openvswitch: add erspan version I and II support
authorWilliam Tu <u9012063@gmail.com>
Thu, 25 Jan 2018 21:20:11 +0000 (13:20 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Jan 2018 02:39:43 +0000 (21:39 -0500)
commitfc1372f89ffe1f58b589643b75f679e452350703
tree636d313b0c2830bcf6a5dc7217dcd331a9e58c9a
parentd350a823020e71e20a10d1dfa44f1d1d653b0334
openvswitch: add erspan version I and II support

The patch adds support for openvswitch to configure erspan
v1 and v2.  The OVS_TUNNEL_KEY_ATTR_ERSPAN_OPTS attr is added
to uapi as a binary blob to support all ERSPAN v1 and v2's
fields.  Note that Previous commit "openvswitch: Add erspan tunnel
support." was reverted since it does not design properly.

Signed-off-by: William Tu <u9012063@gmail.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/openvswitch.h
net/openvswitch/flow_netlink.c