mlx4: only pull headers into skb head
authorEric Dumazet <edumazet@google.com>
Sat, 6 Sep 2014 01:29:45 +0000 (18:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 6 Sep 2014 05:35:27 +0000 (22:35 -0700)
Use the new fancy eth_get_headlen() to pull exactly the headers
into skb->head.

This speeds up GRE traffic (or more generally tunneled traffuc),
as GRO can aggregate up to 17 MSS per GRO packet instead of 8.

(Pulling too much data was forcing GRO to keep 2 frags per MSS)

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found