X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=lib%2Fodp-util.h;h=1bb1484a90933d6c725782e9ac4815aa51a1c62b;hb=8e53fe8cf7a178cf9702fb1bb916f4645058e5e7;hp=7e8cd38bfccc1dbec5b5a8e4c6d1babf2520b234;hpb=07659514c3c1e8998a4935a998b627d716c559f9;p=cascardo%2Fovs.git diff --git a/lib/odp-util.h b/lib/odp-util.h index 7e8cd38bf..1bb1484a9 100644 --- a/lib/odp-util.h +++ b/lib/odp-util.h @@ -122,6 +122,7 @@ void odp_portno_names_destroy(struct hmap *portno_names); * OVS_KEY_ATTR_RECIRC_ID 4 -- 4 8 * OVS_KEY_ATTR_CT_STATE 4 -- 4 8 * OVS_KEY_ATTR_CT_ZONE 2 2 4 8 + * OVS_KEY_ATTR_CT_MARK 4 -- 4 8 * OVS_KEY_ATTR_ETHERNET 12 -- 4 16 * OVS_KEY_ATTR_ETHERTYPE 2 2 4 8 (outer VLAN ethertype) * OVS_KEY_ATTR_VLAN 2 2 4 8 @@ -131,12 +132,12 @@ void odp_portno_names_destroy(struct hmap *portno_names); * OVS_KEY_ATTR_ICMPV6 2 2 4 8 * OVS_KEY_ATTR_ND 28 -- 4 32 * ---------------------------------------------------------- - * total 504 + * total 512 * * We include some slack space in case the calculation isn't quite right or we * add another field and forget to adjust this value. */ -#define ODPUTIL_FLOW_KEY_BYTES 512 +#define ODPUTIL_FLOW_KEY_BYTES 576 BUILD_ASSERT_DECL(FLOW_WC_SEQ == 34); /* A buffer with sufficient size and alignment to hold an nlattr-formatted flow @@ -172,6 +173,7 @@ struct odp_support { /* If true, serialise the corresponding OVS_KEY_ATTR_CONN_* field. */ bool ct_state; bool ct_zone; + bool ct_mark; }; struct odp_flow_key_parms {