linux/drivers/net/ethernet/intel/i40e
Jacob Keller bfe040c385 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>
2018-03-26 13:09:44 -07:00
..
i40e_adminq_cmd.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_adminq.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_adminq.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_alloc.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_client.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_client.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_common.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_dcb_nl.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_dcb.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_dcb.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_debugfs.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_devids.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_diag.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_diag.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_ethtool.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_hmc.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_hmc.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_lan_hmc.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_lan_hmc.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_main.c i40e: move I40E_FLAG_FILTER_SYNC to a state bit 2018-03-26 13:09:44 -07:00
i40e_nvm.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_osdep.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_prototype.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_ptp.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_register.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_status.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_trace.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_txrx.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_txrx.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_type.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_virtchnl_pf.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e_virtchnl_pf.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
i40e.h i40e: move I40E_FLAG_FILTER_SYNC to a state bit 2018-03-26 13:09:44 -07:00
Makefile intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00