diff options
| author | Matan Barak <[email protected]> | 2015-10-28 16:52:41 +0200 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2015-12-23 10:32:06 -0500 |
| commit | cee3c4d0c56876f46f4584385603adb30a7cacf7 (patch) | |
| tree | 19506443c5e8265f92f8a3cb73077e61c6deedf0 /tools/perf/scripts/python/bin | |
| parent | 9c584f04959620e587b3b3d358076dab48a8893c (diff) | |
IB/core: don't search the GID table twice
Previously, we've searched the GID table twice: first when we searched
the table for a GID matching the proposed new one, and second when we
didn't find a match, we searched again for an empty GID slot in the
table. Instead, search the table once noting the first empty slot as
we search for our target GID.
Signed-off-by: Matan Barak <[email protected]>
Reviewed-by: Haggai Eran <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions