Re: [ovs-dev] [PATCH] ofproto-dpif-xlate: Log flow in XLATE_REPORT().

2016-08-11 Thread Joe Stringer
On 11 August 2016 at 11:04, Ben Pfaff wrote: > On Thu, Aug 04, 2016 at 02:58:38PM -0700, Joe Stringer wrote: >> To assist debugging pipelines when resubmit resource checks fail, print >> the base_flow from the translation context. This base flow can then be >> used from ofproto/trace to figure out

Re: [ovs-dev] [PATCH] ofproto-dpif-xlate: Log flow in XLATE_REPORT().

2016-08-11 Thread Ben Pfaff
On Thu, Aug 04, 2016 at 02:58:38PM -0700, Joe Stringer wrote: > To assist debugging pipelines when resubmit resource checks fail, print > the base_flow from the translation context. This base flow can then be > used from ofproto/trace to figure out which parts of the pipeline lead > to this transla

[ovs-dev] [PATCH] ofproto-dpif-xlate: Log flow in XLATE_REPORT().

2016-08-04 Thread Joe Stringer
To assist debugging pipelines when resubmit resource checks fail, print the base_flow from the translation context. This base flow can then be used from ofproto/trace to figure out which parts of the pipeline lead to this translation error. As far as I can see, the "## __VA_ARGS__" trick is a GCC