CONFIG_NET_STATISTICS_ETHERNET

Ethernet statistics

Type: bool

Help

Keep track of Ethernet related statistics. Note that this requires support from the ethernet driver. The driver needs to collect the statistics.

Direct dependencies

NET_L2_ETHERNET && NET_STATISTICS && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At <Zephyr>/subsys/net/ip/Kconfig.stats:96

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:34<Zephyr>/subsys/net/Kconfig:87<Zephyr>/subsys/net/ip/Kconfig:777

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → IP stack → Network statistics

config NET_STATISTICS_ETHERNET
    bool "Ethernet statistics"
    default y
    depends on NET_L2_ETHERNET && NET_STATISTICS && NETWORKING
    help
      Keep track of Ethernet related statistics. Note that this
      requires support from the ethernet driver. The driver needs
      to collect the statistics.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)