[ovs-dev] [PATCH v5 11/13] datapath: Allow masks for set actions.

Ben Pfaff blp at nicira.com
Tue Sep 9 19:50:12 UTC 2014


On Fri, Sep 05, 2014 at 04:05:18PM -0700, Jarno Rajahalme wrote:
> Masked set action allows more megaflow wildcarding.  Masked set action
> is now supported for all writeable key types, except for the tunnel
> key.
> 
> The set tunnel action is an exception as any input tunnel info is
> cleared before action processing starts, so there is no tunnel info to
> mask.
> 
> The kernel module converts all (non-tunnel) set actions to masked set
> actions.  This makes action processing more uniform, and results in
> less branching and duplicating the action processing code.  When
> returning actions to userspace, the fully masked set actions are
> converted to normal set actions.  To make this mapping consistent, we
> reject fully masked set actions at flow set-up time.
> 
> Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>

I'll leave patches 11, 12, and 13 to Pravin or Jesse.



More information about the dev mailing list