diff options
author | 2015-12-04 16:21:16 -0600 | |
---|---|---|
committer | 2015-12-04 16:21:16 -0600 | |
commit | ea1d3795f65e14619642b5f67382800f58e43f3d (patch) | |
tree | 49c6c45b9c7cb4c8360034d1cd4611a9305304a4 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | PCI: altera: Fix Requester ID for config accesses (diff) | |
download | wireguard-linux-ea1d3795f65e14619642b5f67382800f58e43f3d.tar.xz wireguard-linux-ea1d3795f65e14619642b5f67382800f58e43f3d.zip |
PCI: altera: Check TLP completion status
Check TLP packet successful completion status. This fix the issue when
accessing multi-function devices in enumeration process, TLP will return
error when accessing non-exist function number. Returns PCI error code
instead of generic errno.
Tested on Ethernet adapter card with multi-functions.
[bhelgaas: simplify completion status checking code]
Signed-off-by: Ley Foon Tan <lftan@altera.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions