Hi Experts
on TDA4 A core, we do tcp transfer data with PC, data rate is a little big, > 40MBps.
At the begining, tcp transfter is ok.
After some time, maybe serveral hours later, tcp transfer data faill, eth0 fail to transfer data, PC ping TDA4 fails.
And when fails, if type cmd "ifconfig eth0 down" and "ifconfig eth0 up", then PC ping TDA4 ok, TDA4 transfer data by eth0 become ok.
Below is our analyse, we use trace-cmd tool to catch log.
This picture shows nng-task, nng-task is a middleware for data transfer by tcp.
In this picture, after timestamp 947.331683, cpu won't schedule this nng-task.
irq/78-c200000 is eth0 tx interrupt,
This pictures shows after timestamp 945.428927 eth0 tx interrupt be triggered less and less.
In this time period, cpu keep handling irq-78 eth tx, this irq schedule to swapper/0 process, then be wakeup, .... repeat this again.
It seems DMA cann't handle eth tx ringbuffer data to hardware ethernet. this is our guess, could you please analyse.
irq/80-c200000, which is eth0 rx int.
This pictures shows after timestamp 945.359173, eth0 rx interrupt be triggered less and less.
Above is our analyse, could you please help to analyse.
Many thanks!