bgmac: set received skb headroom to NET_SKB_PAD
authorFelix Fietkau <nbd@openwrt.org>
Tue, 14 Apr 2015 10:07:56 +0000 (12:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Apr 2015 18:57:10 +0000 (14:57 -0400)
commit4b62dce450e2447146ff6924a1ce8ad1a6592107
tree118cff26acaebcfe3fdb2918b1dbc9e43f71c049
parenteb64e2923a886441c7b322f138b36029f3fa6a36
bgmac: set received skb headroom to NET_SKB_PAD

A packet buffer offset of 30 bytes is inefficient, because the first 2
bytes end up in a different cacheline.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.c
drivers/net/ethernet/broadcom/bgmac.h