ixgbe: use atomic bitwise operations when handling reset requests
authorEmil Tantilov <emil.s.tantilov@intel.com>
Fri, 29 Jul 2016 21:46:31 +0000 (14:46 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 19 Aug 2016 05:47:52 +0000 (22:47 -0700)
commit57ca2a4fed520ee85a8fe809ff1947ec7c25aec9
tree10ad11c6c68fccc3cd549e217244a8f7c7b1863f
parentee95053f78ee6883a6aeb75e346346adc0f4aded
ixgbe: use atomic bitwise operations when handling reset requests

Use atomic bitwise operations when setting and checking reset
requests. This should help with possible races in the service task.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c