diff options
Diffstat (limited to 'drivers/infiniband/core/cache.c')
-rw-r--r-- | drivers/infiniband/core/cache.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/infiniband/core/cache.c b/drivers/infiniband/core/cache.c index 5c054072ef20..639a7266bfaf 100644 --- a/drivers/infiniband/core/cache.c +++ b/drivers/infiniband/core/cache.c | |||
@@ -409,10 +409,10 @@ static int ib_cache_gid_find(struct ib_device *ib_dev, | |||
409 | mask, port, index); | 409 | mask, port, index); |
410 | } | 410 | } |
411 | 411 | ||
412 | int ib_cache_gid_find_by_port(struct ib_device *ib_dev, | 412 | int ib_find_cached_gid_by_port(struct ib_device *ib_dev, |
413 | const union ib_gid *gid, | 413 | const union ib_gid *gid, |
414 | u8 port, struct net_device *ndev, | 414 | u8 port, struct net_device *ndev, |
415 | u16 *index) | 415 | u16 *index) |
416 | { | 416 | { |
417 | int local_index; | 417 | int local_index; |
418 | struct ib_gid_table **ports_table = ib_dev->cache.gid_cache; | 418 | struct ib_gid_table **ports_table = ib_dev->cache.gid_cache; |
@@ -438,6 +438,7 @@ int ib_cache_gid_find_by_port(struct ib_device *ib_dev, | |||
438 | 438 | ||
439 | return -ENOENT; | 439 | return -ENOENT; |
440 | } | 440 | } |
441 | EXPORT_SYMBOL(ib_find_cached_gid_by_port); | ||
441 | 442 | ||
442 | static struct ib_gid_table *alloc_gid_table(int sz) | 443 | static struct ib_gid_table *alloc_gid_table(int sz) |
443 | { | 444 | { |