Page MenuHomeFreeBSD

Add ENI metrics for the ENA driver
ClosedPublic

Authored by mk_semihalf.com on Nov 6 2020, 1:34 PM.
Referenced Files
Unknown Object (File)
Feb 28 2024, 2:50 PM
Unknown Object (File)
Feb 7 2024, 3:32 PM
Unknown Object (File)
Dec 21 2023, 7:23 PM
Unknown Object (File)
Dec 20 2023, 7:07 AM
Unknown Object (File)
Dec 8 2023, 11:52 AM
Unknown Object (File)
Dec 8 2023, 11:52 AM
Unknown Object (File)
Dec 8 2023, 11:52 AM
Unknown Object (File)
Dec 2 2023, 7:31 PM

Details

Summary

The new HAL allows the driver to read extra ENI stats. Exact meaning of
each of them can be found in base/ena_defs/ena_admin_defs.h file and
structure ena_admin_eni_stats.

Those stats are being updated inside of the timer service, which is
executed every second.
ENI metrics are turned off by default. They can be enabled, using the
sysctl node: dev.ena.X.eni_metrics.update_delay
0 value in this node means that the update is turned off. Other values
determine how many seconds must pass, before ENI metrics will be
updated.

They can be acquired, using sysctl:

sysctl dev.ena.X.eni_metrics

Where X stands for the interface number.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Nov 18 2020, 3:18 PM
This revision was automatically updated to reflect the committed changes.