Re: [ofa-general] Re: [ewg] [PATCH] libibmad: Handle MAD redirection

2009-06-30 Thread Hal Rosenstock
On Tue, Jun 30, 2009 at 2:53 PM, Jason Gunthorpe wrote: > On Tue, Jun 30, 2009 at 02:37:26PM -0400, Hal Rosenstock wrote: > >> > If there is no GRH then you can use GID index 0 and a 0 TC and a 0 >> > FL. According to the spec returning the port GID is NOT optional. >> >> These are not needed when

Re: [ofa-general] Re: [ewg] [PATCH] libibmad: Handle MAD redirection

2009-06-30 Thread Jason Gunthorpe
On Tue, Jun 30, 2009 at 02:37:26PM -0400, Hal Rosenstock wrote: > > If there is no GRH then you can use GID index 0 and a 0 TC and a 0 > > FL. According to the spec returning the port GID is NOT optional. > > These are not needed when using LID based redirection (see > ClassPortInfo RedirectLID d

Re: [ofa-general] Re: [ewg] [PATCH] libibmad: Handle MAD redirection

2009-06-30 Thread Hal Rosenstock
On Tue, Jun 30, 2009 at 2:00 PM, Jason Gunthorpe wrote: > On Tue, Jun 30, 2009 at 02:04:03PM +0200, Joachim Fenkes wrote: >> On Tuesday 30 June 2009 00:01, Hal Rosenstock wrote: >> > On Mon, Jun 29, 2009 at 8:10 AM, Joachim Fenkes wrote: >> >> > > Previously, libibmad reacted to GSI MAD responses w

Re: [ofa-general] Re: [ewg] [PATCH] libibmad: Handle MAD redirection

2009-06-30 Thread Jason Gunthorpe
On Tue, Jun 30, 2009 at 02:04:03PM +0200, Joachim Fenkes wrote: > On Tuesday 30 June 2009 00:01, Hal Rosenstock wrote: > > On Mon, Jun 29, 2009 at 8:10 AM, Joachim Fenkes wrote: > > > > Previously, libibmad reacted to GSI MAD responses with a "redirect" status > > > by throwing an error. IBM eHCA

Re: [ewg] [PATCH] libibmad: Handle MAD redirection

2009-06-30 Thread Hal Rosenstock
On Tue, Jun 30, 2009 at 8:04 AM, Joachim Fenkes wrote: > On Tuesday 30 June 2009 00:01, Hal Rosenstock wrote: >> On Mon, Jun 29, 2009 at 8:10 AM, Joachim Fenkes wrote: > >> > Previously, libibmad reacted to GSI MAD responses with a "redirect" status >> > by throwing an error. IBM eHCA adapters use

Re: [ewg] [PATCH] libibmad: Handle MAD redirection

2009-06-30 Thread Joachim Fenkes
On Tuesday 30 June 2009 00:01, Hal Rosenstock wrote: > On Mon, Jun 29, 2009 at 8:10 AM, Joachim Fenkes wrote: > > Previously, libibmad reacted to GSI MAD responses with a "redirect" status > > by throwing an error. IBM eHCA adapters use redirection, so most > > infiniband_diags tools didn't work a

Re: [ewg] [PATCH] libibmad: Handle MAD redirection

2009-06-29 Thread Hal Rosenstock
On Mon, Jun 29, 2009 at 8:10 AM, Joachim Fenkes wrote: > Previously, libibmad reacted to GSI MAD responses with a "redirect" status > by throwing an error. IBM eHCA adapters use redirection, so most > infiniband_diags tools didn't work against eHCA. Are there GS classes other than PerfMgt which wo

[ewg] [PATCH] libibmad: Handle MAD redirection

2009-06-29 Thread Joachim Fenkes
Previously, libibmad reacted to GSI MAD responses with a "redirect" status by throwing an error. IBM eHCA adapters use redirection, so most infiniband_diags tools didn't work against eHCA. Fix: Modify mad_rpc() so that it resends the request to the redirection target if a "redirect" GS response is