On 17/11/2015 10:57, Christoph Hellwig wrote:
+ if (dev_attr->device_cap_flags & IB_DEVICE_MEM_MGT_EXTENSIONS) {
+ iser_info("FastReg supported, using FastReg for registration\n");
+ device->reg_ops = &fastreg_ops;
+ } else
if (device->ib_device->alloc_fmr && device->ib_device->dealloc_fmr &&
Should an 'else if'. If the line gets to long it might be time to add a
rdma_cap_fmr() helper to ib_verbs.h
OK, I will.
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html