linux/drivers/net/ethernet/intel/i40e
Jacob Keller 41898c66ef i40e: move I40E_FLAG_UDP_FILTER_SYNC to the state field
This flag is modified during run time, possibly even when the RTNL lock
is not held. Additionally it has a few places which should be using
test_and_set or test_and_clear atomic bit operations.

Create a new state bit __I40E_UDP_SYNC_PENDING and use it instead of the
ole I40E_FLAG_UDP_FILTER_SYNC flag.

This is part of a larger effort to remove the need for using 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:44:02 -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_UDP_FILTER_SYNC to the state field 2018-03-26 13:44:02 -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_UDP_FILTER_SYNC to the state field 2018-03-26 13:44:02 -07:00
Makefile intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00