[ewg] useless tavor quirk in ofed 1.3

Or Gerlitz ogerlitz at voltaire.com
Sun Jan 20 04:55:19 PST 2008


Or Gerlitz wrote:
> Index: linux-2.6.18-rc2-devel/drivers/infiniband/core/cma.c
> @@ -1123,6 +1127,11 @@ static int cma_query_ib_route(struct rdm
>  	path_rec.pkey = cpu_to_be16(ib_addr_get_pkey(addr));
>  	path_rec.numb_path = 1;
> 
> +	if (tavor_quirk) {
> +		path_rec.mtu_selector = IB_SA_LT;
> +		path_rec.mtu = IB_MTU_2048;
> +	}

Tziporet, the patch is useless since it does not change the component 
mask, so the SA ignores the mtu/mtu_selector values

> +
>  	id_priv->query_id = ib_sa_path_rec_get(&sa_client, id_priv->id.device,
>  				id_priv->id.port_num, &path_rec,
>  				IB_SA_PATH_REC_DGID | IB_SA_PATH_REC_SGID |

Or.




More information about the ewg mailing list