diff options
author | 2021-12-02 13:01:56 -0800 | |
---|---|---|
committer | 2021-12-03 18:24:20 -0800 | |
commit | 0cc3a8017900f856f9bf4fdc41c2b5cb1670aabe (patch) | |
tree | bcf99bfb1a9189b302ba04c48719c06028b113c5 /drivers/net/ethernet/qlogic/qed/qed_mcp.h | |
parent | net: lan966x: fix a IS_ERR() vs NULL check in lan966x_create_targets() (diff) | |
download | linux-dev-0cc3a8017900f856f9bf4fdc41c2b5cb1670aabe.tar.xz linux-dev-0cc3a8017900f856f9bf4fdc41c2b5cb1670aabe.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_mcp.h')
-rw-r--r-- | drivers/net/ethernet/qlogic/qed/qed_mcp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed_mcp.h b/drivers/net/ethernet/qlogic/qed/qed_mcp.h index 564723800d15..2c28d5f86497 100644 --- a/drivers/net/ethernet/qlogic/qed/qed_mcp.h +++ b/drivers/net/ethernet/qlogic/qed/qed_mcp.h @@ -15,6 +15,8 @@ #include "qed_hsi.h" #include "qed_dev_api.h" +#define QED_MFW_REPORT_STR_SIZE 256 + struct qed_mcp_link_speed_params { bool autoneg; |