Re: [PATCH libibverbs] XRC - Sample application issues

2013-08-19 Thread Ido Shamai
On 8/19/2013 10:12 PM, Jason Gunthorpe wrote: On Sun, Aug 18, 2013 at 12:05:48PM +0300, Yishai Hadas wrote: On 8/16/2013 06:11 PM, Sean Hefty wrote: @@ -884,6 +884,13 @@ int main(int argc, char *argv[]) if (ctx.use_event) ibv_ack_cq_events(ctx.recv_cq, num_cq_events);

Re: [PATCH libibverbs] XRC - Sample application issues

2013-08-19 Thread Jason Gunthorpe
On Sun, Aug 18, 2013 at 12:05:48PM +0300, Yishai Hadas wrote: > On 8/16/2013 06:11 PM, Sean Hefty wrote: > >>@@ -884,6 +884,13 @@ int main(int argc, char *argv[]) > >>if (ctx.use_event) > >>ibv_ack_cq_events(ctx.recv_cq, num_cq_events); > >> > >>+ /* Process should wait before clo

RE: [PATCH libibverbs] XRC - Sample application issues

2013-08-19 Thread Steve Wise
...@mellanox.com; tza...@mellanox.com; Sternberg, Jay E; Eli Cohen > Subject: RE: [PATCH libibverbs] XRC - Sample application issues > > > @@ -884,6 +884,13 @@ int main(int argc, char *argv[]) > > if (ctx.use_event) > > ibv_ack_cq_events(ctx.recv_cq, num_cq_event

Re: [PATCH libibverbs] XRC - Sample application issues

2013-08-18 Thread Yishai Hadas
On 8/16/2013 06:11 PM, Sean Hefty wrote: @@ -884,6 +884,13 @@ int main(int argc, char *argv[]) if (ctx.use_event) ibv_ack_cq_events(ctx.recv_cq, num_cq_events); + /* Process should wait before closing its resources to make sure + * latest daemon's response s

RE: [PATCH libibverbs] XRC - Sample application issues

2013-08-16 Thread Hefty, Sean
> @@ -884,6 +884,13 @@ int main(int argc, char *argv[]) > if (ctx.use_event) > ibv_ack_cq_events(ctx.recv_cq, num_cq_events); > > + /* Process should wait before closing its resources to make sure > + * latest daemon's response sent via its target QP destined to an XS