bnxt_en: Add maximum extended request length fw message support.
authorMichael Chan <michael.chan@broadcom.com>
Sun, 14 Oct 2018 11:02:39 +0000 (07:02 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Oct 2018 05:44:31 +0000 (22:44 -0700)
commit1dfddc41ae4990b991059de8dfc8e802ab67244c
tree7efc21a349c1c2685161338fb37b194fbe2527d4
parent36e53349b60bc6c629949e041567a376c9c42228
bnxt_en: Add maximum extended request length fw message support.

Support the max_ext_req_len field from the HWRM_VER_GET_RESPONSE.
If this field is valid and greater than the mailbox size, use the
short command format to send firmware messages greater than the
mailbox size.  Newer devices use this method to send larger messages
to the firmware.

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