bnxt_en: Notify firmware about IF state changes.
Use latest firmware API to notify firmware about IF state changes. Firmware has the option to clean up resources during IF down and to require the driver to reserve resources again during IF up. 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
97381a1831
commit
25e1acd6b9
@@ -1290,6 +1290,7 @@ struct bnxt {
|
||||
#define BNXT_FW_CAP_LLDP_AGENT 0x00000002
|
||||
#define BNXT_FW_CAP_DCBX_AGENT 0x00000004
|
||||
#define BNXT_FW_CAP_NEW_RM 0x00000008
|
||||
#define BNXT_FW_CAP_IF_CHANGE 0x00000010
|
||||
|
||||
#define BNXT_NEW_RM(bp) ((bp)->fw_cap & BNXT_FW_CAP_NEW_RM)
|
||||
u32 hwrm_spec_code;
|
||||
|
Reference in New Issue
Block a user