Commit e910ca7c authored by Jeff Kirsher's avatar Jeff Kirsher

i40e: AQ API updates

Fix up NVM config read and write data structs.
Signed-off-by: default avatarShannon Nelson <shannon.nelson@intel.com>
Signed-off-by: default avatarKamil Krawczyk <kamil.krawczyk@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 8d5e33ad
...@@ -1831,12 +1831,12 @@ I40E_CHECK_CMD_LENGTH(i40e_aqc_nvm_update); ...@@ -1831,12 +1831,12 @@ I40E_CHECK_CMD_LENGTH(i40e_aqc_nvm_update);
/* NVM Config Read (indirect 0x0704) */ /* NVM Config Read (indirect 0x0704) */
struct i40e_aqc_nvm_config_read { struct i40e_aqc_nvm_config_read {
__le16 cmd_flags; __le16 cmd_flags;
#define ANVM_SINGLE_OR_MULTIPLE_FEATURES_MASK 1 #define I40E_AQ_ANVM_SINGLE_OR_MULTIPLE_FEATURES_MASK 1
#define ANVM_READ_SINGLE_FEATURE 0 #define I40E_AQ_ANVM_READ_SINGLE_FEATURE 0
#define ANVM_READ_MULTIPLE_FEATURES 1 #define I40E_AQ_ANVM_READ_MULTIPLE_FEATURES 1
__le16 element_count; __le16 element_count;
__le16 element_id; /* Feature/field ID */ __le16 element_id; /* Feature/field ID */
u8 reserved[2]; __le16 element_id_msw; /* MSWord of field ID */
__le32 address_high; __le32 address_high;
__le32 address_low; __le32 address_low;
}; };
......
...@@ -1831,12 +1831,12 @@ I40E_CHECK_CMD_LENGTH(i40e_aqc_nvm_update); ...@@ -1831,12 +1831,12 @@ I40E_CHECK_CMD_LENGTH(i40e_aqc_nvm_update);
/* NVM Config Read (indirect 0x0704) */ /* NVM Config Read (indirect 0x0704) */
struct i40e_aqc_nvm_config_read { struct i40e_aqc_nvm_config_read {
__le16 cmd_flags; __le16 cmd_flags;
#define ANVM_SINGLE_OR_MULTIPLE_FEATURES_MASK 1 #define I40E_AQ_ANVM_SINGLE_OR_MULTIPLE_FEATURES_MASK 1
#define ANVM_READ_SINGLE_FEATURE 0 #define I40E_AQ_ANVM_READ_SINGLE_FEATURE 0
#define ANVM_READ_MULTIPLE_FEATURES 1 #define I40E_AQ_ANVM_READ_MULTIPLE_FEATURES 1
__le16 element_count; __le16 element_count;
__le16 element_id; /* Feature/field ID */ __le16 element_id; /* Feature/field ID */
u8 reserved[2]; __le16 element_id_msw; /* MSWord of field ID */
__le32 address_high; __le32 address_high;
__le32 address_low; __le32 address_low;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment