[openib-general] Switch SMI incoming MAD question

Hal Rosenstock
Thu Oct 14 06:21:27 PDT 2004


On Thu, 2004-10-14 at 09:12, Hal Rosenstock wrote:
> Hi,
> 
> We added port_num into the UD send_wr structure to accomodate switches. 
> Isn't a similar thing needed for receive WCs ? The SMI needs to know
> which physical port the DR SMP came in on. If this is the case, it seems
> to me that the right thing to do to add this to the ib_mad_recv_wc
> structure.

I'm half asleep (and half right above)...

I think it needs to be added to ib_wc structure rather than
ib_mad_recv_wc structure as the incoming port that the MAD layer
receives on is not the same as the switch physical port.

-- Hal



More information about the openib-general mailing list