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>
This commit is contained in:

committed by
David S. Miller

parent
36e53349b6
commit
1dfddc41ae
@@ -1315,6 +1315,7 @@ struct bnxt {
|
||||
u16 fw_tx_stats_ext_size;
|
||||
|
||||
u16 hwrm_max_req_len;
|
||||
u16 hwrm_max_ext_req_len;
|
||||
int hwrm_cmd_timeout;
|
||||
struct mutex hwrm_cmd_lock; /* serialize hwrm messages */
|
||||
struct hwrm_ver_get_output ver_resp;
|
||||
|
Reference in New Issue
Block a user