[openib-general] port num in port priv
Hal Rosenstock
halr at voltaire.com
Fri Feb 10 13:46:06 PST 2006
On Fri, 2006-02-10 at 13:56, Hal Rosenstock wrote:
> On Thu, 2006-02-09 at 10:55, Roland Dreier wrote:
> > The current code probably needs to be extended to give
> > the upper layers the port number where a MAD was received, and also to
> > make it possible to specify the port number that a directed route MAD
> > will be sent on.
>
> On the receive side, the port_num is part of the WC for DR SMPs.
> On the send side, the port_num is part of the WR (for DR SMPs).
> So at least that part is covered as far as I can tell.
While this is supported, one issue is that in order to obtain the
port_num on the send side, the optional ib_query_ah must be implemented
as the ib_mad_send_buf only contains an ah and not a port_num.
Is there a better way to handle this ?
-- Hal
> There are some changes I can see and of course, the SMI has not been
> exercised for switch forwarding so there could be some issues there.
>
> -- Hal
>
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
More information about the general
mailing list