diff options
author | Shannon Nelson <shannon.nelson@intel.com> | 2015-02-24 06:58:41 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-03-03 01:07:24 -0800 |
commit | 7edf810c61ce054afc8798178d829d2f139bb976 (patch) | |
tree | 577e9a6e631676b4d3e3b28b10d2824a43956129 /drivers/net/ethernet/intel/i40e/i40e_adminq.h | |
parent | d40d00b1c24d4ecf23b24cb8e16027839bb24a59 (diff) | |
download | blackbird-op-linux-7edf810c61ce054afc8798178d829d2f139bb976.tar.gz blackbird-op-linux-7edf810c61ce054afc8798178d829d2f139bb976.zip |
i40e/i40evf: print FW build number in version string
Include the FW build number in the formatted FW version string. In order
to fit within ethtool's 32 character limit, the etrack's unused high order
bits are trimmed as is the leading 0 for the NVM version. This leaves
us with 2 character left for if/when the etrack id goes to 5 hex chars
and the NVM major number goes to 2 chars.
Change-ID: Icb004c4b9b14a2f54dd200b467fcc1d7b9297308
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_adminq.h')
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_adminq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_adminq.h b/drivers/net/ethernet/intel/i40e/i40e_adminq.h index de17b6fbcc4e..28e519a50de4 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_adminq.h +++ b/drivers/net/ethernet/intel/i40e/i40e_adminq.h @@ -93,6 +93,7 @@ struct i40e_adminq_info { u16 asq_buf_size; /* send queue buffer size */ u16 fw_maj_ver; /* firmware major version */ u16 fw_min_ver; /* firmware minor version */ + u32 fw_build; /* firmware build number */ u16 api_maj_ver; /* api major version */ u16 api_min_ver; /* api minor version */ bool nvm_release_on_done; |