public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Dotan Barak <dotanba-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Anuj Kalia <anujkaliaiitd-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: CQEs in unreliable connection
Date: Thu, 28 Nov 2013 21:49:11 +0200	[thread overview]
Message-ID: <52979E37.3080000@gmail.com> (raw)
In-Reply-To: <CADPSxAhQKoKOQVbixMXvQRpp0_h1iQCtChrF0v1UUR1cZsPZvA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Hi Anuj.

On 28/11/2013 14:24, Anuj Kalia wrote:
> Hi.
>
> I had 2 questions related to RDMA operations (reads and writes) over
> unreliable connections:
>
> 1. Are WQEs issued over an unreliable connection supposed to generate
> CQEs? The Infiniband spec says that such WQEs may not generate an
> 'ACK'. I'm confused if ACK refers to CQE.
ACK is an acknowledgment that was sent over the wire that the message 
was received by the remote side.
CQE is a mechanism to indicate that a Work Request isn't outstanding 
anymore.

In RC QP, a CQE with successful status of a Send Request means that an 
ACK was received by the sender.
However, In UC QP, a CQE with successful status of a Send Request means 
that the message was sent;
it isn't indicate that the message was received by the remote side ...
(You will get a successful CQE even if the remote side didn't receive 
this message)

>
> 2. If the status of the work completion (fetched using ibv_poll_cq())
> is IBV_WC_SUCCESS, does it mean that the operation was successful at
> the remote host (even though we used an unreliable connection)?
I answered your answer above ...

If you want some more information, you are welcome to read it in:
http://www.rdmamojo.com/2013/06/01/which-queue-pair-type-to-use/


Thanks
Dotan
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2013-11-28 19:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-28 12:24 CQEs in unreliable connection Anuj Kalia
     [not found] ` <CADPSxAhQKoKOQVbixMXvQRpp0_h1iQCtChrF0v1UUR1cZsPZvA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-11-28 19:49   ` Dotan Barak [this message]
     [not found]     ` <52979E37.3080000-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-11-29  1:37       ` Anuj Kalia
     [not found]         ` <CAGUk2tHz6AE6WdmJAXnAj8Q=StaZ1V75i5ho0=kmRdSqOVd==g@mail.gmail.com>
2013-11-29  3:11           ` Anuj Kalia
     [not found]             ` <CADPSxAjc-a0+icNH_MwVyCni9DkuyZvS_pcuWQ0x18mVDXWzvg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-11-29  5:58               ` Dotan Barak
     [not found]                 ` <52982D04.70503-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-11-29 14:53                   ` Anuj Kalia
     [not found]                     ` <CADPSxAh1_iea41miuYpv4dzvfud3AqxCgUDsr8jUeTSrxMfVpA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-11-29 20:30                       ` Dotan Barak
     [not found]                         ` <5298F97E.4030004-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-11-29 20:50                           ` Anuj Kalia
     [not found]                             ` <CADPSxAjeU2u0nesuA=Go8WRufDcvztutR92dwuQyqgS1bcEeug-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-11-30  8:01                               ` Dotan Barak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52979E37.3080000@gmail.com \
    --to=dotanba-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=anujkaliaiitd-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox