Tom Herbert 0b4cec8c2e net: Check skb->rxhash in gro_receive
When initializing a gro_list for a packet, first check the rxhash of
the incoming skb against that of the skb's in the list. This should be
a very strong inidicator of whether the flow is going to be matched,
and potentially allows a lot of other checks to be short circuited.
Use skb_hash_raw so that we don't force the hash to be calculated.

Tested by running netperf 200 TCP_STREAMs between two machines with
GRO, HW rxhash, and 1G. Saw no performance degration, slight reduction
of time in dev_gro_receive.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-16 16:22:54 -08:00
..
2014-01-13 23:42:39 -08:00
2014-01-13 12:00:16 -08:00
2013-09-23 16:52:45 -04:00
2013-10-19 19:36:19 -04:00
2014-01-14 18:18:22 -08:00
2013-11-21 13:09:42 -05:00
2013-12-09 20:24:18 -05:00