Linux-RDMA Archive on lore.kernel.org
 help / color / Atom feed
From: 杨帆 <yangfan.fan@bytedance.com>
To: Zhu Yanjun <zyjzyj2000@gmail.com>
Cc: Zhu Yanjun <yanjunz@mellanox.com>, linux-rdma@vger.kernel.org
Subject: Re: [External] [PATCH] RDMA/rxe: fix retry forever when rnr_retry >= 7
Date: Fri, 24 Jul 2020 22:04:01 +0800
Message-ID: <827596D2-8EB2-4660-9118-70289FCD09AA@bytedance.com> (raw)
In-Reply-To: <CAD=hENdG_0hdcRQk+sH6HyuOROM-U9_n2QahipgmOdESQDso3g@mail.gmail.com>

> 
> Please read the following from IB specification
> 

Oh I see, I missed that part.  Thanks for your explanation.


> An exception to
> the following is if the RNR NAK retry counter is set to 7. This value indicates
> infinite retry and the counter is not decremented.

I wonder what if the user set RNR retry larger than 7?  Say the user set the RNR
retry attribute to 10, is he expecting a 10-time retry or an infinite retry?  In
the current implementation, any larger-than-7 retry count causes infinite retry.
Is this an expected behavior?

Regards,
Fan

  reply index

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-23 13:25 Fan Yang
2020-07-23 15:42 ` Zhu Yanjun
2020-07-24 14:04   ` 杨帆 [this message]
2020-07-24 14:18     ` [External] " Jason Gunthorpe
2020-07-24 14:20       ` Fan Yang

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=827596D2-8EB2-4660-9118-70289FCD09AA@bytedance.com \
    --to=yangfan.fan@bytedance.com \
    --cc=linux-rdma@vger.kernel.org \
    --cc=yanjunz@mellanox.com \
    --cc=zyjzyj2000@gmail.com \
    /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

Linux-RDMA Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-rdma/0 linux-rdma/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-rdma linux-rdma/ https://lore.kernel.org/linux-rdma \
		linux-rdma@vger.kernel.org
	public-inbox-index linux-rdma

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-rdma


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git