|
An RtxTcpIp driver generally starts two or three additional threads in the RtndConfigure routine and RtndUpDown routine. These threads:
The functions used to manage these threads are local to the NIC driver itself and are summarized in the table below. Click a link to view detailed information about the function.
NOTE: Only functions with a Process Context of STACK can call SetEvent or use any other RTX Handles.
Function |
Description |
Process Context |
Started as a thread from RtndConfigure. Process incoming packets. Notified by DrvISR thread. |
STACK |
|
Started as a thread from RtndConfigure. Post process transmitted packets and start the transmit of the next packet in the transmit queue (if one exists) by calling RtnTransmitDone. Notified by DrvISR |
STACK |
|
Started as an interrupt service thread from RtndConfigure by calling AttachInterruptVector. Run when a receive (and possibly transmit) interrupt occurs. Notifies DrvRecvThread (and possibly DrvXmitThread) by using SetEvent. |
STACK |