]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ixgbe: remove CIAA/D register reads from bad VF check
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 19 Nov 2014 03:18:19 +0000 (03:18 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 5 Dec 2014 17:13:05 +0000 (09:13 -0800)
commit9079e4163136ab1484cd6f06f8933344c0967cf1
treee58b066db9b208e97372aa1b8bcae463b9f1154c
parentc762dff24c06c0eca30e96650f60022eaa1862b0
ixgbe: remove CIAA/D register reads from bad VF check

Accessing the CIAA/D register can block access to the PCI config space.

This patch removes the read/write operations to the CIAA/D registers
and makes use of standard kernel functions for accessing the PCI config
space.

In addition it moves ixgbevf_check_for_bad_vf() into the watchdog subtask
which reduces the frequency of the checks.

CC: Alex Williamson <alex.williamson@redhat.com>
Reported-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c