I am using the standard nimu_eth.c. The application is recieving approx. 1.8 Gbps Ethernet packet data (jumbo frames). From time to time interrupts are disabled for about 2 ms and I do see large chunks of subsequent packets being lost. How do I prevent packet loss?
Looking to Setup_Rx, I want to use a high number of maxPageEntries in the Qmss_AccCmdCfg struct, so I get in the interrupt handler EmacRxPktISR a high number of packets.I want to combine this with a reasonable value for timerLoadCount. However, the behaviour is different from what I expect. I would expect that with a pending interrupt (due to interrupt disable) or active interrupt handler busy with the ping list, the PDSP will continue to fill the pong list (or vice versa pong/ping). This seems not to happen and I do never get a high number of packets in the ping/pong lists. Is the PDSP accumulator waiting for completion of the interrupt? FYI: with a timerLoadCount=20 I obtain max 18 packets, although maxPageEntries=81
Anybody resolved such issue or knows a way out?
I tried to solve this with not using the QMSS accumulator and polling the RX queue.
>>However no entries seem to be pushed to the RX queue if I do not enable the accumulator.
>>The accumulator is not required, is it? I see only a relation to interrupt generation. How would I use polling instead?
Bypassing accumulator does work as opposed to what I found earlier.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.