Files
twx-linux/include/linux
Li RongQing d9f37d01e2 net: convert gro_count to bitmask
gro_hash size is 192 bytes, and uses 3 cache lines, if there is few
flows, gro_hash may be not fully used, so it is unnecessary to iterate
all gro_hash in napi_gro_flush(), to occupy unnecessary cacheline.

convert gro_count to a bitmask, and rename it as gro_bitmask, each bit
represents a element of gro_hash, only flush a gro_hash element if the
related bit is set, to speed up napi_gro_flush().

and update gro_bitmask only if it will be changed, to reduce cache
update

Suggested-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Cc: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-16 13:40:54 -07:00
..
2018-06-07 17:34:35 -07:00
2018-06-15 18:10:01 -03:00
2018-06-14 17:01:45 +02:00
2018-06-15 18:10:01 -03:00
2018-06-15 18:10:01 -03:00
2018-06-07 17:34:37 -07:00
2018-06-22 13:43:27 +09:00
2018-06-22 13:43:27 +09:00
2018-06-21 17:39:18 +02:00
2018-06-15 07:55:25 +09:00
2018-06-07 17:34:35 -07:00
2018-06-07 17:34:37 -07:00
2018-06-12 16:19:22 -07:00
2018-06-07 17:34:39 -07:00
2018-07-16 13:40:54 -07:00
2018-06-07 17:34:36 -07:00
2018-06-07 17:34:35 -07:00
2018-06-29 08:48:06 -06:00
2018-06-07 17:34:35 -07:00
2018-07-16 00:12:09 -07:00
2018-07-12 14:50:40 -07:00