On Wed, Nov 23, 2016 at 11:46:40AM -0800, Ben Pfaff wrote: > The user_action_cookie was once limited to 8 bytes, but that limitation > was eliminated a long time ago. > > Signed-off-by: Ben Pfaff <[email protected]>
Acked-by: Simon Horman <[email protected]> > --- > lib/odp-util.h | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/lib/odp-util.h b/lib/odp-util.h > index ccdbf8e..9c8b05f 100644 > --- a/lib/odp-util.h > +++ b/lib/odp-util.h > @@ -264,8 +264,7 @@ enum user_action_cookie_type { > USER_ACTION_COOKIE_IPFIX, /* Packet for per-bridge IPFIX > sampling. */ > }; > > -/* user_action_cookie is passed as argument to OVS_ACTION_ATTR_USERSPACE. > - * Since it is passed to kernel as u64, its size has to be 8 bytes. */ > +/* user_action_cookie is passed as argument to OVS_ACTION_ATTR_USERSPACE. */ > union user_action_cookie { > uint16_t type; /* enum user_action_cookie_type. */ > > -- > 2.1.3 > > _______________________________________________ > dev mailing list > [email protected] > https://mail.openvswitch.org/mailman/listinfo/ovs-dev > _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
