Re: [PATCH net v1] lan743x: fix ethernet frame cutoff issue

From: Sven Van Asbroeck
Date: Wed Apr 14 2021 - 09:40:57 EST


Hi Julian,

On Wed, Apr 14, 2021 at 9:33 AM Julian Wiedmann <jwi@xxxxxxxxxxxxx> wrote:
>
> __netdev_alloc_skb_ip_align() already reserves the NET_IP_ALIGN part.
> So when the NIC stores into the dma-mapped skb->data parts, each
> fragment will automatically have the required alignment - even when
> you only care about the first fragment's alignment.
>

That's really interesting! I'm going to try that out.