[ovs-dev] [PATCH 1/2] datapath: add hash action

Jesse Gross jesse at nicira.com
Mon Apr 21 16:13:56 UTC 2014


On Sun, Apr 20, 2014 at 11:05 PM, Andy Zhou <azhou at nicira.com> wrote:
> diff --git a/include/linux/openvswitch.h b/include/linux/openvswitch.h
> index 1aa9158..dd2cceb 100644
> --- a/include/linux/openvswitch.h
> +++ b/include/linux/openvswitch.h
> @@ -312,7 +312,8 @@ enum ovs_key_attr {
>         OVS_KEY_ATTR_TUNNEL,    /* Nested set of ovs_tunnel attributes */
>         OVS_KEY_ATTR_SCTP,      /* struct ovs_key_sctp */
>         OVS_KEY_ATTR_TCP_FLAGS, /* be16 TCP flags. */
> -       OVS_KEY_ATTR_DP_HASH,   /* u32 hash value */
> +       OVS_KEY_ATTR_DP_HASH,   /* u32 hash value. Value 0 indicates the hash
> +                                  is not computed by the datpath. */

There's a typo in "datpath" but otherwise looks good.

Acked-by: Jesse Gross <jesse at nicira.com>



More information about the dev mailing list