> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of Jacob 
> Keller
> Sent: Wednesday, August 7, 2024 2:16 AM
> To: Nguyen, Anthony L <[email protected]>; Intel Wired LAN 
> <[email protected]>; "netdev netdev"@vger.kernel.org
> Cc: Temerkhanov, Sergey <[email protected]>; Kitszel, Przemyslaw 
> <[email protected]>; Kolacinski, Karol 
> <[email protected]>; Wierzbicki, Jacek <[email protected]>
> Subject: [Intel-wired-lan] [PATCH iwl-next 3/7] ice: do not clutter debug 
> logs with unused data
>
> From: Bruce Allan <[email protected]>
>
> Currently, debug logs are unnecessarily cluttered with the contents of 
> command data buffers even if the receiver of that command (i.e. FW or MBX) 
> are not told to read the buffer.  Change to only log command data buffers 
> when the RD flag (indicates receiver needs to read > the buffer) is set.
> Continue to log response data buffer when the returned datalen is non-zero.
>
> Also, rename a local variable to reflect what is in the hardware 
> specification and how it is used elsewhere in the code, use local variables 
> instead of duplicating endian conversions unnecessarily and remove an 
> unnecessary assignment.
>
> Signed-off-by: Bruce Allan <[email protected]>
> Signed-off-by: Jacob Keller <[email protected]>
> Reviewed-by: Przemek Kitszel <[email protected]>
> ---
>  drivers/net/ethernet/intel/ice/ice_adminq_cmd.h |  4 ++++
>  drivers/net/ethernet/intel/ice/ice_controlq.c   | 21 ++++++++++++---------
>  2 files changed, 16 insertions(+), 9 deletions(-)
>

Tested-by: Pucha Himasekhar Reddy <[email protected]> (A 
Contingent worker at Intel)


Reply via email to