[openib-general] [PATCH] Problem with directed route SMPs with beginning or ending LID routed parts

Ralph Campbell ralphc at pathscale.com
Fri Jan 13 10:31:55 PST 2006


Sure.  The alternative would be to make ib_create_send_mad() initialize
directed_route to zero and add an access function to set directed_route
when needed.  The access function is needed since directed_route
is in the private part of ib_mad_send_wr_private and not accessible
from ib_mad_send_buf.

On Fri, 2006-01-13 at 09:51 -0800, Sean Hefty wrote:
> Ralph Campbell wrote:
> >  struct ib_mad_send_buf * ib_create_send_mad(struct ib_mad_agent *mad_agent,
> >  					    u32 remote_qpn, u16 pkey_index,
> > -					    int rmpp_active,
> > +					    int rmpp_active, int directed_route,
> >  					    int hdr_len, int data_len,
> >  					    gfp_t gfp_mask);
> 
> Is there a way to do this that doesn't involve changing the ib_create_send_mad 
> interface?
> 
> - Sean
-- 
Ralph Campbell <ralphc at pathscale.com>




More information about the general mailing list