i40e: stop using cmpxchg flow in i40e_set_priv_flags()
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 16 Mar 2018 08:26:36 +0000 (01:26 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 26 Mar 2018 20:56:45 +0000 (13:56 -0700)
commit886ff146a73627c287262a7d92ddfb50baa29552
treeb1b433c79a507f1912271748e7329ce39eb2a4e5
parentf0ee70a042e267a517e943220e18ae62d3c1995a
i40e: stop using cmpxchg flow in i40e_set_priv_flags()

Now that the only places which modify flags are either (a) during
initialization prior to creating a netdevice, or (b) while holding the
rtnl lock, we no longer need the cmpxchg64 call 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>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c