linux_dsm_epyc7002/drivers/net/ethernet/intel/i40e
Jacob Keller 5f76a704b8 i40e: move client flags into state bits
The iWarp client flags are all potentially changed when the RTNL lock is
not held, so they should not be part of the pf->flags variable. Instead,
move them into the state field 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>
2018-03-26 13:50:56 -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 i40e: move client flags into state bits 2018-03-26 13:50:56 -07: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 i40e: move AUTO_DISABLED flags into the state field 2018-03-26 13:46:30 -07: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 client flags into state bits 2018-03-26 13:50:56 -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 i40e: move AUTO_DISABLED flags into the state field 2018-03-26 13:46:30 -07: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 client flags into state bits 2018-03-26 13:50:56 -07:00
Makefile intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00