...
Driver
...
Data & 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 driver’s state structure is stored by the core and can be retrieving within any driver API functions. Figure 7-8 illustrates the structure to track and control Receive & Transmit descriptors. Anchor
...
Figure 7-8 NET_DEV_DATA data structure