[ovs-git] [openvswitch/ovs] 67842e: meta-flow: New functions mf_subfield_copy() and mf...
noreply at github.com
Tue Aug 16 02:30:57 UTC 2016
Author: Ben Pfaff <blp at ovn.org>
Date: 2016-08-15 (Mon, 15 Aug 2016)
meta-flow: New functions mf_subfield_copy() and mf_subfield_swap().
The function nxm_execute_reg_move() was almost a general-purpose function
for manipulating subfields, except for its awkward interface that took a
struct ofpact_reg_move instead of a plain source and destination. This
commit introduces a general-purpose function in meta-flow that corrects
this flaw, and updates the callers. An upcoming commit will introduce a
new user of the function.
This commit also introduces a related function mf_subfield_swap() to swap
the contents of subfields. An upcoming commit will introduce the first
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Ryan Moats <rmoats at us.ibm.com>
Acked-by: Justin Pettit <jpettit at ovn.org>
More information about the git