![]() |
![]() |
Modules | |
CPSW Statistics | |
Macros | |
#define | ENET_STATS_PUBLIC_IOCTL(x) (ENET_IOCTL_STATS_BASE | ENET_IOCTL_MIN(x)) |
Helper macro to create IOCTL commands for STATS module. | |
Typedefs | |
typedef enum EnetStats_Ioctl_e | EnetStats_Ioctl |
Statistics IOCTL commands. | |
Enumerations | |
enum | EnetStats_Ioctl_e { ENET_STATS_IOCTL_GET_VERSION = ENET_STATS_PUBLIC_IOCTL(0U), ENET_STATS_IOCTL_PRINT_REGS = ENET_STATS_PUBLIC_IOCTL(1U), ENET_STATS_IOCTL_GET_HOSTPORT_STATS = ENET_STATS_PUBLIC_IOCTL(2U), ENET_STATS_IOCTL_GET_MACPORT_STATS = ENET_STATS_PUBLIC_IOCTL(3U), ENET_STATS_IOCTL_RESET_HOSTPORT_STATS = ENET_STATS_PUBLIC_IOCTL(4U), ENET_STATS_IOCTL_RESET_MACPORT_STATS = ENET_STATS_PUBLIC_IOCTL(5U) } |
Statistics IOCTL commands. More... | |
enum EnetStats_Ioctl_e |
Statistics IOCTL commands.
Enumerator | |
---|---|
ENET_STATS_IOCTL_GET_VERSION |
Get the hardware version of the Stats module. IOCTL parameters:
|
ENET_STATS_IOCTL_PRINT_REGS |
Print Stats registers. IOCTL parameters:
|
ENET_STATS_IOCTL_GET_HOSTPORT_STATS |
Get host port statistics. Gets the network statistics of the host port. It's caller's responsibility to typecast the returned statistics structure according to the underlying peripheral's definition. Use this IOCTL if the statistics module doesn't support separate host port and MAC port statistics. IOCTL parameters:
|
ENET_STATS_IOCTL_GET_MACPORT_STATS |
Get MAC port statistics. Gets the network statistics of the given MAC port number. It's caller's responsibility to typecast the returned statistics structure according to the underlying peripheral's definition. IOCTL parameters:
|
ENET_STATS_IOCTL_RESET_HOSTPORT_STATS |
Reset host port statistics. Resets the network statistics counters of the host port. Use this IOCTL if the statistics module doesn't support separate host port and MAC port statistics. IOCTL parameters:
|
ENET_STATS_IOCTL_RESET_MACPORT_STATS |
Reset MAC port statistics. Resets the network statistics counters of the given MAC port number. IOCTL parameters:
|