public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* Native IB connection setup.
@ 2014-01-02  8:11 Ilya Kalistru
       [not found] ` <CAKxz9HDpu6-R8HbP6kFw1TU-Px-vrGOB7JVOTdRAFyXiDTdKjg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Ilya Kalistru @ 2014-01-02  8:11 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA

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.


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 to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-01-15 18:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
     [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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox