]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfc8548723fc04387292fbeb04f314fcbfa4b84a3
tree7efc21a349c1c2685161338fb37b194fbe2527d4
parentcb4cbed87fffea79f40bb5d32f8b1ea97e35918f
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