diff options
| author | Selvin Xavier <[email protected]> | 2017-08-17 07:58:07 -0700 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2017-08-22 16:23:25 -0400 |
| commit | 7be05753ccc27ce056d45f06a50d150927a88ed7 (patch) | |
| tree | db38f7497eb2a7189106e33fcecaa918e34491e3 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 0c98568c1f00eed16c4b452557ec40f5ac64784d (diff) | |
RDMA: Fix return value check for ib_get_eth_speed()
ib_get_eth_speed() return 0 on success. Fixing the condition checking
and prevent reporting failure for query_port verb.
Fixes: d41861942fc5 ("Add generic function to extract IB speed from netdev")
Signed-off-by: Selvin Xavier <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Reviewed-by: Yuval Shaia <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions