]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Reply to firmware's echo request async message.
authorMichael Chan <michael.chan@broadcom.com>
Sun, 14 Feb 2021 23:05:00 +0000 (18:05 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Feb 2021 01:27:51 +0000 (17:27 -0800)
commitd798b0e7509d614ab03c979e633a3191b134ebf9
tree4cacee6a41a15faa711c47ea700d0c56020c64e1
parent5a925e66875ba1ca8cf571863ce5f527b1c8a4f3
bnxt_en: Reply to firmware's echo request async message.

This is a new async message that the firmware can send to check if it
can communicate with the driver.  This is an added error detection
scheme that firmware can use if it suspects errors in the PCIe
interface.  When the driver receives this async message, it will reply
back echoing some data in the async message.  If the firmware is not
getting the reply with the proper data after some retries, error
recovery will kick in.

Reviewed-by: Andy Gospodarek <gospo@broadcom.com>
Reviewed-by: Edwin Peer <edwin.peer@broadcom.com>
Reviewed-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h