All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Kalderon, Michal" <Michal.Kalderon-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
To: Zohar Ben Aharon <zoharb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
	Gil Rockah <gilr-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
	"lunnys-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org"
	<lunnys-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Ido Shamay <idos-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"Elior,
	Ariel" <Ariel.Elior-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>,
	"leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org"
	<leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	"Amrani,
	Ram" <Ram.Amrani-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
Subject: RE: Perftest fails when declaring support for MW_TYPE_2A
Date: Wed, 1 Nov 2017 15:59:50 +0000	[thread overview]
Message-ID: <CY1PR0701MB20127EC91D843349616DE993885F0@CY1PR0701MB2012.namprd07.prod.outlook.com> (raw)
In-Reply-To: <DB3PR0502MB401294BE74C3F399ABFC9064A95F0-uKIzJYYTohOPJQcb9Mlg0cDSnupUy6xnnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>

Hi Zohar, 

Thanks for the quick response. I'm working on your git.
I don't think it was broken, more that perhaps it never worked over devices
that advertise MEM_WINDOW_TYPE_2A

>From a quick grep I see that the only ones that advertise TYPE_2A are mlx4 and only under certain
Conditions. 

I'm currently adding support for MW_TYPE_2A for our qedr driver and that's how I 
Got the perftest failure. 

Ran ib_write_bw with all default values
Got the error: 
Couldn't allocate MR
Failed to create mr
... 

Thanks,
Michal

> -----Original Message-----
> From: Zohar Ben Aharon [mailto:zoharb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org]
> Sent: Wednesday, November 01, 2017 5:47 PM
> To: Kalderon, Michal <Michal.Kalderon-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>; Gil Rockah
> <gilr-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>; lunnys-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; Ido Shamay
> <idos-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; Elior, Ariel <Ariel.Elior-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>;
> leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org; Amrani, Ram <Ram.Amrani-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
> Subject: RE: Perftest fails when declaring support for MW_TYPE_2A
> 
> Thanks Michal ,
> 
> Could you provide the package you were using ?
> Case you working on our git , Do you know in which it was broken ?
> 
> Could you also add more information regarding the driver and device you
> were using, and the command that you try to execute and caused that clash
> ?
> 
> 
> 
> Thanks,
> 
> Zohar
> 
> 
> -----Original Message-----
> From: Kalderon, Michal [mailto:Michal.Kalderon-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org]
> Sent: Wednesday, November 1, 2017 5:36 PM
> To: Zohar Ben Aharon <zoharb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>; Gil Rockah
> <gilr-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>; lunnys-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; Ido Shamay
> <idos-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; Elior, Ariel <Ariel.Elior-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>;
> leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org; Amrani, Ram <Ram.Amrani-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
> Subject: Perftest fails when declaring support for MW_TYPE_2A
> 
> Hi Mellanox/ Accelio,
> 
> There is a very old commit in perftest 96050b8b that assumes bit 23 in device
> cap flags means there is driver support for contiguous buffer allocation of
> user data
> 
> There is a clash with the following device capability defined in
> libibverbs/verbs.h:
> #define IBV_DEVICE_MEM_WINDOW_TYPE_2A = 1 << 23
> 
> Once driver advertises memory window type 2a capability, the perftest
> application fails.
> 
> I found that IB_DEVICE_MR_ALLOCATE is defined as bit 23 for freebsd git hub
> and accelio github And then I saw there are a lot of clashes between ib_verbs
> + upstream kernel
> 
> Clash between the two needs to be resolved.
> Perftest wise: Perhaps an additional parameter to perftest ?
> 
> Please advise,
> Thanks,
> Michal
--
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:[~2017-11-01 15:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-01 15:35 Perftest fails when declaring support for MW_TYPE_2A Kalderon, Michal
     [not found] ` <CY1PR0701MB2012478CF41D9E2292887ABC885F0-UpKza+2NMNLHMJvQ0dyT705OhdzP3rhOnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2017-11-01 15:46   ` Zohar Ben Aharon
     [not found]     ` <DB3PR0502MB401294BE74C3F399ABFC9064A95F0-uKIzJYYTohOPJQcb9Mlg0cDSnupUy6xnnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2017-11-01 15:59       ` Kalderon, Michal [this message]
2017-11-01 16:45   ` Jason Gunthorpe
     [not found]     ` <20171101164527.GC1030-uk2M96/98Pc@public.gmane.org>
2017-11-06 18:27       ` Kalderon, Michal

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=CY1PR0701MB20127EC91D843349616DE993885F0@CY1PR0701MB2012.namprd07.prod.outlook.com \
    --to=michal.kalderon-ygcgfspz5w/qt0dzr+alfa@public.gmane.org \
    --cc=Ariel.Elior-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org \
    --cc=Ram.Amrani-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org \
    --cc=gilr-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=idos-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=lunnys-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=zoharb-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 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.