lwIP | embeddedsw/emacps: Backport iteration limit fix (!35)

Kinsey Moore (@opticron) gitlab at rtems.org
Tue Dec 23 21:26:22 UTC 2025




Kinsey Moore commented on a discussion on embeddedsw/XilinxProcessorIPLib/drivers/emacps/src/xemacps_bdring.c: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/35#note_137805

 >  		while (BdCount < BdLimitLoc) {
 >  		/* Read the status */
 >  			if(CurBdPtr != NULL){
 >  		BdStr = XEmacPs_BdRead(CurBdPtr, XEMACPS_BD_STAT_OFFSET);

As far as I can tell, the invalidation was never here, always in `xemacpsif_dma.c` in the lwip adapter. The BD ring creation is called from `xemacpsif_dma.c` with memory space that has been marked as non-cached, so invalidation is not necessary for the BD rings.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/35#note_137805
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20251223/d483b34d/attachment.htm>


More information about the bugs mailing list