]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitec35611b9dc46c5aed452735377a18ddb6abf2ef
treeb1b433c79a507f1912271748e7329ce39eb2a4e5
parentbd8b7b24877a554a61d459b9b7eaea7189658290
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