Re: [ovs-dev] [PATCH 2/2] dpif-netdev: Introduce netdev array cache

2021-07-16 Thread Ferriter, Cian
gt; >> Sent: Wednesday 14 July 2021 16:21 > >> To: Ferriter, Cian ; Ilya Maximets > >> ; Gaëtan Rivet > >> ; d...@openvswitch.org; Van Haaren, Harry > >> > >> Cc: Majd Dibbiny ; Stokes, Ian ; > >> Flavio Leitner > >> > >> Sub

Re: [ovs-dev] [PATCH 2/2] dpif-netdev: Introduce netdev array cache

2021-07-15 Thread Eli Britstein via dev
Dibbiny ; Stokes, Ian ; Flavio Leitner Subject: Re: [ovs-dev] [PATCH 2/2] dpif-netdev: Introduce netdev array cache On 7/14/2021 5:58 PM, Ferriter, Cian wrote: External email: Use caution opening links or attachments -Original Message- From: Ilya Maximets Sent: Friday 9 July 2021 21:53

Re: [ovs-dev] [PATCH 2/2] dpif-netdev: Introduce netdev array cache

2021-07-15 Thread Ferriter, Cian
;> Sent: Friday 9 July 2021 21:53 > >> To: Ferriter, Cian ; Gaëtan Rivet > >> ; Eli Britstein > >> ; d...@openvswitch.org; Van Haaren, Harry > >> > >> Cc: Majd Dibbiny ; Ilya Maximets ; > >> Stokes, Ian > >> ; Flavio Leitner >

Re: [ovs-dev] [PATCH 2/2] dpif-netdev: Introduce netdev array cache

2021-07-14 Thread Eli Britstein
; Ilya Maximets ; Stokes, Ian ; Flavio Leitner Subject: Re: [ovs-dev] [PATCH 2/2] dpif-netdev: Introduce netdev array cache On 7/8/21 6:43 PM, Ferriter, Cian wrote: Hi Gaetan, Eli and all, Thanks for the patch and the info on how it affects performance in your case. I just wanted to post

Re: [ovs-dev] [PATCH 2/2] dpif-netdev: Introduce netdev array cache

2021-07-14 Thread Ferriter, Cian
uly 2021 17:36 > >> To: Eli Britstein ; > >> ; Van Haaren, > Harry > >> ; Ferriter, Cian > >> Cc: Majd Dibbiny ; Ilya Maximets > >> Subject: Re: [ovs-dev] [PATCH 2/2] dpif-netdev: Introduce netdev array > >> cache > >> > >

Re: [ovs-dev] [PATCH 2/2] dpif-netdev: Introduce netdev array cache

2021-07-09 Thread Ilya Maximets
ve till > Tuesday. > Thanks, > Cian > >> -Original Message- >> From: Gaëtan Rivet >> Sent: Wednesday 7 July 2021 17:36 >> To: Eli Britstein ; >> ; Van Haaren, Harry >> ; Ferriter, Cian >> Cc: Majd Dibbiny ; Ilya Maximets >>

Re: [ovs-dev] [PATCH 2/2] dpif-netdev: Introduce netdev array cache

2021-07-08 Thread Ferriter, Cian
Gaëtan Rivet > Sent: Wednesday 7 July 2021 17:36 > To: Eli Britstein ; > ; Van Haaren, Harry > ; Ferriter, Cian > Cc: Majd Dibbiny ; Ilya Maximets > Subject: Re: [ovs-dev] [PATCH 2/2] dpif-netdev: Introduce netdev array cache > > On Wed, Jul 7, 2021, at 17:05, Eli Bri

Re: [ovs-dev] [PATCH 2/2] dpif-netdev: Introduce netdev array cache

2021-07-07 Thread Eli Britstein
On 7/7/2021 7:35 PM, Gaëtan Rivet wrote: External email: Use caution opening links or attachments On Wed, Jul 7, 2021, at 17:05, Eli Britstein wrote: Port numbers are usually small. Maintain an array of netdev handles indexed by port numbers. It accelerates looking up for them for

Re: [ovs-dev] [PATCH 2/2] dpif-netdev: Introduce netdev array cache

2021-07-07 Thread Gaëtan Rivet
On Wed, Jul 7, 2021, at 17:05, Eli Britstein wrote: > Port numbers are usually small. Maintain an array of netdev handles indexed > by port numbers. It accelerates looking up for them for > netdev_hw_miss_packet_recover(). > > Reported-by: Cian Ferriter > Signed-off-by: Eli Britstein >

[ovs-dev] [PATCH 2/2] dpif-netdev: Introduce netdev array cache

2021-07-07 Thread Eli Britstein
Port numbers are usually small. Maintain an array of netdev handles indexed by port numbers. It accelerates looking up for them for netdev_hw_miss_packet_recover(). Reported-by: Cian Ferriter Signed-off-by: Eli Britstein Reviewed-by: Gaetan Rivet --- lib/dpif-netdev.c | 41