2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/net/ethernet/intel
Jacob Keller caf4daae87 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 <jacob.e.keller@intel.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2024-08-26 09:38:36 -07:00
..
e1000 net: intel: Remove MODULE_AUTHORs 2024-07-11 10:05:52 -07:00
e1000e Networking changes for 6.11. Not much excitement - a handful of large 2024-07-16 19:28:34 -07:00
fm10k net: intel: Remove MODULE_AUTHORs 2024-07-11 10:05:52 -07:00
i40e Merge branch 'net-make-timestamping-selectable' 2024-07-15 08:02:30 -07:00
iavf iavf: add support for offloading tc U32 cls filters 2024-08-13 14:51:29 -07:00
ice ice: improve debug print for control queue messages 2024-08-26 09:38:36 -07:00
idpf idpf: remove redundant 'req_vec_chunks' NULL check 2024-08-16 11:23:39 -07:00
igb igb: cope with large MAX_SKB_FRAGS 2024-08-20 15:46:52 -07:00
igbvf igbvf: Remove two unused declarations 2024-08-19 17:48:33 -07:00
igc igc: Fix qbv tx latency by setting gtxoffset 2024-08-07 13:30:23 -07:00
ixgbe Merge branch 'net-make-timestamping-selectable' 2024-07-15 08:02:30 -07:00
ixgbevf net: intel: Remove MODULE_AUTHORs 2024-07-11 10:05:52 -07:00
libeth Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 2024-07-13 16:04:52 -07:00
libie net: intel: Remove MODULE_AUTHORs 2024-07-11 10:05:52 -07:00
e100.c net: intel: Remove MODULE_AUTHORs 2024-07-11 10:05:52 -07:00
Kconfig idpf: compile singleq code only under default-n CONFIG_IDPF_SINGLEQ 2024-07-10 10:42:26 -07:00
Makefile net: intel: introduce {, Intel} Ethernet common library 2024-04-24 11:06:25 -07:00