From: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Max Gurtovoy <maxg-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Cc: bvanassche-HInyCGIudOg@public.gmane.org,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Israel Rukshin <israelr-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH 0/1] ib_srp mr allocation failure
Date: Wed, 28 Dec 2016 07:48:20 +0200 [thread overview]
Message-ID: <20161228054820.GB26885@mtr-leonro.local> (raw)
In-Reply-To: <1482864552-27605-1-git-send-email-maxg-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1010 bytes --]
On Tue, Dec 27, 2016 at 08:49:11PM +0200, Max Gurtovoy wrote:
> From: Israel Rukshin <israelr-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
>
> Hi,
>
> While running traffic with multiple jobs I had those errors:
> scsi host8: ib_srp: Failed to map data (-12)
> scsi host8: ib_srp: Failed to map data (-12)
> ...
>
> The reason for the map failurs are SG gaps.
> This bug happens to me only with CX4 because it supports SG gaps registration.
> I fixed this issue by allocating the mr with IB_MR_TYPE_SG_GAPS.
>
> Should it be pushed also to stable kernel code ?
It looks so.
>
> Israel Rukshin (1):
> IB/srp: fix mr allocation when the device supports sg gaps
>
> drivers/infiniband/ulp/srp/ib_srp.c | 9 +++++++--
> 1 file changed, 7 insertions(+), 2 deletions(-)
>
> --
> 1.8.4.3
>
> --
> 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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2016-12-28 5:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-27 18:49 [PATCH 0/1] ib_srp mr allocation failure Max Gurtovoy
[not found] ` <1482864552-27605-1-git-send-email-maxg-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-12-27 18:49 ` [PATCH 1/1] IB/srp: fix mr allocation when the device supports sg gaps Max Gurtovoy
[not found] ` <1482864552-27605-2-git-send-email-maxg-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-12-28 5:49 ` Leon Romanovsky
2016-12-28 10:13 ` Bart Van Assche
2016-12-28 5:48 ` 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=20161228054820.GB26885@mtr-leonro.local \
--to=leon-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
--cc=bvanassche-HInyCGIudOg@public.gmane.org \
--cc=israelr-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=maxg-VPRAkNaXOzVWk0Htik3J/w@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