/* checks whether this descriptor contains end of frame. This function is to check whether the descriptor's data buffer contains end of ethernet frame?  */
bool synopGMAC_is_eof_in_rx_desc(DmaDesc *desc)
/* checks whether this descriptor contains end of frame. This function is to check whether the descriptor's data buffer contains end of ethernet frame?  */
bool synopGMAC_is_eof_in_rx_desc(DmaDesc *desc)
{
    return ((desc -> status & DescRxLast) == DescRxLast);
}