[ewg] Re: [ofa-general] OFED 1.3 Beta release is available

2007-12-17 Thread Jack Morgenstein
On Monday 17 December 2007 17:35, Tang, Changqing wrote: > > I remembered someone else suggested to use: > > struct ibv_context { > struct ibv_device *device; > struct ibv_context_ops ops; > int cmd_fd; > int async_

[ewg] RE: [ofa-general] OFED 1.3 Beta release is available

2007-12-17 Thread Tang, Changqing
I remembered someone else suggested to use: struct ibv_context { struct ibv_device *device; struct ibv_context_ops ops; int cmd_fd; int async_fd; int num_comp_vectors; pthread_m

[ewg] Re: [ofa-general] OFED 1.3 Beta release is available

2007-12-16 Thread Jack Morgenstein
On Wednesday 05 December 2007 17:45, Tang, Changqing wrote: > > I think the only alternative we have to preserve backwards > > compatibility is to leave struct ibv_context_ops alone and > > change the structure to: > > > > struct ibv_context { > >         struct ibv_device      *device; > >        

Re: [ewg] Re: [ofa-general] OFED 1.3 Beta release is available

2007-12-05 Thread Jack Morgenstein
On Wednesday 05 December 2007 21:59, Tang, Changqing wrote: > There are some other input structure changes such as ibv_qp_init_attr, if the > qp_type is not IBV_QPT_XRC, > the field xrc_domain is not touched, right ? > Right. > Similar thing for "struct ibv_send_wr" xrc_remote_srq_num field. >

Re: [ewg] Re: [ofa-general] OFED 1.3 Beta release is available

2007-12-05 Thread Roland Dreier
> > struct ibv_context { > > struct ibv_device *device; > > struct ibv_context_ops ops; > > int cmd_fd; > > int async_fd; > > int num_comp_vectors; > > pthread_mutex_t mu

RE: [ewg] Re: [ofa-general] OFED 1.3 Beta release is available

2007-12-05 Thread Tang, Changqing
genstein [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 05, 2007 12:34 PM > To: ewg@lists.openfabrics.org > Cc: Roland Dreier; Tang, Changqing; > [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [ewg] Re: [ofa-general] OFED 1.3 Beta release is > available > > On Wednesd

Re: [ewg] Re: [ofa-general] OFED 1.3 Beta release is available

2007-12-05 Thread Jack Morgenstein
On Wednesday 05 December 2007 07:24, Roland Dreier wrote: > > I think the only alternative we have to preserve backwards > compatibility is to leave struct ibv_context_ops alone and change the > structure to: > > struct ibv_context { > struct ibv_device *device; > struct ibv_

Re: [ewg] Re: [ofa-general] OFED 1.3 Beta release is available

2007-12-05 Thread Jack Morgenstein
On Wednesday 05 December 2007 02:40, Roland Dreier wrote: > BTW, sifting through the OFED 1.3 libibverbs tree, I do see that the > commit to add max_xrc_domains to struct ibv_device_attr did break > things by adding the member in the middle of the structure (so that an > app compiled against the ol

[ewg] Re: [ofa-general] OFED 1.3 Beta release is available

2007-12-05 Thread Roland Dreier
> I think in future we will have more such changes, why don't we take > the > pain now to make ops as a pointer and mark it as verbs 1.2 ? The problem is that undoubtedly the changes that require changing the ABI will require something more than just additional ops, so we'll end up nee

[ewg] RE: [ofa-general] OFED 1.3 Beta release is available

2007-12-05 Thread Tang, Changqing
Roland: I think in future we will have more such changes, why don't we take the pain now to make ops as a pointer and mark it as verbs 1.2 ? --CQ > -Original Message- > From: Roland Dreier [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 04, 2007 11:25 PM > To: Tang, Changqi

[ewg] Re: [ofa-general] OFED 1.3 Beta release is available

2007-12-04 Thread Roland Dreier
> I think the problem is that sizeof "struct ibv_context_ops" has > changed, so the new driver returns a big "struct ibv_context", app > compiled with older header file has a smaller "struct ibv_context" > and use the old offset to find fields after "ops". Oh crud, you're obviously right. For

[ewg] RE: [ofa-general] OFED 1.3 Beta release is available

2007-12-04 Thread Tang, Changqing
I think the problem is that sizeof "struct ibv_context_ops" has changed, so the new driver returns a big "struct ibv_context", app compiled with older header file has a smaller "struct ibv_context" and use the old offset to find fields after "ops". --CQ > -Original Message- > From: R

Re: [ewg] Re: [ofa-general] OFED 1.3 Beta release is available

2007-12-04 Thread Roland Dreier
oops, sorry... I see that the very next OFED 1.3 commit reverted that change, so things aren't as bad as I thought. Never mind. - R. ___ ewg mailing list ewg@lists.openfabrics.org http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

Re: [ewg] Re: [ofa-general] OFED 1.3 Beta release is available

2007-12-04 Thread Roland Dreier
BTW, sifting through the OFED 1.3 libibverbs tree, I do see that the commit to add max_xrc_domains to struct ibv_device_attr did break things by adding the member in the middle of the structure (so that an app compiled against the old header will see bogus values for local_ca_ack_delay and phys_por

[ewg] Re: [ofa-general] OFED 1.3 Beta release is available

2007-12-04 Thread Roland Dreier
> Here is an issue we have: > > struct ibv_context { > struct ibv_device *device; > struct ibv_context_ops ops; > int cmd_fd; > int async_fd; > int num_comp_vectors; > pthread

[ewg] RE: [ofa-general] OFED 1.3 Beta release is available

2007-12-04 Thread Tang, Changqing
Here is an issue we have: struct ibv_context { struct ibv_device *device; struct ibv_context_ops ops; int cmd_fd; int async_fd; int num_comp_vectors; pthread_mutex_t mutex;

[ewg] RE: [ofa-general] OFED 1.3 Beta release is available

2007-11-25 Thread Scott Weitzenkamp (sweitzen)
I have added version 1.3beta2 to the OF Bugzilla. Scott Weitzenkamp SQA and Release Manager Server Virtualization Business Unit Cisco Systems From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tziporet Koren Sent: Thursday, Novem

Re: [ewg] RE: [ofa-general] OFED 1.3 Beta release is available

2007-11-25 Thread Tziporet Koren
Moshe Kazir wrote: Are backport patches for SLES9 SP4 and RHEL 5.1 included in this version ? As you can see here: RHEL5.1 - yes SLES9 (any SP) - No OS support: Novell: - SLES10 - SLES10 SP1 and up1 Redhat: - Redhat EL4 up4 and up5 - Redhat EL5

[ewg] RE: [ofa-general] OFED 1.3 Beta release is available

2007-11-24 Thread Moshe Kazir
Are backport patches for SLES9 SP4 and RHEL 5.1 included in this version ? Moshe Moshe Katzir | +972-9971-8639 (o) | +972-52-860-6042 (m) Voltaire - The Grid Backbone www.voltaire.com