[ovs-dev] [PATCH v5 01/13] lib/odp: Masked set action execution and printing.

Ben Pfaff blp at nicira.com
Mon Sep 8 18:31:38 UTC 2014


On Fri, Sep 05, 2014 at 04:05:08PM -0700, Jarno Rajahalme wrote:
> Add a new action type OVS_ACTION_ATTR_SET_MASKED, and support for
> parsing, printing, and committing them.
> 
> Masked set actions add a mask, immediately following the netlink
> attribute data, within the netlink attribute itself.  Thus the key
> attribute size for a masked set action is exactly double of the
> non-masked set action.
> 
> Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
> ---
> v5: Addressed Ben's comments, moved OVS_KEY_ATTR_SET_MASKED comment to
>     this patch.

I think that you can use nl_attr_get() in place of the new get_value()
function-like macro.

Acked-by: Ben Pfaff <blp at nicira.com>



More information about the dev mailing list