diff options
author | Daniel Jurgens <[email protected]> | 2016-04-20 16:01:16 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-04-21 15:02:40 -0400 |
commit | 4bfd2e6e53435a214888fd35e230157a38ffc6a0 (patch) | |
tree | 83290b8a28423b8f84d033d0749a7a58b773808c /tools/perf/util/trace-event-scripting.c | |
parent | c12833acff62cff83a8b728253e7ebbc1264d75e (diff) |
net/mlx4_core: Avoid repeated calls to pci enable/disable
Maintain the PCI status and provide wrappers for enabling and disabling
the PCI device. Performing the actions more than once without doing
its opposite results in warning logs.
This occurred when EEH hotplugged the device causing a warning for
disabling an already disabled device.
Fixes: 2ba5fbd62b25 ('net/mlx4_core: Handle AER flow properly')
Signed-off-by: Daniel Jurgens <[email protected]>
Signed-off-by: Yishai Hadas <[email protected]>
Signed-off-by: Or Gerlitz <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions