/* PortDisable private callbacks functions. They handle the user traffic, and the special buffers (one for tx, one for rx) used in portDisable.  */
PRIVATE void ixEthAccPortDisableTxDone(UINT32 cbTag, IX_OSAL_MBUF *mbuf)
/* PortDisable private callbacks functions. They handle the user traffic, and the special buffers (one for tx, one for rx) used in portDisable.  */
PRIVATE void ixEthAccPortDisableTxDone(UINT32 cbTag, IX_OSAL_MBUF *mbuf)
{
    IxEthAccPortId portId = (IxEthAccPortId)cbTag;
    volatile IxEthAccPortDisableState *txState = &ixEthAccMacState[portId].txState;
    if (mbuf == ixEthAccMacState[portId].portDisableTxMbufPtr)
    {
        *txState = TRANSMIT_DONE;
    }
    else
    {
	ixEthAccPortDisableUserBufferCount[portId]++;
        ixEthAccPortDisableTxDoneFn[portId](ixEthAccPortDisableTxDoneCbTag[portId], mbuf);
    }
}