From: Sean Hefty Date: Mon, 18 Jun 2007 18:03:58 +0000 (-0700) Subject: IB/sa: Make sure SA queries use default P_Key X-Git-Tag: v2.6.23-rc1~1085^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2aec5c602c6a44e2a3a173339a9ab94549658e4b;p=pandora-kernel.git IB/sa: Make sure SA queries use default P_Key MADs sent to the SA should use the the default P_Key (0x7fff/0xffff). There's no requirement that the default P_Key is stored at index 0 in the local P_Key table, so add code to the sa_query module to look up the index of the default P_Key when creating an address handle for the SA (which is done any time the P_Key table might change), and use this index for all SA queries. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier --- Reading git-diff-tree failed