Part Number: PROCESSOR-SDK-AM437X
Hi,
we're using an AM437x and Linux OS and need to investigate ways to improve real-time behavior of the Ethernet ports which are currently driven by CPSW. One option would be to make use of a userspace driver. While we'd by that on the one hand not benefit from Linux networking facilities, it should significantly improve real-time behavior in terms of latencies/reaction time because we'd get rid of the overhead, especially resulting from softirqs.
Is there any userland driver available for CPSW?
I've seen solutions which make use LwIP (lightweight IP stack), i.e., an alternative would be to somehow map the necessary memory regions of CPSW into userspace via uio and make use of LwIP stack or a modified version of its driver. Would that be a feasible approach from your point of view?
CPSW is responsible for 2 ports in our system. So, in an ideal world, it would be nice to be able to drive one port via an userspace driver and the other via the normal kernel driver (dedicated real-time port + "normal"/non-RT port for maintenance purposes).
Thanks in advance for your help!
Regards,
Chris