]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbevf: use bit operations for setting and checking resets
authorEmil Tantilov <emil.s.tantilov@intel.com>
Fri, 18 Dec 2015 01:32:55 +0000 (17:32 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 4 Apr 2016 19:51:26 +0000 (12:51 -0700)
commit1c63a845ac502845d5aa0b35740bc68a3ec9342b
tree03fef41d2d17a98fbc0e9338faa397b322850660
parent9572552e6670698c6aaaba7655060e5b95a77004
ixgbevf: use bit operations for setting and checking resets

Move the reset flags to adapter->state in order to make use of bit
operations.

This is an alternative patch to the one previously submitted by
John Greene.

Suggested-by: Alexander Duyck <aduyck@mirantis.com>
Reported-by: Scott Otto <otts62@yahoo.com>
Reported-by: John Greene <jogreene@redhat.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c