From: Leon Romanovsky <leon@kernel.org>
To: Animesh Kishore <animesh.kishore@gmail.com>
Cc: linux-rdma@vger.kernel.org, jgg@mellanox.com
Subject: Re: [PATCH] verbs: Add RDMA write RC pingpong test
Date: Wed, 10 May 2023 13:20:58 +0300 [thread overview]
Message-ID: <20230510102058.GR38143@unreal> (raw)
In-Reply-To: <CALNrABWfN0sszDNNv0YwQ5VS0Yv07PW5no=aZSxZOCFUu7N7cg@mail.gmail.com>
On Wed, May 10, 2023 at 03:30:00PM +0530, Animesh Kishore wrote:
> On Tue, May 9, 2023 at 7:07 PM Leon Romanovsky <leon@kernel.org> wrote:
> >
> > On Tue, May 09, 2023 at 12:50:16PM +0300, Animesh Kishore wrote:
> > > - The test pingpongs data between server and client
> > > instance using RC QPs with RDMA write BTH opcode.
> > > - For RDMA write, there's no completion at responder. Hence,
> > > we send a sideband ACK(using socket) from requester side
> > > on completion. This indicates to responder that it has
> > > received data.
> > >
> > > Check available test arguments and help:
> > > ./build/bin/ibv_rc_wr_pingpong -h
> > >
> > > e.g.
> > > Run server instance:
> > > ./build/bin/ibv_rc_wr_pingpong -g 0 -d <ib_dev> -c -s 8192
> > >
> > > Run client instance:
> > > ./build/bin/ibv_rc_wr_pingpong -g 0 -d <ib_dev> -c -s 8192 <server IP>
> > >
> > > Signed-off-by: Animesh Kishore <animesh.kishore@gmail.com>
> > > ---
> > > debian/ibverbs-utils.install | 2 +
> > > libibverbs/examples/CMakeLists.txt | 3 +
> > > libibverbs/examples/rc_wr_pingpong.c | 782 +++++++++++++++++++++++++++
> > > libibverbs/man/CMakeLists.txt | 1 +
> > > libibverbs/man/ibv_rc_wr_pingpong.1 | 63 +++
> > > 5 files changed, 851 insertions(+)
> > > create mode 100644 libibverbs/examples/rc_wr_pingpong.c
> > > create mode 100644 libibverbs/man/ibv_rc_wr_pingpong.1
> >
> > Like I said in relevant PR https://github.com/linux-rdma/rdma-core/pull/1325#issuecomment-1531194836
> > This new ibv_rc_wr_pingpong is unlikely to be merged.
> >
> > Thanks
>
> Hi Leon,
>
> Do you suggest to wait for more comments or close the PR at once ?
You need to find more people who think that such application must be
included in rdma-core.
>
> I think it's helpful for new users for below reasons.
> Helps demonstrate complete flow and API usages. Works as a reference
> to build IBverbs production applications which are typically in C/C++.
>
> Also note, it's an overkill to extend existing example/rc_pingpong.c
> (uses send/recv) to support RDMA write.
It is unlikely to be accepted either.
>
> Thanks
> Animesh
prev parent reply other threads:[~2023-05-10 10:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-09 9:50 [PATCH] verbs: Add RDMA write RC pingpong test Animesh Kishore
2023-05-09 10:37 ` Animesh Kishore
2023-05-09 13:37 ` Leon Romanovsky
2023-05-10 10:00 ` Animesh Kishore
2023-05-10 10:20 ` Leon Romanovsky [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=20230510102058.GR38143@unreal \
--to=leon@kernel.org \
--cc=animesh.kishore@gmail.com \
--cc=jgg@mellanox.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox