Part Number: AM6442
Hallo,
I have noticed, hat you recently implemented XDP ZC for the am65-cpsw-nuss driver.
FROMLIST: net: ethernet: ti: am65-cpsw: Fix clearing of irq_disabled … · TexasInstruments/ti-linux-kernel@5baabe2
I also read the 3.6.3.5. PRU_ICSSG XDP — Processor SDK AM64X Documentation and found some Requirements.
For zero-copy to function properly with PRU_ICSSG, ensure:
Driver Support: Verify the PRU_ICSSG driver is loaded with zero-copy support enabled
Memory Alignment: Buffer addresses must be properly aligned to page boundaries
UMEM Configuration: The UMEM area must be correctly configured: - Properly aligned memory allocation - Sufficient number of packet buffers - Appropriate buffer sizes
Hugepages: Using hugepages for UMEM allocation is recommended for optimal performance
I assume the requirements are the same when using the CPSW with XDP zero copy.
What exactly do we have to consinder in our yocto project to get XDP ZC working?
My current project include "meta-ti:11.02.13", but unfortunately my device crashes as soon as I try to load my bpfprog.o with libxdp. After the crash I cannot do anything, even my serial console is frozen.
Can you imagin what is going wrong?
BR
Artur