]> 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)
commit350a0982b2f3f8779d57678129868de2e36d08a3
tree7efc21a349c1c2685161338fb37b194fbe2527d4
parentf677ad3ee1d619afb3dba83f4136e1513db0c1a8
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