Driver Data and Control Using DMA

Each driver should have their own data structure NET_DEV_DATA, which contains status information about data reception, transmission and statistics. The driver’s state structure is stored by the core and can be retrieving within any driver API functions. The figure below illustrates the structure to track and control Receive & Transmit descriptors.