From: Yosef Etigin Date: Mon, 14 May 2007 04:26:51 +0000 (+0300) Subject: IB/core: Add helpers for uncached GID and P_Key searches X-Git-Tag: v2.6.22-rc3~108^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5eb620c81ce35aa0c533131bf4d06c4c8c2bfadf;p=pandora-kernel.git IB/core: Add helpers for uncached GID and P_Key searches Add ib_find_gid() and ib_find_pkey() functions that use uncached device queries. The calls might block but the returns are always up-to-date. Cache P_Key and GID table lengths in core to avoid extra port info queries. Signed-off-by: Yosef Etigin Acked-by: Michael S. Tsirkin Signed-off-by: Roland Dreier --- Reading git-diff-tree failed