]> git.itanic.dy.fi Git - linux-stable/commit
net: emac: remove IBM_EMAC_RX_SKB_HEADROOM
authorChristian Lamparter <chunkeey@gmail.com>
Tue, 5 Feb 2019 21:20:09 +0000 (22:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Feb 2019 03:50:41 +0000 (19:50 -0800)
commit22087d659212d2401f4caa602fd57160ff1e6222
treea47534e6f69bd93e8478ffff37fa4653afec0cca
parenta6e11f6bbd29a92d1357c2f3033a70fb1b767432
net: emac: remove IBM_EMAC_RX_SKB_HEADROOM

The EMAC driver had a custom IBM_EMAC_RX_SKB_HEADROOM
Kconfig option that reserved additional skb headroom for RX.
This patch removes the option and migrates the code
to use napi_alloc_skb() and netdev_alloc_skb_ip_align()
in its place.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/emac/Kconfig
drivers/net/ethernet/ibm/emac/core.c
drivers/net/ethernet/ibm/emac/core.h