All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hal Rosenstock <hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
To: Sagi Grimberg <sagig-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
Cc: Vasiliy Tolstov
	<v.tolstov-+9FY0jupvH6HXe+LvDLADg@public.gmane.org>,
	linux-rdma <linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: Tutorials/howto to modify exiting tcp/ip app for rdma
Date: Fri, 28 Nov 2014 11:08:50 -0500	[thread overview]
Message-ID: <54789E12.6000601@dev.mellanox.co.il> (raw)
In-Reply-To: <5477584A.9050605-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>

On 11/27/2014 11:58 AM, Hal Rosenstock wrote:
> On 11/27/2014 10:20 AM, Sagi Grimberg wrote:
>> On 11/27/2014 4:39 PM, Vasiliy Tolstov wrote:
>>> 2014-11-27 16:39 GMT+03:00 Sagi Grimberg <sagig-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>:
>>>> You can keep doing IP address resolution using rdma_cm.
>>>>
>>>> You can see perftest examples in
>>>> git://flatbed.openfabrics.org/~grockah/perftest.git
>>>> Or,
>>>> librdmacm's rping in git://flatbed.openfabrics.org/~shefty/librdmacm.git
>>>
>>>
>>> Thanks! But if don't have ipoib connection why i need ip address ?=)
>>>
>>
>> My understanding was that you want to _add_ support for RDMA to a
>> working tcp/ip application, the natural thing is using rdma_cm.
>>
>> If you want to replace IP address resolution you need to start
>> communicating with the SM.
> 
> rsockets now supports AF_IB address family (assuming kernel does too -
> 3.11 or beyond) but you need the path record to the destination IB
> address (GID) to make the connection so that involves an SA query or the
> equivalent...

Also, you need librdmacm 1.0.19-1 or later for this.

rstream is the best example of how to use AF_IB.

-- Hal

> 
> -- Hal
> 
>>
>> srptools is a nice example for that:
>> git://flatbed.openfabrics.org/~bvanassche/srptools.git/.git
>>
>> Sagi.
>> -- 
>> 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
>>
> 

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

  parent reply	other threads:[~2014-11-28 16:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-23 20:41 Tutorials/howto to modify exiting tcp/ip app for rdma Vasiliy Tolstov
     [not found] ` <CACaajQv2-TFkmANMNBikryG8CE_xhnOx05Qt9aQC8MXfyeRLSg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-27 11:52   ` Vasiliy Tolstov
     [not found]     ` <CACaajQsxHa48osSvtimGXn+-f3U3ZGUD+9yudrc1onAPdn_8hQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-27 12:28       ` Rupert Dance
2014-11-27 14:40         ` Vasiliy Tolstov
2014-11-27 13:39   ` Sagi Grimberg
     [not found]     ` <5477298A.6060605-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2014-11-27 14:39       ` Vasiliy Tolstov
     [not found]         ` <CACaajQs6vP=LJ+H=SC7G4EuwOebsjz9G1vxay=aYiKyo1AwSjg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-27 15:20           ` Sagi Grimberg
     [not found]             ` <54774122.1020502-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2014-11-27 16:58               ` Hal Rosenstock
     [not found]                 ` <5477584A.9050605-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2014-11-28 16:08                   ` Hal Rosenstock [this message]
     [not found]                     ` <54789E12.6000601-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2014-11-28 22:42                       ` Vasiliy Tolstov

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=54789E12.6000601@dev.mellanox.co.il \
    --to=hal-ldsdmyg8hgv8yrgs2mwiifqbs+8scbdb@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=sagig-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org \
    --cc=v.tolstov-+9FY0jupvH6HXe+LvDLADg@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 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.