When a packet has finished transmitting, kick the state
machine too. The fifo may have been full and we want to get another packet into it if we can. --HG-- extra : convert_revision : 8f57294bd18f5eccb900118f2de83a4ccfd20dbb
This commit is contained in:
parent
70eb684500
commit
0650e4a43f
1 changed files with 7 additions and 1 deletions
|
@ -284,7 +284,13 @@ class NSGigE : public PciDev
|
|||
* Retransmit event
|
||||
*/
|
||||
void transmit();
|
||||
typedef EventWrapper<NSGigE, &NSGigE::transmit> TxEvent;
|
||||
void txEventTransmit()
|
||||
{
|
||||
transmit();
|
||||
if (txState == txFifoBlock)
|
||||
txKick();
|
||||
}
|
||||
typedef EventWrapper<NSGigE, &NSGigE::txEventTransmit> TxEvent;
|
||||
friend class TxEvent;
|
||||
TxEvent txEvent;
|
||||
|
||||
|
|
Loading…
Reference in a new issue