/* Gives the transmission collision count. returns the transmission collision count indicating number of collisions occured before the frame was transmitted. Make sure to check excessive collision didnot happen to ensure the count is valid.  */
u32 synopGMAC_get_tx_collision_count(u32 status)
/* Gives the transmission collision count. returns the transmission collision count indicating number of collisions occured before the frame was transmitted. Make sure to check excessive collision didnot happen to ensure the count is valid.  */
u32 synopGMAC_get_tx_collision_count(u32 status)
{
    return ((status & DescTxCollMask) >> DescTxCollShift);
}