[ofw][patch] port_info record
Hal Rosenstock
hal.rosenstock at gmail.com
Mon Sep 8 05:18:21 PDT 2008
On Mon, Sep 8, 2008 at 2:56 AM, Tzachi Dar <tzachid at mellanox.co.il> wrote:
> Applied at 1560, 1561
Was this ready for incorporation ? There were some unanswered pending
questions from both Sean and me which could affect this.
-- Hal
> Thanks
> Tzachi
>
> ________________________________
> From: ofw-bounces at lists.openfabrics.org
> [mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Slava Strebkov
> Sent: Tuesday, August 26, 2008 1:06 PM
> To: ofw at lists.openfabrics.org
> Subject: [ofw][patch] port_info record
>
> Hi,
>
> The following fixes IPoIB connectivity when IB switch is configured with lmc
>> 0.
>
>
>
> Index: ulp/ipoib/kernel/ipoib_port.c
>
> ===================================================================
>
> --- ulp/ipoib/kernel/ipoib_port.c (revision 1506)
>
> +++ ulp/ipoib/kernel/ipoib_port.c (working copy)
>
> @@ -4939,7 +4939,7 @@
>
> KeResetEvent( &p_port->sa_event );
>
> cl_obj_unlock( &p_port->obj );
>
>
>
> - info.method = IB_MAD_METHOD_GET;
>
> + info.method = IB_MAD_METHOD_GETTABLE;
>
> info.attr_id = IB_MAD_ATTR_PORTINFO_RECORD;
>
> info.attr_size = sizeof(ib_portinfo_record_t);
>
> info.comp_mask = IB_PIR_COMPMASK_BASELID;
>
>
>
> Slava
>
>
>
> _______________________________________________
> ofw mailing list
> ofw at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
>
More information about the ofw
mailing list