All of lore.kernel.org
 help / color / mirror / Atom feed
* Perftest fails when declaring support for MW_TYPE_2A
@ 2017-11-01 15:35 Kalderon, Michal
       [not found] ` <CY1PR0701MB2012478CF41D9E2292887ABC885F0-UpKza+2NMNLHMJvQ0dyT705OhdzP3rhOnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Kalderon, Michal @ 2017-11-01 15:35 UTC (permalink / raw)
  To: Zohar Ben Aharon, Gil Rockah, lunnys-Re5JQEeQqe8AvxtiuMwx3w,
	idos-VPRAkNaXOzVWk0Htik3J/w
  Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Elior, Ariel,
	leon-DgEjT+Ai2ygdnm+yROfE0A, Amrani, Ram

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-11-06 18:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2017-11-01 16:45   ` Jason Gunthorpe
     [not found]     ` <20171101164527.GC1030-uk2M96/98Pc@public.gmane.org>
2017-11-06 18:27       ` Kalderon, Michal

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.