[ovs-git] [openvswitch/ovs] 245d88: ofproto-dpif-sflow: Recursively examine actions in...

GitHub noreply at github.com
Tue Jan 23 18:39:58 UTC 2018


  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: 245d88bcc3b00c0cf1847704d65f35420160968e
      https://github.com/openvswitch/ovs/commit/245d88bcc3b00c0cf1847704d65f35420160968e
  Author: Zoltan Balogh <zoltan.balogh at ericsson.com>
  Date:   2018-01-23 (Tue, 23 Jan 2018)

  Changed paths:
    M ofproto/ofproto-dpif-sflow.c
    M ofproto/ofproto-dpif-sflow.h
    M ofproto/ofproto-dpif-upcall.c
    M ofproto/ofproto-dpif-xlate.c
    M tests/ofproto-dpif.at

  Log Message:
  -----------
  ofproto-dpif-sflow: Recursively examine actions inside clone.

Until now, dpif_sflow_read_actions() has ignored actions inside clone.
This means that sflow missed tnl_push actions inside clone, which OVS
now uses to avoid tx recirculation.  This commit fixes the problem
by making dpif_sflow_read_actions() recursively process actions inside
clone.

In addition, some sflow data needs to be stored and restored in
ofproto-dpif-xlate when native_tunnel_output() is invoked. Otherwise the
output action of underlay bridge is getting counted too when sFlow is set
on the overlay bridge.

Both bugs are connected to sflows and were introduced by the commit in
the "Fixes:" tag below.

Signed-off-by: Zoltan Balogh <zoltan.balogh at ericsson.com>
CC: Sugesh Chandran <sugesh.chandran at intel.com>
Fixes: 7c12dfc527a5 ("tunneling: Avoid datapath-recirc by combining recirc actions at xlate.")
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list