I am working on ENET driver on the M4 core of IMX6 solox board. I met an issue that it of ENET receiving.
1. My ENET driver can send the packet out success. And it triggered interrupt while sending completes.
2. For receiving:
2.a. Most time, there is no receiving interrupt hit. But I can see some data received (not full frame) in the descriptor buffer.
2.b. Some time, it triggers receiving interrupt once. But then it does not trigger receiving interrupt any more. I can still see some data received (not full frame) in the next descriptor buffer.
2.c. On both 2.a and 2.b, The bit ENETx_EIR.RXB is set (Indicates a receive buffer descriptor is not the last in the frame has been updated).
Does any one meet such issue?
Thanks.