RE: [PATCH v4 17/19] IB/mad: Implement support for Intel Omni-Path Architecture base version MADs in ib_create_send_mad

2015-04-08 Thread Hefty, Sean
> > Didn't an earlier patch make is possible to read the mad_size directly > from the device? > > > > Not exactly, that patch specified the "max_mad_size" the device supported. > > OPA devices support IB MADs. If the IB Base Version is specified on an > OPA > device the IB MAD size is to be used

Re: [PATCH v4 17/19] IB/mad: Implement support for Intel Omni-Path Architecture base version MADs in ib_create_send_mad

2015-04-08 Thread ira.weiny
On Fri, Apr 03, 2015 at 05:40:22PM -0600, Hefty, Sean wrote: > > @@ -937,20 +937,31 @@ struct ib_mad_send_buf * ib_create_send_mad(struct > > ib_mad_agent *mad_agent, > > struct ib_mad_send_wr_private *mad_send_wr; > > int pad, message_size, ret, size; > > void *buf; > > + size_t mad_

RE: [PATCH v4 17/19] IB/mad: Implement support for Intel Omni-Path Architecture base version MADs in ib_create_send_mad

2015-04-03 Thread Hefty, Sean
> @@ -937,20 +937,31 @@ struct ib_mad_send_buf * ib_create_send_mad(struct > ib_mad_agent *mad_agent, > struct ib_mad_send_wr_private *mad_send_wr; > int pad, message_size, ret, size; > void *buf; > + size_t mad_size; > + int opa; > > mad_agent_priv = container_of(m