]> err.no Git - linux-2.6/commit
IB: Add caching of ports' LMC
authorJack Morgenstein <jackm@mellanox.co.il>
Sun, 18 Jun 2006 03:37:34 +0000 (20:37 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sun, 18 Jun 2006 03:37:34 +0000 (20:37 -0700)
commit6fb9cdbf2cdb2ea187e57ec2e16cc59df2adf86a
tree329eb272835bd3105696ddbc60cdaea971aa2a6e
parent856c256f883f027a14b546164294b4a86fea81a4
IB: Add caching of ports' LMC

Add an LMC cache to struct ib_device, and add a function
ib_get_cached_lmc() to query the cache.

Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/cache.c
include/rdma/ib_cache.h
include/rdma/ib_verbs.h