IB/core: Expose and rename ib_find_cached_gid_by_port cache API
authorMatan Barak <matanb@mellanox.com>
Thu, 15 Oct 2015 15:38:46 +0000 (18:38 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 22 Oct 2015 03:48:17 +0000 (23:48 -0400)
commitd300ec528b799ca87935b3667f5563f397f00f85
tree731294d458a5a6f2717277497892271b3903d2de
parent55ee3ab2e49a9ead850722ef47698243dd226d16
IB/core: Expose and rename ib_find_cached_gid_by_port cache API

Sometime consumers might want to search for a GID in a specific port.
For example, when a WC arrives and we want to search the GID
that matches that port - it's better to search only the relevant
port.
Exposing and renaming ib_cache_gid_find_by_port in order to match
the naming convention of the module.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cache.c
drivers/infiniband/core/core_priv.h
drivers/infiniband/core/device.c
include/rdma/ib_cache.h