All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhu Yanjun <yanjun.zhu@linux.dev>
To: Konstantin Taranov <kotaranov@microsoft.com>,
	Jun Han Ng <junhan@balaenaquant.com>,
	"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>
Subject: Re: ENODEV in rdma_create_ep with loopback as address
Date: Thu, 16 May 2024 17:55:19 +0200	[thread overview]
Message-ID: <cc984fea-8533-48b1-bf8e-1c9baff2ff43@linux.dev> (raw)
In-Reply-To: <GV1PR83MB0700C80470457BD70210F8C6B4ED2@GV1PR83MB0700.EURPRD83.prod.outlook.com>

在 2024/5/16 16:48, Konstantin Taranov 写道:
>> When attempting to call rdma_create_ep in active mode with the loopback
>> address obtained by rdma_getaddrinfo, -1 is returned with ENODEV errno().
> 
> What do you call a "loopback address"?
> 
> Note, you cannot use 127.0.0.1 as there is no RDMA device behind this IP.
> You can run "ibv_devinfo -v" and use any IP listed in the GID table for a loopback experiment.

Exactly, 127.0.0.1 and 0.0.0.0 are used as private ip addresses in rdma 
cma. As such, it had better not to use the 2 ip addresses.

Zhu Yanjun

> 
> - Konstantin


      parent reply	other threads:[~2024-05-16 15:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-16 13:58 ENODEV in rdma_create_ep with loopback as address Jun Han Ng
2024-05-16 14:48 ` Konstantin Taranov
2024-05-16 15:05   ` Jun Han Ng
2024-05-16 15:55   ` Zhu Yanjun [this message]

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=cc984fea-8533-48b1-bf8e-1c9baff2ff43@linux.dev \
    --to=yanjun.zhu@linux.dev \
    --cc=junhan@balaenaquant.com \
    --cc=kotaranov@microsoft.com \
    --cc=linux-rdma@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.