]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitd5dd7c3fa4dbff70fc25acf54acb63cf971fd6e9
tree03fef41d2d17a98fbc0e9338faa397b322850660
parent75b6462e965dc76d16254b5fcb3f41ca97f6fef0
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