tag each mem_req as coming from the nic if it is DMA'd from the NIC. the NIC tells the DMA interface, which in turn sets a new nic_req flag in the MemReq it makes.
dev/ns_gige.cc: tell all outgoing dma events that this request is from the NIC --HG-- extra : convert_revision : 62af17a2728a0ff729e7723dc29bd0d130ca5fe3
This commit is contained in:
parent
151bb42173
commit
19fd3439c7
1 changed files with 4 additions and 4 deletions
|
@ -1199,7 +1199,7 @@ NSGigE::doRxDmaRead()
|
|||
rxDmaState = dmaReadWaiting;
|
||||
else
|
||||
dmaInterface->doDMA(Read, rxDmaAddr, rxDmaLen, curTick,
|
||||
&rxDmaReadEvent);
|
||||
&rxDmaReadEvent, true);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -1251,7 +1251,7 @@ NSGigE::doRxDmaWrite()
|
|||
rxDmaState = dmaWriteWaiting;
|
||||
else
|
||||
dmaInterface->doDMA(WriteInvalidate, rxDmaAddr, rxDmaLen, curTick,
|
||||
&rxDmaWriteEvent);
|
||||
&rxDmaWriteEvent, true);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -1651,7 +1651,7 @@ NSGigE::doTxDmaRead()
|
|||
txDmaState = dmaReadWaiting;
|
||||
else
|
||||
dmaInterface->doDMA(Read, txDmaAddr, txDmaLen, curTick,
|
||||
&txDmaReadEvent);
|
||||
&txDmaReadEvent, true);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -1703,7 +1703,7 @@ NSGigE::doTxDmaWrite()
|
|||
txDmaState = dmaWriteWaiting;
|
||||
else
|
||||
dmaInterface->doDMA(WriteInvalidate, txDmaAddr, txDmaLen, curTick,
|
||||
&txDmaWriteEvent);
|
||||
&txDmaWriteEvent, true);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue