]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'NAPI-gro-hash'
authorDavid S. Miller <davem@davemloft.net>
Tue, 26 Jun 2018 02:33:04 +0000 (11:33 +0900)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Jun 2018 02:33:04 +0000 (11:33 +0900)
commit4c6f942a4d732b81711dcdf2a0d43a5ebb977de3
tree641f6811f085e35b7f876685e0dbc506defce983
parentd912d3a6273fe3eece38441922e09533a58f3656
parent0bb1221e418e51ffc897e46118ef52dd1c808851
Merge branch 'NAPI-gro-hash'

Convert GRO receive over to hash table.

When many parallel flows are present and being received on the same
RX queue, GRO processing can become expensive because each incoming
frame must traverse the per-NAPI GRO list at each protocol layer
of GRO receive (eth --> ipv{4,6} --> tcp).

Use the already computed hash to chain these SKBs in a hash table
instead of a simple list.

The first patch makes the GRO list a true list_head.

The second patch implements the hash table.

This series patches basic testing and I added some diagnostics
to make sure we really were aggregating GRO frames :-)

Signed-off-by: David S. Miller <davem@davemloft.net>