You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your enhancement proposal related to a problem? Please describe.
Currently all ethernet statistics are collected in software. Most of the ethernet devices have build in statistics register. This could be used to relive some of the CPU load.
Describe the solution you'd like
Add a new config option NET_STATISTICS_ETHERNET_HW_COLLECT to enable hardware statistics collection. Drivers not capable of HW collection could guard against it with a build assert. Software statistics should always be possible.
Describe alternatives you've considered
Alternatively a new capability could be added to guard statistics collection, but this would add some overhead also in the SW code path.
The text was updated successfully, but these errors were encountered:
Is your enhancement proposal related to a problem? Please describe.
Currently all ethernet statistics are collected in software. Most of the ethernet devices have build in statistics register. This could be used to relive some of the CPU load.
Describe the solution you'd like
Add a new config option
NET_STATISTICS_ETHERNET_HW_COLLECT
to enable hardware statistics collection. Drivers not capable of HW collection could guard against it with a build assert. Software statistics should always be possible.Describe alternatives you've considered
Alternatively a new capability could be added to guard statistics collection, but this would add some overhead also in the SW code path.
The text was updated successfully, but these errors were encountered: