/* Check for damaged frame due to overflow or collision. Retruns true if rx frame was damaged due to buffer overflow in MTL or late collision in half duplex mode.  */
bool synopGMAC_is_rx_frame_damaged(u32 status)
/* Check for damaged frame due to overflow or collision. Retruns true if rx frame was damaged due to buffer overflow in MTL or late collision in half duplex mode.  */
bool synopGMAC_is_rx_frame_damaged(u32 status)
{
    return (((status & DescRxDamaged) == DescRxDamaged) | ((status & DescRxCollision) == DescRxCollision));
}