[ovs-git] [openvswitch/ovs] d1ea2c: xlate: auto ofproto trace when recursion too deep

GitHub noreply at github.com
Tue Mar 6 00:20:06 UTC 2018

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: d1ea2cc3de99f0695ca89b2bebe49452b2a1db07
  Author: William Tu <u9012063 at gmail.com>
  Date:   2018-03-05 (Mon, 05 Mar 2018)

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

  Log Message:
  xlate: auto ofproto trace when recursion too deep

Usually ofproto/trace is used to debug the flow translation error.
When translation error such as recursion too deep or too many resubmit,
the issue might happen momentary; flows causing the recursion expire
when users try to debug it.  This patch enables the ofproto trace
automatically when recursion is too deep or too many resubmit, by
invoking the translation again, and log the ofproto trace as warnings.
Since the log will be huge, rate limit to one per minute.

VMWare-BZ: #2054659
Signed-off-by: William Tu <u9012063 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>

More information about the git mailing list