]> git.baikalelectronics.ru Git - kernel.git/commit
net: erspan: introduce erspan v2 for ip_gre
authorWilliam Tu <u9012063@gmail.com>
Thu, 14 Dec 2017 00:38:56 +0000 (16:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Dec 2017 17:34:00 +0000 (12:34 -0500)
commitc8f69224f1b5f1c186044d7136a9a415c066f523
treeb8f61c416c07b251d64e0780999243482b2b7b99
parentc295d817e49dfc9282d85a0da09c76d3bc79787c
net: erspan: introduce erspan v2 for ip_gre

The patch adds support for erspan version 2.  Not all features are
supported in this patch.  The SGT (security group tag), GRA (timestamp
granularity), FT (frame type) are set to fixed value.  Only hardware
ID and direction are configurable.  Optional subheader is also not
supported.

Signed-off-by: William Tu <u9012063@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/erspan.h
include/net/ip_tunnels.h
include/uapi/linux/if_ether.h
include/uapi/linux/if_tunnel.h
net/ipv4/ip_gre.c