diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2018-03-16 01:26:30 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2018-03-26 13:09:44 -0700 |
commit | bfe040c3851ad09e0944de7b0973a71323610e23 (patch) | |
tree | c94ef46472b96a18c04666fd5ee1c48a5af78c40 /scripts/kernel-doc | |
parent | 996bfed118748c128ad4b6c05c09fd2f5fdfa1b4 (diff) | |
download | linux-bfe040c3851ad09e0944de7b0973a71323610e23.tar.bz2 |
i40e: move I40E_FLAG_FILTER_SYNC to a state bit
The I40E_FLAG_FILTER_SYNC flag is modified during run time possibly when
the RTNL lock is not held. Thus, it should not be part of pf->flags, and
instead should be using atomic bit operations in the pf->state field.
Create a __I40E_MACVLAN_SYNC_PENDING state bit, and use it instead of
the old I40E_FLAG_FILTER_SYNC flag.
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 'scripts/kernel-doc')
0 files changed, 0 insertions, 0 deletions