Re: [PATCH net-next v3 2/2] net: openvswitch: make masks cache size configurable

2020-07-30 Thread Eelco Chaudron
On 30 Jul 2020, at 16:23, Tonghao Zhang wrote: On Thu, Jul 30, 2020 at 9:52 PM Eelco Chaudron wrote: On 30 Jul 2020, at 15:25, Tonghao Zhang wrote: On Thu, Jul 30, 2020 at 8:33 PM Eelco Chaudron wrote: Thanks Tonghao for the review, see comments inline below! If I get no more revie

Re: [PATCH net-next v3 2/2] net: openvswitch: make masks cache size configurable

2020-07-30 Thread Tonghao Zhang
On Thu, Jul 30, 2020 at 9:52 PM Eelco Chaudron wrote: > > > > On 30 Jul 2020, at 15:25, Tonghao Zhang wrote: > > > On Thu, Jul 30, 2020 at 8:33 PM Eelco Chaudron > > wrote: > >> > >> Thanks Tonghao for the review, see comments inline below! > >> > >> If I get no more reviews by the end of the wee

Re: [PATCH net-next v3 2/2] net: openvswitch: make masks cache size configurable

2020-07-30 Thread Eelco Chaudron
On 30 Jul 2020, at 15:25, Tonghao Zhang wrote: On Thu, Jul 30, 2020 at 8:33 PM Eelco Chaudron wrote: Thanks Tonghao for the review, see comments inline below! If I get no more reviews by the end of the week I’ll send out a v4. //Eelco On 30 Jul 2020, at 7:07, Tonghao Zhang wrote: On

Re: [PATCH net-next v3 2/2] net: openvswitch: make masks cache size configurable

2020-07-30 Thread Tonghao Zhang
On Thu, Jul 30, 2020 at 8:33 PM Eelco Chaudron wrote: > > Thanks Tonghao for the review, see comments inline below! > > If I get no more reviews by the end of the week I’ll send out a v4. > > //Eelco > > > On 30 Jul 2020, at 7:07, Tonghao Zhang wrote: > > > On Wed, Jul 29, 2020 at 9:27 PM Eelco Ch

Re: [PATCH net-next v3 2/2] net: openvswitch: make masks cache size configurable

2020-07-30 Thread Eelco Chaudron
Thanks Tonghao for the review, see comments inline below! If I get no more reviews by the end of the week I’ll send out a v4. //Eelco On 30 Jul 2020, at 7:07, Tonghao Zhang wrote: On Wed, Jul 29, 2020 at 9:27 PM Eelco Chaudron wrote: This patch makes the masks cache size configurable, or

Re: [PATCH net-next v3 2/2] net: openvswitch: make masks cache size configurable

2020-07-29 Thread Tonghao Zhang
On Wed, Jul 29, 2020 at 9:27 PM Eelco Chaudron wrote: > > This patch makes the masks cache size configurable, or with > a size of 0, disable it. > > Reviewed-by: Paolo Abeni > Signed-off-by: Eelco Chaudron > --- > Changes in v3: > - Use is_power_of_2() function > - Use array_size() function >

[PATCH net-next v3 2/2] net: openvswitch: make masks cache size configurable

2020-07-29 Thread Eelco Chaudron
This patch makes the masks cache size configurable, or with a size of 0, disable it. Reviewed-by: Paolo Abeni Signed-off-by: Eelco Chaudron --- Changes in v3: - Use is_power_of_2() function - Use array_size() function - Fix remaining sparse errors Changes in v2: - Fix sparse warnings - Fix