[Openib-windows] RE: [PATCH] port num

Yossi Leybovich sleybo at mellanox.co.il
Mon Dec 12 23:16:59 PST 2005


> -----Original Message-----
> From: Fab Tillier [mailto:ftillier at silverstorm.com] 
> Sent: Monday, December 12, 2005 9:38 PM
> To: Yossi Leybovich
> Cc: openib-windows at openib.org
> Subject: RE: [PATCH] port num 
> 
> Hi Yossi,
> 
> > From: Yossi Leybovich [mailto:sleybo at mellanox.co.il]
> > Sent: Sunday, December 11, 2005 8:18 AM
> > 
> > Fab
> > 
> > I know its just for debug but....
> > This patch retrive the port number from the bus ifc and store it in 
> > the adapter context.
> > Now the debug prints show the right port.
> 
> That print is only used in one place - would you mind if we 
> just changed it to output the port GUID?
> 
I don't mind to print the port_guid.

But since we already query the port/node guid why not to take the port
number (the bus_port ifc has it in its struct)?
I think it will be useful (maybe for debug or when we will use the both
adapter on both port) to have the port number in the adapter struct.

> If that's OK with you I'll take care of coding it.
> 
> Thanks,
> 
> - Fab
> 



More information about the ofw mailing list