X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Fodp-compat.h;h=b03539aa790e0469f2379b92632dc8af8aa8755b;hb=0a54c658c635b0f0618072e06164652ad5f13f23;hp=c9d36dfebe245e79ba356156eb0a63d4836b05aa;hpb=4230c966859179d706dfd8d68a8fe7641c59e914;p=sliver-openvswitch.git diff --git a/datapath/odp-compat.h b/datapath/odp-compat.h index c9d36dfeb..b03539aa7 100644 --- a/datapath/odp-compat.h +++ b/datapath/odp-compat.h @@ -16,7 +16,7 @@ #include #define ODP_VPORT_LIST32 _IOWR('O', 10, struct compat_odp_portvec) -#define ODP_FLOW_GET32 _IOWR('O', 13, struct compat_odp_flow) +#define ODP_FLOW_GET32 _IOWR('O', 13, struct compat_odp_flowvec) #define ODP_FLOW_PUT32 _IOWR('O', 14, struct compat_odp_flow) #define ODP_FLOW_LIST32 _IOWR('O', 15, struct compat_odp_flowvec) #define ODP_FLOW_DEL32 _IOWR('O', 17, struct compat_odp_flow) @@ -32,7 +32,7 @@ struct compat_odp_flow { struct odp_flow_stats stats; struct odp_flow_key key; compat_uptr_t actions; - u32 n_actions; + u32 actions_len; u32 flags; }; @@ -47,12 +47,8 @@ struct compat_odp_flowvec { }; struct compat_odp_execute { - u16 in_port; - u16 reserved1; - u32 reserved2; - compat_uptr_t actions; - u32 n_actions; + u32 actions_len; compat_uptr_t data; u32 length;