mirror of
https://github.com/openvswitch/ovs
synced 2025-09-05 08:45:23 +00:00
ofproto: Add NXM_NX_TUN_GBP_ID and NXM_NX_TUN_GBP_FLAGS
Introduces two new NXMs to represent VXLAN-GBP [0] fields. actions=load:0x10->NXM_NX_TUN_GBP_ID[],NORMAL tun_gbp_id=0x10,actions=drop This enables existing VXLAN tunnels to carry security label information such as a SELinux context to other network peers. The values are carried to/from the datapath using the attribute OVS_TUNNEL_KEY_ATTR_VXLAN_OPTS. [0] https://tools.ietf.org/html/draft-smith-vxlan-group-policy-00 Signed-off-by: Madhu Challa <challa@noironetworks.com> Acked-by: Ben Pfaff <blp@nicira.com> Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
This commit is contained in:
committed by
Thomas Graf
parent
c7ecbf1e9c
commit
ac6073e3cd
@@ -114,6 +114,7 @@ void odp_portno_names_destroy(struct hmap *portno_names);
|
||||
* - OVS_TUNNEL_KEY_ATTR_CSUM 0 -- 4 4
|
||||
* - OVS_TUNNEL_KEY_ATTR_OAM 0 -- 4 4
|
||||
* - OVS_TUNNEL_KEY_ATTR_GENEVE_OPTS 256 -- 4 260
|
||||
* - OVS_TUNNEL_KEY_ATTR_VXLAN_OPTS - -- - - (shared with _GENEVE_OPTS)
|
||||
* OVS_KEY_ATTR_IN_PORT 4 -- 4 8
|
||||
* OVS_KEY_ATTR_SKB_MARK 4 -- 4 8
|
||||
* OVS_KEY_ATTR_DP_HASH 4 -- 4 8
|
||||
@@ -133,7 +134,7 @@ void odp_portno_names_destroy(struct hmap *portno_names);
|
||||
* add another field and forget to adjust this value.
|
||||
*/
|
||||
#define ODPUTIL_FLOW_KEY_BYTES 512
|
||||
BUILD_ASSERT_DECL(FLOW_WC_SEQ == 30);
|
||||
BUILD_ASSERT_DECL(FLOW_WC_SEQ == 31);
|
||||
|
||||
/* A buffer with sufficient size and alignment to hold an nlattr-formatted flow
|
||||
* key. An array of "struct nlattr" might not, in theory, be sufficiently
|
||||
|
Reference in New Issue
Block a user