]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Enhance rammod debug prints to provide pretty details
authorPrabhakar Kushwaha <pkushwaha@marvell.com>
Thu, 2 Dec 2021 10:41:56 +0000 (10:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Dec 2021 12:22:17 +0000 (12:22 +0000)
commitaacfefc88d9a3ad13f02c33e2828fc2c80e6de9f
treeb3ff221c956b05ce144e6a6400178eea02176a09
parenta8555618598581133c43bac230c3260f61039f0b
qed: Enhance rammod debug prints to provide pretty details

Instead of printing numbers of protocol IDs and rammod commands,
enhance debug prints to provide names. s_protocol_types[] and
s_ramrod_cmd_ids arrays[] are added to support along with APIs.

Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: Alok Prasad <palok@marvell.com>
Signed-off-by: Prabhakar Kushwaha <pkushwaha@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_hsi.h
drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c
drivers/net/ethernet/qlogic/qed/qed_sp_commands.c
drivers/net/ethernet/qlogic/qed/qed_spq.c