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)
Mon, Nov 4, 8:53 PM
Unknown Object (File)
Mon, Nov 4, 8:52 PM
Unknown Object (File)
Mon, Nov 4, 8:52 PM
Unknown Object (File)
Mon, Nov 4, 8:42 PM
Unknown Object (File)
Oct 3 2024, 3:42 PM
Unknown Object (File)
Oct 3 2024, 9:55 AM
Unknown Object (File)
Oct 2 2024, 6:59 PM
Unknown Object (File)
Sep 12 2024, 3:36 AM

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.