Does HAL_ETH_IsRxDataAvailable (in stm32h7xx_hal_eth.c) drop packets?
I'm trying to understand how HAL_ETH_IsRxDataAvailable (STM32CubeH7 1.9.1) works. Most of it makes sense, but the bottom half of the function (from line 1149) appears to destroy packet data and return the descriptors back to DMA ownership if an incomplete packet is encountered.
I'm guessing this is done to stop reception from stalling if a malformed packet is received, but if HAL_ETH_IsRxDataAvailable is polled often, doesn't this mean there is a good chance that large packets (bigger than a single buffer), in the process of being received, could end up being needlessly dropped on a frequent basis? What am I missing?
