IB/rds: Correct ib_api use with gs_dma_address/sg_dma_len
authorMarciniszyn, Mike <mike.marciniszyn@intel.com>
Fri, 21 Dec 2012 08:01:49 +0000 (08:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Dec 2012 23:17:37 +0000 (15:17 -0800)
commitf2e9bd70327d788011cf787a51ceba5925bbc63a
treeaf2b58950283f0bf49b9f725dd30ab306d28a610
parentaf9b078e354614fad1e2e0cef04e216ae37cc389
IB/rds: Correct ib_api use with gs_dma_address/sg_dma_len

0b088e00 ("RDS: Use page_remainder_alloc() for recv bufs")
added uses of sg_dma_len() and sg_dma_address(). This makes
RDS DOA with the qib driver.

IB ulps should use ib_sg_dma_len() and ib_sg_dma_address
respectively since some HCAs overload ib_sg_dma* operations.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib_recv.c