diff options
author | 2015-10-28 16:52:40 +0200 | |
---|---|---|
committer | 2015-12-23 10:19:54 -0500 | |
commit | 9c584f04959620e587b3b3d358076dab48a8893c (patch) | |
tree | 8886d5acd75e2d01668b71aee9761da4cad23cfb /drivers/infiniband/core/cm.c | |
parent | IB/core: Refactor GID cache's ib_dispatch_event (diff) | |
download | linux-dev-9c584f04959620e587b3b3d358076dab48a8893c.tar.xz linux-dev-9c584f04959620e587b3b3d358076dab48a8893c.zip |
IB/core: Change per-entry lock in RoCE GID table to one lock
Previously, IB GID cached used a lock per entry. This could result
in spending a lot of CPU cycles for locking and unlocking just
in order to find a GID. Changing this in favor of one lock per
a GID table.
Signed-off-by: Matan Barak <matanb@mellanox.com>
Reviewed-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/cm.c')
0 files changed, 0 insertions, 0 deletions