[openib-general] RE: [PATCH] Opensm - wrong assertions in error callbacks
Hal Rosenstock
halr at voltaire.com
Wed Nov 23 02:27:06 PST 2005
On Wed, 2005-11-23 at 02:06, Yael Kalka wrote:
> Hi Hal,
> You are correct. The Notices are requests. Then the assertion on the
> resp_expected
> should be removed from the osm_sa_mad_ctrl.c.
Thanks. Applied.
> Thanks,
> Yael
>
> -----Original Message-----
> From: Hal Rosenstock [mailto:halr at voltaire.com]
> Sent: Tuesday, November 22, 2005 3:14 PM
> To: Yael Kalka
> Cc: openib-general at openib.org; Eitan Zahavi
> Subject: Re: [PATCH] Opensm - wrong assertions in error callbacks
>
>
> Hi Yael,
>
> On Tue, 2005-11-22 at 07:19, Yael Kalka wrote:
> > Hi Hal,
> >
> > I saw that in the send_err_callback functions both in osm_sa_mad_ctrl
> > and in osm_sm_mad_ctrl are wrong. I assume we haven't encountered
> > these problems since we haven't encountered send errors on debug
> > mode...
>
> One question about this below:
>
> > In osm_sa_mad_ctrl - all mads should be with resp_expected == FALSE
> > (and not TRUE), as these are all responses.
>
> What about SA Notices ? Aren't they requests from the perspective of the
> SA ?
>
> > In osm_sm_mad_ctrl - we can send both requests and responses (for
> > SMInfo, for example), so no use in checking the resp_expected flag.
> > This patch fixes these issues.
>
> -- Hal
More information about the general
mailing list