diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2014-02-21 20:23:58 -0500 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2014-03-20 03:37:29 -0400 |
commit | 0d7c6e008e3f5b38e9126e7baeb35ce84581911a (patch) | |
tree | 1ba2e58795fe5880f632097e1396f264c0438ebc /tools/perf/scripts/python/syscall-counts.py | |
parent | cbcc637059f0c4ba539e8e8a3be378c6329ac8e2 (diff) |
ixgbe: use ixgbe_read_pci_cfg_word
This patch replaces some direct uses of pci_read_config_word with the
protected ixgbe_read_pci_cfg_word function, which checks for whether the
adapter is removed when LER is enabled. We shouldn't use the
pci_read_config_word calls directly because of these checks.
This patch also cleans up an unnecessary save of a pointer to the mac
object, as our standard style is to just use the hw pointer.
CC: Arun Sharma <asharma@fb.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions