From: Eric Nelson > Sent: 24 September 2016 15:42 > The FEC receive accelerator (RACC) supports shifting the data payload of > received packets by 16-bits, which aligns the payload (IP header) on a > 4-byte boundary, which is, if not required, at least strongly suggested > by the Linux networking layer. ... > + /* align IP header */ > + val |= FEC_RACC_SHIFT16;
I can't help feeling that there needs to be corresponding changes to increase the buffer size by 2 (maybe for large mtu) and to discard two bytes from the frame length. If probably ought to be predicated on NET_IP_ALIGN as well. David