On Thu, Jan 07, 2010 at 04:02:31PM +0200, Or Gerlitz wrote: > > + route->path_rec->hop_limit = 2; >
The reason is that ib_init_ah_from_path() will not set IB_AH_GRH for hop_limit smaller then 2, and since that GRH is required in RoCEE, and since this is specific to RoCEE, I put 2 to make pass this. > why? does this value has any specific meaning? > > > + route->path_rec->mtu_selector = 2; > > all the xxx_selector usages in this code should be > transformed to be from the ib_sa.h selector enum. No specific meaning. It is not interpreted since we don't use SM. I will change that to IB_SA_EQ. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html