> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of Paul 
> M Stillwell Jr
> Sent: Wednesday, December 13, 2023 10:37 AM
> To: [email protected]
> Cc: Stillwell Jr, Paul M <[email protected]>
> Subject: [Intel-wired-lan] [PATCH net-next v21 3/5] ice: enable FW logging
>
> Once users have configured the FW logging then allow them to enable it
> by writing to the 'fwlog/enable' file. The file accepts a boolean value
> (0 or 1) where 1 means enable FW logging and 0 means disable FW logging.
>
>   # echo <value> > /sys/kernel/debug/ice/0000\:18\:00.0/fwlog/enable
>
> Where <value> is 0 or 1.
>
> The user can read the 'fwlog/enable' file to see whether logging is
> enabled or not. Reading the actual data is a separate patch. To see the
> current value then:
>
>   # cat /sys/kernel/debug/ice/0000\:18\:00.0/fwlog/enable
>
> Signed-off-by: Paul M Stillwell Jr <[email protected]>
> ---
>  .../net/ethernet/intel/ice/ice_adminq_cmd.h   |  3 +
>  drivers/net/ethernet/intel/ice/ice_debugfs.c  | 98 +++++++++++++++++++
>  drivers/net/ethernet/intel/ice/ice_fwlog.c    | 67 +++++++++++++
>  drivers/net/ethernet/intel/ice/ice_fwlog.h    |  2 +
>  4 files changed, 170 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

Reply via email to