commit | 0605c45ce5f33a51e0b23e1d36f2e56db3c95f58 | [log] [tgz] |
---|---|---|
author | Jacob Keller <jacob.e.keller@intel.com> | Fri Mar 16 01:26:33 2018 -0700 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Mon Mar 26 13:48:10 2018 -0700 |
tree | 25c6a75a8d24e9a6c81f67835d25c741dd736f91 | |
parent | 134201aeadf3109ac9982ea81a79ec68442a07d1 [diff] |
i40e: move I40E_FLAG_TEMP_LINK_POLLING to state field This flag is modified outside of the RTNL lock and thus should not be part of the pf->flags variable. Use a state bit instead, so that we can use atomic bit operations. This is part of a larger effort to remove cmpxchg64 in i40e_set_priv_flags() Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>