Re: [RFC 0/8] Reliably generate large request from SRP

2011-03-15 Thread David Dillow
[Fixed linux-rdma address] On Tue, 2011-03-15 at 07:13 -0400, Bart Van Assche wrote: > On Tue, Mar 15, 2011 at 1:28 AM, David Dillow wrote: > > On Tue, 2011-01-18 at 23:27 -0500, David Dillow wrote: > > > Now that at least one vendor is implementing full support for the SRP > > > indirect memory

Re: How is Q_KEY Set

2011-03-15 Thread Jason Gunthorpe
On Tue, Mar 15, 2011 at 02:45:12PM -0400, Greg I Kerr wrote: > I was wondering how the Q_KEY is set by default, if > the user doesn't specify it in the ibv_qp_attr struct? Qkey is only used for UD connections (it is part of the DETH header) and setting it is mandatory to transition from INIT to RT

How is Q_KEY Set

2011-03-15 Thread Greg I Kerr
I was wondering how the Q_KEY is set by default, if the user doesn't specify it in the ibv_qp_attr struct? I couldn't find a suitable answer in the spec. The reason I'm asking is because I have a program where I create a "connection" in the sense that I perform all steps from opening the device to

[GIT PULL] please pull infiniband.git

2011-03-15 Thread Roland Dreier
Linus, please pull from master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This tree is also available from kernel.org mirrors at: git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This will get the first batch of 2.6.39 changes: -

python-rdma v0.1 Release Announcement

2011-03-15 Thread Jason Gunthorpe
I am pleased to announce the initial release of `python-rdma` a package to provide a Python API for the Linux RDMA stack. This initial release is mainly focused on IB specific management APIs, but the package also covers ibverbs. A new API was developed for this library that is designed to take ad

Re: [PATCH 1/2] rdma/cm: Fix crash in request handlers

2011-03-15 Thread Doug Ledford
On Mon, 2011-03-14 at 21:22 -0700, Roland Dreier wrote: > On Mon, Mar 14, 2011 at 7:27 PM, Roland Dreier wrote: > > Doesn't that mean unprivileged userspace could trigger a use-after-free > > in the kernel? (and it might be malicious code, not buggy userspace) > > >From reading the code a bit, I

RE: [PATCH 1/2] rdma/cm: Fix crash in request handlers

2011-03-15 Thread Hefty, Sean
> - one thread create an id with an invalid userspace pointer >(so the copy_to_user in ucma_create_id returns -EFAULT >and calls rdma_destroy_id before idr_remove) > - another thread guess the id that is going to be returned and >call ucma_destroy_id() > > if the second thread hits t