[openib-general] Is an umad_close_port a good idea after I disconnect from the SA with osm_vendor_delete ?

Bub Thomas thomas.bub at thomson.net
Sun Nov 26 23:10:48 PST 2006


Sasha,
at least I didn't find an osm_vendor* function that does close the u_mad
port.
Maybe you can open my eyes and tell me which function to use?
Thanks
Thomas

> -----Original Message-----
> From: Sasha Khapyorsky [mailto:sashak at voltaire.com]
> Sent: Saturday, November 25, 2006 3:52 AM
> To: Bub Thomas
> Cc: openib-general at openib.org; Thomas Bub; Erez Cohen
> Subject: Re: [openib-general] Is an umad_close_port a good idea after
I
> disconnect from the SA with osm_vendor_delete ?
> 
> On 13:31 Fri 24 Nov     , Bub Thomas wrote:
> > Yesterday I complained about getting the message:
> >
> > "Ibwarn: [27319] port_alloc: umad port id 0 is already allocated for
> > mthca0 1"
> >
> > when re-connecting to the SA with a osmv_bind_sa.
> >
> > Today I could resolve the issue by doing an umad_close_port after
the
> > osm_vendor_delete.
> > While I don't have a documentation (means example code ;-)) that
> > proposes/does this I'm wondering if this is a really a good idea?
> 
> I guess de-facto this should work. But would not it be better to use
> this API inside osm_vendor_*() functions?
> 
> Sasha






More information about the general mailing list