diff options
| author | Arkadiusz Kubalewski <[email protected]> | 2023-12-01 18:08:40 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2023-12-05 10:40:12 +0000 |
| commit | b86455a1cbef6829e8da3f93d37a233be2616569 (patch) | |
| tree | 21c470f3ed1de31f10f130a98a1d51f1db0b7c0e /tools/net/ynl/generated/netdev-user.c | |
| parent | ice: read internal temperature sensor (diff) | |
| download | kernel-b86455a1cbef6829e8da3f93d37a233be2616569.tar.gz kernel-b86455a1cbef6829e8da3f93d37a233be2616569.zip | |
ice: add CGU info to devlink info callback
If Clock Generation Unit is present on NIC board user shall know its
details.
Provide the devlink info callback with a new:
- fixed type object (cgu.id) indicating hardware variant of onboard CGU,
- running type object (fw.cgu) consisting of CGU id, config and firmware
versions.
These information shall be known for debugging purposes.
Test (on NIC board with CGU)
$ devlink dev info <bus_name>/<dev_name> | grep cgu
cgu.id 36
fw.cgu 8032.16973825.6021
Test (on NIC board without CGU)
$ devlink dev info <bus_name>/<dev_name> | grep cgu -c
0
Reviewed-by: Larysa Zaremba <[email protected]>
Signed-off-by: Arkadiusz Kubalewski <[email protected]>
Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/netdev-user.c')
0 files changed, 0 insertions, 0 deletions
