commit | cfecec56ae7c7c40f23fbdac04acee027ca3bd66 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Fri Sep 05 18:29:45 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 05 22:35:27 2014 -0700 |
tree | f6342031d64052601468c246f046600d1822c3fb | |
parent | 126859b992c30915aba8d6768254212010f1b43c [diff] |
mlx4: only pull headers into skb head 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>