[ofa-general] question regarding umad_recv

Sumit Gaur - Sun Microsystem Sumit.Gaur at Sun.COM
Thu Oct 11 23:39:06 PDT 2007


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.

> 
> - Seanumad_open_port()



More information about the general mailing list