Re: [PATCH net-next] net-gro: use ffs() to speedup napi_gro_flush()

2018-11-23 Thread David Miller
From: Eric Dumazet Date: Wed, 21 Nov 2018 11:39:28 -0800 > We very often have few flows/chains to look at, and we > might increase GRO_HASH_BUCKETS to 32 or 64 in the future. > > Signed-off-by: Eric Dumazet Applied.

[PATCH net-next] net-gro: use ffs() to speedup napi_gro_flush()

2018-11-21 Thread Eric Dumazet
We very often have few flows/chains to look at, and we might increase GRO_HASH_BUCKETS to 32 or 64 in the future. Signed-off-by: Eric Dumazet --- net/core/dev.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/net/core/dev.c b/net/core/dev.c index