]> www.infradead.org Git - users/dwmw2/linux.git/commit
bnxt_en: Add functions to copy host context memory
authorSreekanth Reddy <sreekanth.reddy@broadcom.com>
Fri, 15 Nov 2024 15:14:34 +0000 (07:14 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 19 Nov 2024 03:48:55 +0000 (19:48 -0800)
commit23a18b91b609ea640fba0b1d1dabc3a4cc2ba817
treee17e2ba8b4d36e60a6b4ad022d8b1fdbbc532a20
parentde999362ad33d80ae5162670795d990f275960dd
bnxt_en: Add functions to copy host context memory

Host context memory is used by the newer chips to store context
information for various L2 and RoCE states and FW logs.  This
information will be useful for debugging.  This patch adds the
functions to copy all pages of a context memory type to a contiguous
buffer.  The next patches will include the context memory dump
during ethtool -w coredump.

Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Reviewed-by: Hongguang Gao <hongguang.gao@broadcom.com>
Co-developed-by: Shruti Parab <shruti.parab@broadcom.com>
Signed-off-by: Shruti Parab <shruti.parab@broadcom.com>
Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20241115151438.550106-9-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h