[ovs-dev] [PATCH 2/4] ofproto: Translate NXAST_SAMPLE_IPFIX actions into SAMPLE dp actions

Ben Pfaff blp at nicira.com
Thu Jan 17 21:45:00 UTC 2013

On Fri, Jan 11, 2013 at 09:55:42AM -0800, Romain Lenglet wrote:
> Signed-off-by: Romain Lenglet <rlenglet at vmware.com>

I noticed that xlate_sample_ipfix_action() needs to call
commit_odp_actions() before it emits its ODP action.  Otherwise, if
there are pending packet modifications, then they will not appear in
the sampled packet.  (For example, with the actions
"strip_vlan,ipfix(...)", the ipfix-sampled packet would still contain
a VLAN.)



More information about the dev mailing list