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>
This commit is contained in:

committed by
David S. Miller

parent
1d7e2ed22f
commit
f551c91de2
@@ -137,6 +137,9 @@ enum {
|
||||
IFLA_GRE_IGNORE_DF,
|
||||
IFLA_GRE_FWMARK,
|
||||
IFLA_GRE_ERSPAN_INDEX,
|
||||
IFLA_GRE_ERSPAN_VER,
|
||||
IFLA_GRE_ERSPAN_DIR,
|
||||
IFLA_GRE_ERSPAN_HWID,
|
||||
__IFLA_GRE_MAX,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user