On 17/11/2015 10:08, Or Gerlitz wrote:
On 11/16/2015 6:37 PM, Sagi Grimberg wrote:--- a/drivers/infiniband/ulp/iser/iser_verbs.c +++ b/drivers/infiniband/ulp/iser/iser_verbs.c @@ -847,7 +847,7 @@ static void iser_route_handler(struct rdma_cm_id *cma_id) conn_param.rnr_retry_count = 6; memset(&req_hdr, 0, sizeof(req_hdr)); - req_hdr.flags = (ISER_ZBVA_NOT_SUP | ISER_SEND_W_INV_NOT_SUP); + req_hdr.flags = ISER_ZBVA_NOT_SUP;isn't there a property of the **local** device we need to check before advertizing that to the target? to be on the safe side, I would do that only over devices that support IB_DEVICE_MEM_MGT_EXTENSIONS, as non-local invalidations are part of the BMME ext of IBTA, right?
This was dependent on using fastreg (which depends on IB_DEVICE_MEM_MGT_EXTENSIONS) at some point but it must have got lost at some point.. Will fix. Thanks! -- 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
