> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Arkadiusz Kubalewski > Sent: Thursday, November 16, 2023 5:58 PM > To: [email protected] > Cc: Zaremba, Larysa <[email protected]>; Kubalewski, Arkadiusz > <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-next] 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]> > --- > Documentation/networking/devlink/ice.rst | 9 +++++++++ > drivers/net/ethernet/intel/ice/ice_devlink.c | 20 ++++++++++++++++++++ > 2 files changed, 29 insertions(+) >
Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel) _______________________________________________ Intel-wired-lan mailing list [email protected] https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
