/* Checks whether this tx descriptor is last tx descriptor. This returns true if it is last descriptor either in ring mode or in chain mode.  */
bool synopGMAC_is_last_tx_desc(synopGMACdevice *gmacdev, DmaDesc *desc)
/* Checks whether this tx descriptor is last tx descriptor. This returns true if it is last descriptor either in ring mode or in chain mode.  */
bool synopGMAC_is_last_tx_desc(synopGMACdevice *gmacdev, DmaDesc *desc)
{
    return (((desc->status & TxDescEndOfRing) == TxDescEndOfRing));
}