ixgbe_add_hwmon_attr(9)
π ixgbe_add_hwmon_attr(9) β Kernel API Manual energy π
okay bestie, welcome to ixgbe_add_hwmon_attr(9), straight from the Kernel API Manual. This one is all about making a hwmon attr table for a hwmon sysfs file, and yes, it's giving very specific kernel-helper main character energy β¨
πΈ NAME
ixgbe_add_hwmon_attr β Create hwmon attr table for a hwmon sysfs file.
π SYNOPSIS
int ixgbe_add_hwmon_attr (struct ixgbe_adapter *adapter , unsigned int
offset , int type );
π¦ ARGUMENTS
adapterβ pointer to the adapter structure π«Άoffsetβ offset in the eeprom sensor data table πtypeβ type of sensor data to display π
β¨ DESCRIPTION
So for each file we want in hwmon's sysfs interface, we need a device_attribute. That device_attribute is included in our hwmon_attr struct, and that struct contains the references to the data structures we need to get the data to display. literally the whole little pipeline for showing sensor data, no cap π
π SEE ALSO
Kernel file ./drivers/net/ethernet/intel/ixgbe/ixgbe_sysfs.c
and that's the whole page, bestie π this one comes from the Kernel API Manual and is dated October 2026, with the source/version footer showing ./drivers/net/ethernet/intel/i... β slay, go read the kernel file if you need more iykyk context π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms