Hello,
do you support XDP in the CPSW driver for am64xx? For the previous cpsw it seems to be implemented.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
do you support XDP in the CPSW driver for am64xx? For the previous cpsw it seems to be implemented.
Hi,
I apologize for the delay in responding. Currently as you noticed the support does not appear to be in the AM64x CPSW driver.
Best Regards,
Schuyler
Hi,
Currently adding this capability is not on the roadmap. Is there an application that you had in mind?
Best Regards,
Schuyler
Hi,
We want to run a PN Controller an this device. We already tried it with codesys, but the ethernet is a bottleneck.
Therefore we search for a "express path" for PN traffic.
Hi,
Would you be able to provide a little more feedback on the bottleneck that you are experiencing with CODESYS? Is this an industrial protocol application performance that you are working on?
Best Regards,
Schuyler
Hi,
Yes, PN=PROFINET is an industrial protocol.
The Application is CODESYS as PN Controller connected to multiple PN Devices.
Hi,
As I mentioned at the moment there is not an XDP option on AM64. So I would like to ask some additional questions on the setup.
- Are you using RT Linux?
- Are you using the Default TI SDK filesystem?
- Are you using a TI EVM?
- Are you doing any core isolation/shielding?
Best Regards,
Schuyler
Hi,
- Are you using RT Linux? - >Yes
- Are you using the Default TI SDK filesystem? - Yes
- Are you using a TI EVM? - Yes
- Are you doing any core isolation/shielding? - No
Hi,
Would you be able to try the TI tiny file system? I am not sure though if there is all the lib support necessary for CODESYS in the tiny file system. The default file system launches several daemons that include network traffic on ethernet ports. Also there are some steps that can be used to raise priority of softirq tasks and perhaps core isolation. Are you familiar with how to do that?
Best Regards,
Schuyler
Hi,
No I'm not familiar with core isolation. I could figure it out, but I would also be happy to get the instruction :-).
To change the softirq prio i would use "chrt" if you have no other proposal.
Can you tell me at which softirq tasks I have to raise the priority?
Hi,
The tasks to be raised are the networking ksoftirqs. On my system using the ps command my ksoftirqs are 9 and 20, (ksoftirq0 and ksoftirq1).
chrt -p <ksoftirq pid #> will return the current scheduling policy and priority, should see something like SCHED_OTHER and priority 0. To set to a higher priority try: chrt -f -p 52 9. This should change the priority to 52 and scheduling policy to FIFO for pid 9. Then you would the same for ksoftirq1. Any prority above 50 is now higher than the kernel priority so please bear this in mind.
I will have an example for single shell boot tomorrow.
Best Regards,
Schuyler
Hi,
I tested the core isolation and changing the prio of the ksoftirqd and had success.
Thank you.