Hey Sean:

static inline struct ibv_mr *
rdma_reg_read(struct rdma_cm_id *id, void *addr, size_t length)
{
        return ibv_reg_mr(id->pd, addr, length, IBV_ACCESS_LOCAL_WRITE |
IBV_ACCESS_REMOTE_READ);
}

Should this be used for the registering sink memory of an rdma read? If so, it won't work for iWARP, which requires REMOTE_WRITE for the sink. Should this code look at the transport type and set REMOTE_WRITE for iwarp transports?


Steve.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to