aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_sched.c
diff options
context:
space:
mode:
authorJacob Keller <[email protected]>2024-08-06 20:46:22 +0000
committerTony Nguyen <[email protected]>2024-08-26 16:38:36 +0000
commitcaf4daae871c20a3da1a822d8713c858c8a85d5c (patch)
tree7affb36c252de6e83272e0ad9dd8c2ef8ddffe5b /drivers/net/ethernet/intel/ice/ice_sched.c
parentice: implement and use rd32_poll_timeout for ice_sq_done timeout (diff)
downloadkernel-caf4daae871c20a3da1a822d8713c858c8a85d5c.tar.gz
kernel-caf4daae871c20a3da1a822d8713c858c8a85d5c.zip
ice: improve debug print for control queue messages
The ice_debug_cq function is called to print debug data for a control queue descriptor in multiple places. This includes both before we send a message on a transmit queue, after the writeback completion of a message on the transmit queue, and when we receive a message on a receive queue. This function does not include data about *which* control queue the message is on, nor whether it was what we sent to the queue or what we received from the queue. Modify ice_debug_cq to take two extra parameters, a pointer to the control queue and a boolean indicating if this was a response or a command. Improve the debug messages by replacing "CQ CMD" with a string indicating which specific control queue (based on cq->qtype) and whether this was a command sent by the PF or a response from the queue. This helps make the log output easier to understand and consume when debugging. Signed-off-by: Jacob Keller <[email protected]> Reviewed-by: Przemek Kitszel <[email protected]> Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_sched.c')
0 files changed, 0 insertions, 0 deletions