[ovs-dev] [PATCH] odp-util: Fix incorrect comment.

Simon Horman simon.horman at netronome.com
Fri Nov 25 14:27:23 UTC 2016


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 <blp at ovn.org>

Acked-by: Simon Horman <simon.horman at netronome.com>

> ---
>  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
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
> 


More information about the dev mailing list