nes: simplify nes_reg_phys_mr calling conventions
authorChristoph Hellwig <hch@lst.de>
Wed, 23 Dec 2015 18:12:50 +0000 (19:12 +0100)
committerDoug Ledford <dledford@redhat.com>
Wed, 23 Dec 2015 19:29:05 +0000 (14:29 -0500)
commitf64054d850720cf60dc4365249cfa0c9fd03ed65
treec256abf90465345aaa012ee8c1232d524afdaadd
parent35cb3fc0260ad3d6522771f460c598d6740d2304
nes: simplify nes_reg_phys_mr calling conventions

Just pass and address/size pair instead of an ib_phys_buf array.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> [core]
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/nes/nes_cm.c
drivers/infiniband/hw/nes/nes_verbs.c
drivers/infiniband/hw/nes/nes_verbs.h