[PATCH v4 2/2] net: moxa: replace build_skb() with netdev_alloc_skb_ip_align() / memcpy()
Jonas Jensen
jonas.jensen at gmail.com
Wed Aug 20 07:24:04 PDT 2014
On 19 August 2014 20:31, Eric Dumazet <eric.dumazet at gmail.com> wrote:
> Instead of :
>
> priv->rx_buf_size = RX_BUF_SIZE +
> SKB_DATA_ALIGN(sizeof(struct skb_shared_info));
>
> I think rx_buf_size can now be RX_BUF_SIZE
You're right, that's now a remnant, see update in v5.
> Another point is that priv->stats seems not needed, as ndev->stats could
> be used instead (and remove moxart_mac_get_stats())
I will fix that. I can add it to patches adding support for ethtool /
stats and PHY.
I think I'm supposed to post those closer to the merge window, which
would keep this set about bug fixes only.
Regards,
Jonas
More information about the linux-arm-kernel
mailing list