summaryrefslogtreecommitdiff
path: root/drivers/net/fjes
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2018-03-16 11:26:32 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-03-26 23:46:30 +0300
commit134201aeadf3109ac9982ea81a79ec68442a07d1 (patch)
treee1c9f639977277e67f11bda3576403264040f578 /drivers/net/fjes
parent41898c66ef02628326827e503c4fd78e71bc13f7 (diff)
downloadlinux-134201aeadf3109ac9982ea81a79ec68442a07d1.tar.xz
i40e: move AUTO_DISABLED flags into the state field
The two Flow Directory auto disable flags are used at run time to mark when the flow director features needed to be disabled. Thus the flags could change even when the RTNL lock is not held. They also have some code constructions which really should be test_and_set or test_and_clear using atomic bit operations. Create new state fields to mark this, and stop including them in pf->flags. This is part of a larger effort to remove the need for 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>
Diffstat (limited to 'drivers/net/fjes')
0 files changed, 0 insertions, 0 deletions