From: Bart Van Assche <bart.vanassche-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
To: Christoph Hellwig <hch-jcswGhMUV9g@public.gmane.org>
Cc: "dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org"
<dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
"sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org"
<sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
"swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org"
<swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>,
"linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"target-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<target-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH v4 7/9] IB/core: generic RDMA READ/WRITE API
Date: Fri, 11 Mar 2016 14:39:16 -0800 [thread overview]
Message-ID: <56E34914.2020108@sandisk.com> (raw)
In-Reply-To: <20160310162150.GA9544-jcswGhMUV9g@public.gmane.org>
On 03/10/2016 08:21 AM, Christoph Hellwig wrote:
> I see the use case for enabling MRs for debugging, but I still don't
> think the ULP is the right place. I also don't see where you
> cna do this currently: for srpt, the only driver converted in this
> series there is no support for registrations at all currently,
> and with the the series you can force it to register with a one
> line code change in rdma_rw_use_mr. For iSERt, which I plan to
> convert for 4.7 (and which has some WIP code in git) MR support
> exists, but is only enabled if the device supports the vendor
> specific signature handover extension (aka if running on mlx5 hardware).
> With the future conversion you'll still have a simply compile time
> switch to always enabled it, and I'd be fine with adding a module
> parameter to force it as well.
Hello Christoph,
The above is fine with me. But when I ran a test with rdma_rw_use_mr()
changed into "return true" the following error messages appeared in the
kernel log:
[ 364.460709] ib_srpt 0x1: parsing SRP descriptor table failed.
[ 383.604809] ib_srpt 0x0: parsing SRP descriptor table failed.
[ 383.605627] ib_srpt 0x2: parsing SRP descriptor table failed.
[ 386.702905] ib_srpt 0x3: parsing SRP descriptor table failed.
[ 386.703092] ib_srpt 0x4: parsing SRP descriptor table failed.
[ 386.703242] ib_srpt 0x5: parsing SRP descriptor table failed.
[ 386.703411] ib_srpt 0x6: parsing SRP descriptor table failed.
Is this expected? I ran this test on a server equipped with two mlx4
HCAs with latest firmware (2.36.5000). I installed git commit
c4c65482b56a433a82bc5b63db8ba125727e9f80 of the rdma-rw-api merged with
v4.5-rc7. Initiator and target drivers were running on the same server
and were communicating with each other via loopback. Before I modified
rdma_rw_use_mr() the same test passed on the same setup.
Do you perhaps want me to look further into this?
Thanks,
Bart.
--
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:[~2016-03-11 22:39 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-08 18:16 generic RDMA READ/WRITE API V4 Christoph Hellwig
2016-03-08 18:16 ` [PATCH v4 1/9] IB/cma: pass the port number to ib_create_qp Christoph Hellwig
2016-03-08 19:25 ` Bart Van Assche
2016-03-08 19:27 ` Leon Romanovsky
[not found] ` <20160308192709.GJ13396-2ukJVAZIZ/Y@public.gmane.org>
2016-03-08 19:38 ` Steve Wise
2016-03-08 19:55 ` Leon Romanovsky
2016-03-09 13:58 ` 'Christoph Hellwig'
[not found] ` <20160309135804.GA32315-jcswGhMUV9g@public.gmane.org>
2016-03-09 14:43 ` Leon Romanovsky
2016-03-09 15:51 ` Steve Wise
2016-03-09 15:52 ` 'Christoph Hellwig'
2016-03-08 18:16 ` [PATCH v4 2/9] IB/core: allow passing mapping an offset into the SG in ib_map_mr_sg Christoph Hellwig
2016-03-08 19:27 ` Bart Van Assche
2016-03-08 18:16 ` [PATCH v4 3/9] IB/core: add a helper to check for READ WITH INVALIDATE support Christoph Hellwig
2016-03-08 18:16 ` [PATCH v4 4/9] IB/core: refactor ib_create_qp Christoph Hellwig
2016-03-08 19:33 ` Bart Van Assche
[not found] ` <56DF2917.309-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2016-03-09 12:55 ` Christoph Hellwig
2016-03-08 18:16 ` [PATCH v4 5/9] IB/core: add a simple MR pool Christoph Hellwig
[not found] ` <1457461000-24088-6-git-send-email-hch-jcswGhMUV9g@public.gmane.org>
2016-03-08 19:37 ` Bart Van Assche
2016-03-09 12:56 ` Christoph Hellwig
[not found] ` <1457461000-24088-1-git-send-email-hch-jcswGhMUV9g@public.gmane.org>
2016-03-08 18:16 ` [PATCH v4 6/9] IB/core: add a need_inval flag to struct ib_mr Christoph Hellwig
2016-03-08 19:41 ` Bart Van Assche
2016-03-08 18:16 ` [PATCH v4 7/9] IB/core: generic RDMA READ/WRITE API Christoph Hellwig
2016-03-08 21:32 ` Bart Van Assche
2016-03-09 13:07 ` Christoph Hellwig
2016-03-09 15:54 ` Christoph Hellwig
2016-03-09 18:55 ` Bart Van Assche
2016-03-10 7:57 ` Christoph Hellwig
2016-03-10 15:30 ` Bart Van Assche
[not found] ` <56E1931C.1040206-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2016-03-10 16:21 ` Christoph Hellwig
[not found] ` <20160310162150.GA9544-jcswGhMUV9g@public.gmane.org>
2016-03-10 17:00 ` Bart Van Assche
[not found] ` <56E1A810.1080001-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2016-03-10 17:01 ` Christoph Hellwig
2016-03-11 22:39 ` Bart Van Assche [this message]
[not found] ` <56E34914.2020108-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2016-03-12 6:12 ` Christoph Hellwig
[not found] ` <20160312061232.GA15236-jcswGhMUV9g@public.gmane.org>
2016-03-14 1:04 ` Bart Van Assche
[not found] ` <56E60E0F.7060900-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2016-03-15 8:45 ` Christoph Hellwig
[not found] ` <20160309155457.GA1898-jcswGhMUV9g@public.gmane.org>
2016-03-11 1:26 ` Bart Van Assche
2016-03-11 9:22 ` Christoph Hellwig
2016-03-08 18:16 ` [PATCH v4 8/9] target: enhance and export target_alloc_sgl/target_free_sgl Christoph Hellwig
2016-03-08 21:37 ` Bart Van Assche
2016-03-08 18:16 ` [PATCH v4 9/9] IB/srpt: convert to the generic RDMA READ/WRITE API Christoph Hellwig
2016-03-08 20:13 ` Leon Romanovsky
2016-03-09 12:59 ` Christoph Hellwig
2016-03-10 22:08 ` Bart Van Assche
2016-03-11 9:09 ` Christoph Hellwig
[not found] ` <1457461000-24088-10-git-send-email-hch-jcswGhMUV9g@public.gmane.org>
2016-03-10 22:40 ` Bart Van Assche
[not found] ` <56E1F7C8.9000101-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2016-03-11 9:14 ` Christoph Hellwig
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=56E34914.2020108@sandisk.com \
--to=bart.vanassche-xdaiopvojttbdgjk7y7tuq@public.gmane.org \
--cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=hch-jcswGhMUV9g@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org \
--cc=target-devel-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;
as well as URLs for NNTP newsgroup(s).