public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Ramu <ramu.kavati-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Resolving IP addr to GID with librdmacm
Date: Wed, 24 Aug 2011 15:27:21 +0000 (UTC)	[thread overview]
Message-ID: <loom.20110824T165557-959@post.gmane.org> (raw)

Hi, 
I am trying to explore the details of librdmacm.  When I ran qperf app (with
librdmacm as underlying user space cm module) on my Infiniband setup, it all
went fine i.e conn establishment and data path.  In this case, I had ib_ipoib
module loaded on both the sides and I gave remote IP addr associated with net
interface (ib0/ib1 etc.) exposed by infiniband hw (from Mellanox).

One of the doc from Infiniband hw vendor says that we need to have ib_ipoib
module loaded at both sides in order to map IP addr to GID.  But I am trying to
understand the dependency on ib_ipoib module.  I ran the below experiment to
explore on this.  

I have disabled ib0/ib1 interface (described above) and gave the remote IP addr
as the one associated with eth0 (normal LAN interface) then qperf client failed
with error "unexpected event from RDMA CM: Address error".  

In the code, it looks like during resolving IP addr to GID, one of the kernel
module (ib_addr) is using neigh_lookup(..) to get the hardware address of the
given IP.  I did not get the dependency on the module ib_ipoib to resolve remote
IP addr to GID.  Am I missing anything here? Please explain.

Thanks & Regards,
Ramu    

--
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

             reply	other threads:[~2011-08-24 15:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-24 15:27 Ramu [this message]
     [not found] ` <loom.20110824T165557-959-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2011-08-24 16:03   ` Resolving IP addr to GID with librdmacm Hefty, Sean
  -- strict thread matches above, loose matches on Subject: below --
2011-09-06 17:34 Ramu
     [not found] ` <loom.20110906T193153-584-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2011-09-06 18:10   ` Hefty, Sean

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=loom.20110824T165557-959@post.gmane.org \
    --to=ramu.kavati-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