Re: [PATCH v2] net: emac: remove IBM_EMAC_RX_SKB_HEADROOM

2019-02-05 Thread David Miller
From: Christian Lamparter Date: Mon, 4 Feb 2019 22:58:29 +0100 > @@ -1195,6 +1195,27 @@ static inline int emac_alloc_rx_skb(struct > emac_instance *dev, int slot, > return 0; > } > > +static inline int > +emac_alloc_rx_skb(struct emac_instance *dev, int slot) > +{ > + struct sk_buf

[PATCH v2] net: emac: remove IBM_EMAC_RX_SKB_HEADROOM

2019-02-04 Thread Christian Lamparter
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 --- drivers/net/ethernet