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.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -363,6 +363,7 @@ enum ovs_tunnel_key_attr { · 362 unmodified lines | ||
| 363 | 363 | OVS_TUNNEL_KEY_ATTR_IPV6_SRC, /* struct in6_addr src IPv6 address. */ |
| 364 | 364 | OVS_TUNNEL_KEY_ATTR_IPV6_DST, /* struct in6_addr dst IPv6 address. */ |
| 365 | 365 | OVS_TUNNEL_KEY_ATTR_PAD, |
| 366 | + OVS_TUNNEL_KEY_ATTR_ERSPAN_OPTS, /* struct erspan_metadata */ | |
| 366 | 367 | __OVS_TUNNEL_KEY_ATTR_MAX |
| 367 | 368 | }; |
| 368 | 369 | |