IB/ipath: Fix ib_ipath driver to work with SRP
authorRalph Campbell <ralphc@pathscale.com>
Tue, 18 Jul 2006 01:19:54 +0000 (18:19 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 24 Jul 2006 16:18:07 +0000 (09:18 -0700)
commitc9f79bdc21da9c8d466b6ba7c8bbd6b8e0110ce2
tree89ca483ddd03927103627ab973234b3eaa8dc495
parent3d37b9e209136cf178562bbedc7cd2ecb1da8beb
IB/ipath: Fix ib_ipath driver to work with SRP

I am still working on a proposal to remove the phys_to_virt() calls
in the ib_ipath driver.  In the mean time, this patch allows SRP
to work by fixing the R_Key check and conversion from IB address
to kernel virtual address.  It also returns the correct page size
for FMRs.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_keys.c
drivers/infiniband/hw/ipath/ipath_verbs.c