diff options
author | Igor Russkikh <Igor.Russkikh@aquantia.com> | 2019-03-23 15:23:31 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-23 22:16:53 -0400 |
commit | 7e2698c4fd35f30fd3e5932ca2825fe5a461e265 (patch) | |
tree | 7fa0ca74fd3cc7e01e3536696f1652deaa82d9e2 /drivers/net/Space.c | |
parent | d64fee0a0320ecc678903c30c2fed56b68979011 (diff) |
net: aquantia: optimize rx path using larger preallocated skb len
Atlantic driver used 14 bytes preallocated skb size. That made L3 protocol
processing inefficient because pskb_pull had to fetch all the L3/L4 headers
from extra fragments.
Specially on UDP flows that caused extra packet drops because CPU was
overloaded with pskb_pull.
This patch uses eth_get_headlen for skb preallocation.
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/Space.c')
0 files changed, 0 insertions, 0 deletions