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 <[EMAIL PROTECTED]> _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
