diff options
| author | Parav Pandit <[email protected]> | 2017-11-14 14:52:05 +0200 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2017-12-18 15:37:08 -0700 |
| commit | 151ed9d7009769207cd71065f64f58e7d73add65 (patch) | |
| tree | 0a28daeba9b9f4ebc82f3349367b1c38d1c3b349 /tools/perf/scripts/python/bin | |
| parent | b0dd0d335364a2a748a63413ca4812c9398bf2ae (diff) | |
IB/core: Refactor to avoid unnecessary check on GID lookup miss
Currently on every gid entry comparison miss found variable is checked;
which is not needed as those two comparison fail already indicate that
GID is not found yet.
So refactor to avoid such check and copy the GID index when found.
Signed-off-by: Parav Pandit <[email protected]>
Reviewed-by: Daniel Jurgens <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions