infix icon indicating copy to clipboard operation
infix copied to clipboard

infix-ethernet-if: add support for all mv88e6xxx counters

Open troglobit opened this issue 1 year ago • 1 comments

Remaining counters listed in ethtool-to-yang.xlsx, Step Z, including kernel patch to fix missing ethStatsOctet, Step Y.

Links

  • https://github.com/torvalds/linux/commit/0875e311d0b37fcc423134f1df272c4fdde62771
  • https://github.com/torvalds/linux/commit/a59443981e0cdbd0dfea1ad9cec51dc7bcfd0a6b
  • https://elixir.bootlin.com/linux/latest/source/include/linux/ethtool.h#L319
  • https://elixir.bootlin.com/linux/latest/source/include/linux/ethtool.h#L456

troglobit avatar Jul 02 '24 10:07 troglobit

CCB: minimal effort is to add a "raw[]" YANG list which can be populated with the contents of the ethtool counters, regardless of how the driver's counters are named.

Example:

  • raw[]
    • in-foo: 2134
    • out-bar: 2313

troglobit avatar Feb 07 '25 13:02 troglobit