Re: [ovs-dev] [PATCH v3] flow: Read recirc depth and flow api enabled once per batch in miniflow_extract

2021-07-08 Thread Ilya Maximets
On 6/28/21 5:19 PM, Balazs Nemeth wrote: > The call to recirc_depth_get involves accessing a TLS value. So read > that once, and store it on the stack for re-use while processing the > batch. The same goes for reading netdev_is_flow_api_enabled(), a > non-inlined function. > > Signed-off-by:

Re: [ovs-dev] [PATCH v3] flow: Read recirc depth and flow api enabled once per batch in miniflow_extract

2021-06-29 Thread Ilya Maximets
On 6/29/21 7:35 AM, Eli Britstein wrote: > > On 6/28/2021 6:19 PM, Balazs Nemeth wrote: >> External email: Use caution opening links or attachments >> >> >> The call to recirc_depth_get involves accessing a TLS value. So read >> that once, and store it on the stack for re-use while processing the

Re: [ovs-dev] [PATCH v3] flow: Read recirc depth and flow api enabled once per batch in miniflow_extract

2021-06-28 Thread Eli Britstein
On 6/28/2021 6:19 PM, Balazs Nemeth wrote: External email: Use caution opening links or attachments The call to recirc_depth_get involves accessing a TLS value. So read that once, and store it on the stack for re-use while processing the batch. The same goes for reading

[ovs-dev] [PATCH v3] flow: Read recirc depth and flow api enabled once per batch in miniflow_extract

2021-06-28 Thread Balazs Nemeth
The call to recirc_depth_get involves accessing a TLS value. So read that once, and store it on the stack for re-use while processing the batch. The same goes for reading netdev_is_flow_api_enabled(), a non-inlined function. Signed-off-by: Balazs Nemeth Acked-by: Gaetan Rivet Acked-by: Paolo