/* Checks whether the rx descriptor is valid. if rx descripor is not in error and complete frame is available in the same descriptor  */
bool synopGMAC_is_rx_desc_valid(u32 status)
/* Checks whether the rx descriptor is valid. if rx descripor is not in error and complete frame is available in the same descriptor  */
bool synopGMAC_is_rx_desc_valid(u32 status)
{
    return ((status & DescError) == 0) && ((status & DescRxFirst) == DescRxFirst) && ((status & DescRxLast) == DescRxLast);
}