cma: In ucma_convert_path, fix selector values
PATCH 1/1 cma: In ucma_convert_path, fix selector values
Intent is for the selectors to be equal to (exactly) rather than less than. Selector for exactly is value of 2 rather than 1.
---
src/cma.c +3 -3
@@ -701,11 +701,11 @@ static void ucma_convert_path(struct ibv_path_data *path_data, sa_path->numb_path =1 ; sa_path->pkey = path_data->path.pkey; sa_path->sl =ntohs (path_data->path.qosclass_sl) &0xF ; - sa_path->mtu_selector =1 ; + sa_path->mtu_selector =2 ;/* exactly */ sa_path->mtu = path_data->path.mtu &0x1F ; - sa_path->rate_selector =1 ; + sa_path->rate_selector =2 ; sa_path->rate = path_data->path.rate &0x1F ; - sa_path->packet_life_time_selector =1 ; + sa_path->packet_life_time_selector =2 ; sa_path->packet_life_time = path_data->path.packetlifetime &0x1F ; sa_path->preference = (uint8_t ) path_data->flags;
--
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
A message that is not in the archive (sent off-list or not yet received): 53A318F2.2030601-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org
Thanks, Hal. All of your recent patches should be applied.
--
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