datapath: Replace "struct odp_action" by Netlink attributes.
[openvswitch] / datapath / odp-compat.h
index c9d36dfebe245e79ba356156eb0a63d4836b05aa..7ae5df695ee9658d619a016351fcd4415057997a 100644 (file)
@@ -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;