[ewg] Re: [RFC][1/2] IPoIB UD 4K MTU support

Shirley Ma mashirle at us.ibm.com
Tue Apr 8 00:15:41 PDT 2008


On Fri, 2008-04-04 at 15:36 -0700, Roland Dreier wrote:
>  > +	unsigned int max_ib_mtu;
> 
> I don't see where this is ever set?
> 
>  - R.

It is set in ipoib_main.c, ipoib_add_port()

+       if (!ib_query_port(hca, port, &attr))
+               priv->max_ib_mtu = ib_mtu_enum_to_int(attr.max_mtu);

Thanks
Shirley




More information about the ewg mailing list