Re: [PATCH] eHCA: Add "Modify Port" verb

2007-04-24 Thread Roland Dreier
Looks good, applied for 2.6.22. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] eHCA: Add "Modify Port" verb

2007-04-24 Thread Joachim Fenkes
Add "Modify Port" verb support to eHCA driver. ib_cm needs this to initialize properly. Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> --- This is the shiny new version of this patch with proper locking. Tested and works. ehca_classes.h |1 + ehca_hca.c | 55 ++

Re: [PATCH] eHCA: Add "Modify Port" verb

2007-04-24 Thread Joachim Fenkes
Roland Dreier <[EMAIL PROTECTED]> wrote on 23.04.2007 21:20:14: > > + if (hipz_h_query_port(shca->ipz_hca_handle, port, rblock) != H_SUCCESS) { > > + ehca_err(&shca->ib_device, "Can't query port properties"); > > + ret = -EINVAL; > > + goto modify_port1; > > + } > > + >

Re: [ofa-general] [PATCH] eHCA: Add "Modify Port" verb

2007-04-24 Thread Christoph Raisch
Hi Hal, you are correct, with the current firmware version it will fail later. Christoph R. [EMAIL PROTECTED] wrote on 23.04.2007 18:55:59: > Hi Joachim, > > On Mon, 2007-04-23 at 12:23, Joachim Fenkes wrote: > > Add "Modify Port" verb support to eHCA driver. > > ib_cm needs this to initialize

Re: [PATCH] eHCA: Add "Modify Port" verb

2007-04-23 Thread Roland Dreier
> +if (hipz_h_query_port(shca->ipz_hca_handle, port, rblock) != H_SUCCESS) > { > +ehca_err(&shca->ib_device, "Can't query port properties"); > +ret = -EINVAL; > +goto modify_port1; > +} > + > +cap = (rblock->capability_mask | props->set_port_

Re: [ofa-general] [PATCH] eHCA: Add "Modify Port" verb

2007-04-23 Thread Hal Rosenstock
Hi Joachim, On Mon, 2007-04-23 at 12:23, Joachim Fenkes wrote: > Add "Modify Port" verb support to eHCA driver. > ib_cm needs this to initialize properly. > > > Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> > --- > > ehca_hca.c | 48 ++-- > hcp

[PATCH] eHCA: Add "Modify Port" verb

2007-04-23 Thread Joachim Fenkes
Add "Modify Port" verb support to eHCA driver. ib_cm needs this to initialize properly. Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> --- ehca_hca.c | 48 ++-- hcp_if.c | 24 hcp_if.h |4 3 files changed,