[ofa-general] question regarding umad_recv

Hal Rosenstock hrosenstock at xsigo.com
Fri Oct 12 04:50:17 PDT 2007


On Fri, 2007-10-12 at 12:09 +0530, Sumit Gaur - Sun Microsystem wrote:
> Hi ,
> 
> Sean Hefty wrote:
> >>There is no per thread demuxing. You would need two different mad agents
> >>to do this with one looking at the SMI side and the other the GSI side.
> >>I haven't looked at libibmad in terms of using this model though.
> > 
> > 
> > umad_receive() doesn't take the mad_agent as an input parameter.  The only
> > possibility I see is calling umad_open_port() twice for the same port, with the
> > GSI/SMI registrations going to separate port_id's.
> I think this solution is also not possible as calling umad_open_port() twice for 
> the same port and ca_name is always gives error in port_alloc because 
> dev_to_umad_id generate same umad_id for same ca_name and portnum.
> 
> ibwarn: [9634] port_alloc: umad port id 1 is already allocated for mthca0 2
> 
> So looks like it is impossible to generate two separate portid for the same port.

It might be possible to support this with some changes to libibumad.
Sasha ?

-- Hal

> > 
> > - Seanumad_open_port()



More information about the general mailing list