]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1ef8c4a439bf51cff88a09257620e53653cfb1e5
treeaf2b58950283f0bf49b9f725dd30ab306d28a610
parent44c6557abf2f68c025bf52fde5f29ca2122e274a
IB/rds: Correct ib_api use with gs_dma_address/sg_dma_len

583e223a ("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