]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 6 Jul 2016 23:41:01 +0000 (16:41 -0700)
commitbcf76e0386713afd31532a66110eb19b5c90a4bb
tree4e9ad4aa10b10b1bbec597f03d96172ec1601720
parent617e3e9f10f157ed59371164ed59cc385f19121e
ixgbevf: use bit operations for setting and checking resets

Orabug: 23177316

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>
(cherry picked from commit d5dd7c3fa4dbff70fc25acf54acb63cf971fd6e9)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c