[Intel-wired-lan] [next PATCH S89 7/8] i40e: stop using cmpxchg flow in i40e_set_priv_flags()

Bowers, AndrewX andrewx.bowers at intel.com
Mon Mar 19 21:16:39 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alice Michael
> Sent: Friday, March 16, 2018 1:27 AM
> To: Michael, Alice <alice.michael at intel.com>; intel-wired-
> lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S89 7/8] i40e: stop using cmpxchg flow
> in i40e_set_priv_flags()
> 
> From: Jacob Keller <jacob.e.keller at intel.com>
> 
> 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 at intel.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 19 +++++--------------
>  1 file changed, 5 insertions(+), 14 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list