[ofa-general] [PATCH 1/2] infiniband-diags/set_mthca_nodedesc.sh: change to work for all HCA's

Ralph Campbell ralph.campbell at qlogic.com
Fri Aug 10 10:18:00 PDT 2007


On Thu, 2007-08-09 at 23:10 -0400, Hal Rosenstock wrote:
> On 8/9/07, Ira Weiny <weiny2 at llnl.gov> wrote:
> > >From 3abf9ac10ee90f7272969486704c2989d254a2ac Mon Sep 17 00:00:00 2001
> > From: Ira K. Weiny <weiny2 at llnl.gov>
> > Date: Thu, 9 Aug 2007 16:07:38 -0700
> > Subject: [PATCH] Modify set_mthca_nodedesc to set the node_desc for any hca type found in sysfs.
> >
> > This has been tested for the MLX4 and mthca cards but not others.
> 
> I think the iPath driver may need some change to make this work.

Writing to /sys/class/infiniband/ipath0/node_desc will change
the string returned by Get(NodeDesc) MADs so this sort
of script should work.




More information about the general mailing list