[ovs-dev] [PATCHv2 2/2] xlate: add backward resubmit trace log.

Ben Pfaff blp at ovn.org
Wed Feb 14 23:05:51 UTC 2018


On Wed, Feb 14, 2018 at 10:56:09AM -0800, William Tu wrote:
> When hitting max translation depth of 64, printing the full
> ofproto trace is huge and consumes too much log.  The patch
> adds a short trace log, which prints the 64 backward resubmit
> table IDs during the translation.
> 
> VMWare-BZ: #2054659
> Signed-off-by: William Tu <u9012063 at gmail.com>
> ---
> An example output:
> 2018-02-14T18:13:09.723Z|00084|ofproto_dpif_xlate|WARN|over max translation depth 64, table ID: [9, 8, 7, 6, 5, 4, 3, 2, 9, 8, 7, 6, 5, 4, 3, 2, 9, 8, 7, 6, 5, 4, 3, 2, 9, 8, 7, 6, 5, 4, 3, 2, 9, 8, 7, 6, 5, 4, 3, 2, 9, 8, 7, 6, 5, 4, 3, 2, 9, 8, 7, 6, 5, 4, 3, 2, 9, 8, 7, 6, 5, 4, 3, 2] while processing in_port=1,vlan_tci=0x0000,dl_src=50:54:00:00:00:01,dl_dst=50:54:00:00:00:ff,dl_type=0x1234 on bridge br0

That's kind of a lot of output!  I was thinking of something shorter
that just summarized the most common table and the number of times it
was jumped to.


More information about the dev mailing list