NIC Driver Thread API Reference

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

DrvRecvThread

Started as a thread from RtndConfigure.  Process incoming packets.  Notified by DrvISR thread.

STACK

DrvXmitThread

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

DrvISR

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

 

See Also

IntervalZero.com | Support | Give Feedback