[openib-general] Re: [PATCH] mad: add GID/class checking for matching received to sent MADs
Jack Morgenstein
jackm at mellanox.co.il
Wed Mar 1 23:01:12 PST 2006
On Wednesday 01 March 2006 20:32, Michael S. Tsirkin wrote:
> > >Right. We assumed the user does not do this, managing TIDs per port.
> > >If you want to enable this, you'll need to extend the check for this
> > > case.
> >
> > Can we just remove the if and let the code fall through?
>
> Sounds reasonable. Jack, why this was this if added in the first place?
One of the parameters in ib_register_mad_agent() is the incoming port number
for receiving MADs. Therefore, TIDs per port will automatically not overlap
since different mad agents are required (each having a unique value in the
upper 32 bits of the TID.
-- Jack
More information about the general
mailing list