Re: [ovs-dev] [RFC] ofproto-dpif-xlate: Recirculate on stack exhaustion.

2024-03-22 Thread Eelco Chaudron
On 23 Feb 2024, at 2:26, Ilya Maximets wrote: > This change attempts to track the actual available stack and force > recircuation if the flow translation logic is about to overflow it. Thanks Ilya, for taking a stab at this! > Unlike the recursion depth counter, this approach allows to track

[ovs-dev] [RFC] ofproto-dpif-xlate: Recirculate on stack exhaustion.

2024-02-22 Thread Ilya Maximets
This change attempts to track the actual available stack and force recircuation if the flow translation logic is about to overflow it. Unlike the recursion depth counter, this approach allows to track the actual stack usage and bail early even if the recursion depth is not reached yet. This is