[ovs-dev] [PATCH v7] ofproto-dpif-xlate: Reduce stack usage in recursive xlate functions

2023-07-12 Thread Mike Pattrick
Several xlate actions used in recursive translation currently store a large amount of information on the stack. This can result in handler threads quickly running out of stack space despite before xlate_resubmit_resource_check() is able to terminate translation. This patch reduces stack usage by ov

Re: [ovs-dev] [PATCH v7] ofproto-dpif-xlate: Reduce stack usage in recursive xlate functions

2023-07-12 Thread Eelco Chaudron
On 12 Jul 2023, at 15:37, Mike Pattrick wrote: > Several xlate actions used in recursive translation currently store a > large amount of information on the stack. This can result in handler > threads quickly running out of stack space despite before > xlate_resubmit_resource_check() is able to

Re: [ovs-dev] [PATCH v7] ofproto-dpif-xlate: Reduce stack usage in recursive xlate functions

2023-07-13 Thread Ilya Maximets
On 7/12/23 15:37, Mike Pattrick wrote: > Several xlate actions used in recursive translation currently store a > large amount of information on the stack. This can result in handler > threads quickly running out of stack space despite before > xlate_resubmit_resource_check() is able to terminate tr

Re: [ovs-dev] [PATCH v7] ofproto-dpif-xlate: Reduce stack usage in recursive xlate functions

2023-07-13 Thread Eelco Chaudron
On 13 Jul 2023, at 15:10, Ilya Maximets wrote: > On 7/12/23 15:37, Mike Pattrick wrote: >> Several xlate actions used in recursive translation currently store a >> large amount of information on the stack. This can result in handler >> threads quickly running out of stack space despite before >

Re: [ovs-dev] [PATCH v7] ofproto-dpif-xlate: Reduce stack usage in recursive xlate functions

2023-07-13 Thread Eelco Chaudron
On 13 Jul 2023, at 15:15, Eelco Chaudron wrote: > On 13 Jul 2023, at 15:10, Ilya Maximets wrote: > >> On 7/12/23 15:37, Mike Pattrick wrote: >>> Several xlate actions used in recursive translation currently store a >>> large amount of information on the stack. This can result in handler >>> thr

Re: [ovs-dev] [PATCH v7] ofproto-dpif-xlate: Reduce stack usage in recursive xlate functions

2023-08-09 Thread Mike Pattrick
On Thu, Jul 13, 2023 at 9:55 AM Eelco Chaudron wrote: > > > > On 13 Jul 2023, at 15:15, Eelco Chaudron wrote: > > > On 13 Jul 2023, at 15:10, Ilya Maximets wrote: > > > >> On 7/12/23 15:37, Mike Pattrick wrote: > >>> Several xlate actions used in recursive translation currently store a > >>> large

Re: [ovs-dev] [PATCH v7] ofproto-dpif-xlate: Reduce stack usage in recursive xlate functions

2023-08-09 Thread Ilya Maximets
On 8/9/23 15:48, Mike Pattrick wrote: > On Thu, Jul 13, 2023 at 9:55 AM Eelco Chaudron wrote: >> >> >> >> On 13 Jul 2023, at 15:15, Eelco Chaudron wrote: >> >>> On 13 Jul 2023, at 15:10, Ilya Maximets wrote: >>> On 7/12/23 15:37, Mike Pattrick wrote: > Several xlate actions used in recurs