RE: how to preserve QP over HA events for librdmacm applications

2012-09-19 Thread Hefty, Sean
> I don't know if it matters to the conversation or not, but I use an SRQ. I am > unclear how to remove a QP from the SRQ. Is ibv_destroy_qp() sufficient? Or do > I need to use rdma_destroy_qp()? rdma_destroy_qp() is a wrapper around ibv_destroy_qp(), plus destroys any internally allocated resour

Re: how to preserve QP over HA events for librdmacm applications

2012-09-19 Thread Atchley, Scott
On Sep 19, 2012, at 2:14 PM, "Atchley, Scott" wrote: > On Sep 19, 2012, at 1:05 PM, "Hefty, Sean" wrote: > >>> I too would be interested in bringing a QP from error back to a usable >>> state. I >>> have been debating whether to reconnect using the current RDMA calls versus >>> trying to trans

Re: how to preserve QP over HA events for librdmacm applications

2012-09-19 Thread Atchley, Scott
On Sep 19, 2012, at 1:05 PM, "Hefty, Sean" wrote: >> I too would be interested in bringing a QP from error back to a usable >> state. I >> have been debating whether to reconnect using the current RDMA calls versus >> trying to transition the existing RC QP. >> >> I assumed to transition the ex

RE: how to preserve QP over HA events for librdmacm applications

2012-09-19 Thread Hefty, Sean
> I too would be interested in bringing a QP from error back to a usable state. > I > have been debating whether to reconnect using the current RDMA calls versus > trying to transition the existing RC QP. > > I assumed to transition the existing QP that I would need to open a socket to > coordina

Re: how to preserve QP over HA events for librdmacm applications

2012-09-19 Thread Atchley, Scott
On Sep 19, 2012, at 11:58 AM, Alex Rosenbaum wrote: > Since we use the RDMA_PS_IPOIB we need librdmacm to help get the correct > pkey_index and qkey (in INIT->RTR transition) to match IPoIB's UD QP own > values. If not, than our user space UD QP will not be able to send/recv from > IPoIB on re

RE: how to preserve QP over HA events for librdmacm applications

2012-09-19 Thread Alex Rosenbaum
Since we use the RDMA_PS_IPOIB we need librdmacm to help get the correct pkey_index and qkey (in INIT->RTR transition) to match IPoIB's UD QP own values. If not, than our user space UD QP will not be able to send/recv from IPoIB on remote machines (which is what we want to gain by using the IPOI

Re: how to preserve QP over HA events for librdmacm applications

2012-09-19 Thread Or Gerlitz
On 19/09/2012 18:48, Hefty, Sean wrote: Can this flushing be somehow done with the current librdmacm/libibverbs APIs or we need some enhancement? You can call verbs directly to transition the QP state. That leaves the CM state unchanged, which doesn't really matter for UD QPs anyway. Alex,

RE: how to preserve QP over HA events for librdmacm applications

2012-09-19 Thread Hefty, Sean
> Can this flushing be somehow done with the current librdmacm/libibverbs APIs > or we need some enhancement? You can call verbs directly to transition the QP state. That leaves the CM state unchanged, which doesn't really matter for UD QPs anyway. - Sean -- To unsubscribe from this list: send

how to preserve QP over HA events for librdmacm applications

2012-09-19 Thread Or Gerlitz
Hi Sean, We have a case here where an app which uses librdmacm wants to preserve its QP over HA events such IB link down/up, specifically the sequence of operations done by the app is the following: 1. rdma_create_id using the IPoIB port space 2. rdma_bind _addr 3. rdma_create_qp using UD QP

Re: [PATCH 5/6] opensm: Add command-line option --pidfile

2012-09-19 Thread Alex Netes
Hi Bart, On 16:20 Tue 11 Sep , Bart Van Assche wrote: > This option is necessary to control opensm from an LSB-compliant > init script. > This option should also be added to opensm.conf and documented in the man page. -- Alex -- To unsubscribe from this list: send the line "unsubscribe linu