The driver exports many information i.e. internal statistics, debug information, MAC and DMA registers etc.
These can be read in several ways depending on the type of the information actually needed.
For example a user can be use the ethtool support to get statistics: e.g. using: ethtool -S ethX (that shows the Management counters (MMC) if supported) or sees the MAC/DMA registers: e.g. using: ethtool -d ethX
Compiling the Kernel with CONFIG_DEBUG_FS the driver will export the following debugfs entries:
descriptors_status: To show the DMA TX/RX descriptor ringsdma_cap: To show the HW CapabilitiesDeveloper can also use the debug module parameter to get further debug information (please see: NETIF Msg Level).