i40e: set max limit for access polling
Don't bother trying to set a smaller timeout on the polling, just simplify the code and always use the max limit. Also, rename a variable for clarity and fix a comment. Change-ID: I0300c3562ccc4fd5fa3088f8ae52db0c1eb33af5 Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Acked-by: Michal Kosiarz <michal.kosiarz@intel.com> Tested-by: Jim Young <jamesx.m.young@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:

committed by
Jeff Kirsher

parent
2a6d8c2f01
commit
c509c1decb
@@ -260,7 +260,7 @@ enum i40e_aq_resource_access_type {
|
||||
};
|
||||
|
||||
struct i40e_nvm_info {
|
||||
u64 hw_semaphore_timeout; /* 2usec global time (GTIME resolution) */
|
||||
u64 hw_semaphore_timeout; /* usec global time (GTIME resolution) */
|
||||
u32 timeout; /* [ms] */
|
||||
u16 sr_size; /* Shadow RAM size in words */
|
||||
bool blank_nvm_mode; /* is NVM empty (no FW present)*/
|
||||
|
Reference in New Issue
Block a user