LWIP buffer alignment

Tim Harvey tharvey at gateworks.com
Fri Sep 5 19:45:20 CEST 2025


Hi Jerome,

I'm working with a board that has an IMX ENETC MAC on it
drivers/net/fsl_enetc.c and when configured for LWIP it fails and
warns about RX buffers not being 64B aligned:
WARNING at drivers/net/fsl_enetc.c:776/enetc_setup_rx_bdr()!

I tried changing MEM_ALIGNMENT to 64 in lib/lwip/u-boot/lwipopts.h but
that did not align the buffers to 64B. Where are the lwip buffers
created and do you have any suggestions for working around this?

Best Regards,

Tim


More information about the U-Boot mailing list