]> 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)
commit22b6954cafb9113c8e7ae3b94f8de73fe63ef660
treeaf2b58950283f0bf49b9f725dd30ab306d28a610
parent9f1387c105125cb5d3fd9b1ca02517f41c14abaa
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