[ovs-git] [openvswitch/ovs] d1ea2c: xlate: auto ofproto trace when recursion too deep
noreply at github.com
Tue Mar 6 00:20:06 UTC 2018
Author: William Tu <u9012063 at gmail.com>
Date: 2018-03-05 (Mon, 05 Mar 2018)
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.
Signed-off-by: William Tu <u9012063 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git