Re: [openib-general] Reuse pd amd mr

2006-09-18 Thread Tang, Changqing
> >Changqing> Is there a common recommended value for this timeout ? >Changqing> I use 18, which represents 1 second. > >18 should be OK I guess, unless you have congestion in your >fabric, in which case you have other problems anyway. > >Changqing> It is very hard to reproduce this

Re: [openib-general] Reuse pd amd mr

2006-09-18 Thread Roland Dreier
Changqing> Is there a common recommended value for this timeout ? Changqing> I use 18, which represents 1 second. 18 should be OK I guess, unless you have congestion in your fabric, in which case you have other problems anyway. Changqing> It is very hard to reproduce this error with s

Re: [openib-general] Reuse pd amd mr

2006-09-18 Thread Tang, Changqing
> >'retries exceeded' means that the transport retry count was >exceeded, so most likely your timeout is set too low. Is there a common recommended value for this timeout ? I use 18, which represents 1 second. > >Without seeing your code, I couldn't begin to say why you >don't see a send com

Re: [openib-general] Reuse pd amd mr

2006-09-18 Thread Roland Dreier
Changqing> Roland: I did exactly what you said with two cards on a Changqing> node, however, if I use the two physical channels for Changqing> Message striping, 99% of the test passed, but for some Changqing> condition, I got IBV_WC_RETRY_EXC_ERR, or the code Just Changqing> han

Re: [openib-general] Reuse pd amd mr

2006-09-18 Thread Tang, Changqing
> >No, a PD belongs to a specific device. However nothing >prevents you from creating one PD for each device, and two MRs >(one for each device, each using one of those two PDs) that >cover the same memory. Roland: I did exactly what you said with two cards on a node, however, if I use

Re: [openib-general] Reuse pd amd mr

2006-09-18 Thread Dotan Barak
john t wrote: > Hi Dotan, > > This may be a very basic question. When u said "QPs can listen/send > the packets on any port and write to the same MR", does it mean QPs > can listen/send packets to any port on the same HCA or to also ports > on different HCA ? You are right, i wasn't clear enou

Re: [openib-general] Reuse pd amd mr

2006-09-18 Thread Roland Dreier
john> Hi I have two HCA cards each having one port. I want to use john> same memory buffer to store packets arriving on the two john> ports. Can I do this, meaning can I use same pd (protection john> domain) and mr (memory registration) for the two QPs (one QP john> on each port

Re: [openib-general] Reuse pd amd mr

2006-09-18 Thread john t
Hi Dotan,   This may be a very basic question. When u said "QPs can listen/send the packets on any port and write to the same MR", does it mean QPs can listen/send packets to any port on the same HCA or to also ports on different HCA ?   Regards, John T   On 9/18/06, Dotan Barak <[EMAIL PROTECTED]

Re: [openib-general] Reuse pd amd mr

2006-09-18 Thread Dotan Barak
Hi john. john t wrote: > Hi > > I have two HCA cards each having one port. I want to use same memory > buffer to store packets arriving on the two ports. Can I do this, > meaning can I use same pd (protection domain) and mr (memory > registration) for the two QPs (one QP on each port), though

[openib-general] Reuse pd amd mr

2006-09-18 Thread john t
Hi   I have two HCA cards each having one port. I want to use same memory buffer to store packets arriving on the two ports. Can I do this, meaning can I use same pd (protection domain) and mr (memory registration) for the two QPs (one QP on each port), though the context ( i.e. ib device) for each