commit | 9c584f04959620e587b3b3d358076dab48a8893c | [log] [tgz] |
---|---|---|
author | Matan Barak <matanb@mellanox.com> | Wed Oct 28 16:52:40 2015 +0200 |
committer | Doug Ledford <dledford@redhat.com> | Wed Dec 23 10:19:54 2015 -0500 |
tree | 8886d5acd75e2d01668b71aee9761da4cad23cfb | |
parent | f3906bd36087dd3440ecaf6e044690374d01f927 [diff] |
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>