qed*: enhance tx timeout debug info
authorManish Chopra <manishc@marvell.com>
Thu, 2 Dec 2021 21:01:56 +0000 (13:01 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 4 Dec 2021 02:24:20 +0000 (18:24 -0800)
commit0cc3a8017900f856f9bf4fdc41c2b5cb1670aabe
treebcf99bfb1a9189b302ba04c48719c06028b113c5
parentbb14bfc7eb927b47717d82ba7ecc8345d9099cf4
qed*: enhance tx timeout debug info

This patch add some new qed APIs to query status block
info and report various data to MFW on tx timeout event

Along with that it enhances qede to dump more debug logs
(not just specific to the queue which was reported by stack)
on tx timeout which includes various other basic metadata about
all tx queues and other info (like status block etc.)

Signed-off-by: Manish Chopra <manishc@marvell.com>
Signed-off-by: Prabhakar Kushwaha <pkushwaha@marvell.com>
Signed-off-by: Alok Prasad <palok@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/qlogic/qed/qed_int.c
drivers/net/ethernet/qlogic/qed/qed_int.h
drivers/net/ethernet/qlogic/qed/qed_main.c
drivers/net/ethernet/qlogic/qed/qed_mcp.h
drivers/net/ethernet/qlogic/qed/qed_reg_addr.h
drivers/net/ethernet/qlogic/qede/qede_main.c
include/linux/qed/qed_if.h