/* Checks whether the tx is aborted due to collisions.  */
bool synopGMAC_is_tx_aborted(u32 status)
/* Checks whether the tx is aborted due to collisions.  */
bool synopGMAC_is_tx_aborted(u32 status)
{
    return (((status & DescTxLateCollision) == DescTxLateCollision) | ((status & DescTxExcCollisions) == DescTxExcCollisions));
}