From: Sagi Grimberg <sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
To: Ilya Kalistru <stebanoid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Native IB connection setup.
Date: Thu, 2 Jan 2014 13:10:47 +0200 [thread overview]
Message-ID: <52C54937.7020003@mellanox.com> (raw)
In-Reply-To: <CAKxz9HDpu6-R8HbP6kFw1TU-Px-vrGOB7JVOTdRAFyXiDTdKjg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On 1/2/2014 10:11 AM, Ilya Kalistru wrote:
> Happy New Year, ladies and gentlemen!
>
> I'm developing some sort of "hardware InfiniBand server" runing on
> FPGA and delivering some data to PC using RDMA_WRITE operation.
> I've already had Physical Link Up and Logical Link Up between my
> device and PC with Mellanox HCA.
> I see GUID and LID of my device when I runing ibstatus or
> ibnetdiscover command on PC and therefore I think subnet configuration
> is ok.
>
> Now I have a problem with connection setup. Because I'm only who is
> developing this device and it's a problem to add extra protocols in
> FPGA firmware I don't want to use any something like getaddrinfo()
> (they use IPoIB)...
> I'm going to use native IB CM REQ/REP/RTU MADs for connection setup,
> but I don't know how.
>
> I think that I should request GUID to LID resolution at first. Like
> rdma_resolve_addr()/rdma_resolve_route() but from GUID not from IP.
> Second (I think) I should use ib_send_cm_req() and ib_send_cm_rtu()
> with well known ServiceID (I select it) to establish connection.
>
> I'm not a programmer and have no experience with programming of
> network based applications and therefore I will be thankful very much
> if you help me with example of programm code using native IB
> connection setup technics or any other help.
You can have a look in SRP (SCSI RDMA Protocol under
drivers/infiniband/ulp/srp) as a reference for native IB connection
establishment.
> P.S. It's my first time I'm using mailing list. I'm sorry, if I'm
> doing something wrong.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message tomajordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info athttp://vger.kernel.org/majordomo-info.html
--
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
next prev parent reply other threads:[~2014-01-02 11:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-02 8:11 Native IB connection setup Ilya Kalistru
[not found] ` <CAKxz9HDpu6-R8HbP6kFw1TU-Px-vrGOB7JVOTdRAFyXiDTdKjg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-02 11:10 ` Sagi Grimberg [this message]
[not found] ` <52C54937.7020003-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2014-01-02 13:55 ` Hal Rosenstock
[not found] ` <52C56FB8.1080509-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2014-01-03 18:33 ` Ilya Kalistru
[not found] ` <CAKxz9HAoCxEZA=DPaJc2TmwotBFsXLdWogr6c379zr4M6-A0Fg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-15 16:57 ` Ilya Kalistru
[not found] ` <CAKxz9HD3Gr3xyKh0CSM=SjLJLuGezDyrQUGAz-6jHDRVh_gPdw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-15 18:14 ` 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=52C54937.7020003@mellanox.com \
--to=sagig-vpraknaxozvwk0htik3j/w@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=stebanoid-Re5JQEeQqe8AvxtiuMwx3w@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