i40e: AQ API updates
Fix up NVM config read and write data structs. Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Signed-off-by: Kamil Krawczyk <kamil.krawczyk@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
8d5e33ad72
commit
e910ca7cfc
@ -1831,12 +1831,12 @@ I40E_CHECK_CMD_LENGTH(i40e_aqc_nvm_update);
|
||||
/* NVM Config Read (indirect 0x0704) */
|
||||
struct i40e_aqc_nvm_config_read {
|
||||
__le16 cmd_flags;
|
||||
#define ANVM_SINGLE_OR_MULTIPLE_FEATURES_MASK 1
|
||||
#define ANVM_READ_SINGLE_FEATURE 0
|
||||
#define ANVM_READ_MULTIPLE_FEATURES 1
|
||||
#define I40E_AQ_ANVM_SINGLE_OR_MULTIPLE_FEATURES_MASK 1
|
||||
#define I40E_AQ_ANVM_READ_SINGLE_FEATURE 0
|
||||
#define I40E_AQ_ANVM_READ_MULTIPLE_FEATURES 1
|
||||
__le16 element_count;
|
||||
__le16 element_id; /* Feature/field ID */
|
||||
u8 reserved[2];
|
||||
__le16 element_id; /* Feature/field ID */
|
||||
__le16 element_id_msw; /* MSWord of field ID */
|
||||
__le32 address_high;
|
||||
__le32 address_low;
|
||||
};
|
||||
|
@ -1831,12 +1831,12 @@ I40E_CHECK_CMD_LENGTH(i40e_aqc_nvm_update);
|
||||
/* NVM Config Read (indirect 0x0704) */
|
||||
struct i40e_aqc_nvm_config_read {
|
||||
__le16 cmd_flags;
|
||||
#define ANVM_SINGLE_OR_MULTIPLE_FEATURES_MASK 1
|
||||
#define ANVM_READ_SINGLE_FEATURE 0
|
||||
#define ANVM_READ_MULTIPLE_FEATURES 1
|
||||
#define I40E_AQ_ANVM_SINGLE_OR_MULTIPLE_FEATURES_MASK 1
|
||||
#define I40E_AQ_ANVM_READ_SINGLE_FEATURE 0
|
||||
#define I40E_AQ_ANVM_READ_MULTIPLE_FEATURES 1
|
||||
__le16 element_count;
|
||||
__le16 element_id; /* Feature/field ID */
|
||||
u8 reserved[2];
|
||||
__le16 element_id; /* Feature/field ID */
|
||||
__le16 element_id_msw; /* MSWord of field ID */
|
||||
__le32 address_high;
|
||||
__le32 address_low;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user