Forum Discussion
Altera_Forum
Honored Contributor
15 years agoIt could be a better idea to only flush the transmit buffer, not all the cache. If the receive buffer is in the cache and a packet is received just before you call alt_dcache_flush_all(), then the new received packet will be overwritten by old data from the cache.
In fact I'm surprised the TSE driver doesn't allocate the 'mbuff' buffers in uncached memory, I thought it did it automatically.