Re: [PATCH RFC] RDMA: Change ib_umem_get to accept an ib_udata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 20, 2018 at 05:00:49PM +0200, Shamir Rabinovitch wrote:
> > The immediate step beyond this is to make rdma_get_ucontext into a
> > driver exported function and replace all *->uobject->context with
> > it. Maybe also adjust things so it can't fail, hard to say right now
> > if failure will be inconvenient.
> > 
> 
> I did something like this based on your recent work to unify the uverbs
> & ioctl code path. Will add the patches to this email and if they are
> fine with you we could use them to fill the ucontext in the udata from
> uverbs & ioctl.

This isn't enough, it doesn't do the ioctl path and maybe more.
The ucontext should be stored in the attr_bundle not the udata..

I'm not totally sure we need this or not - I was going to look at the
drivers and see if accommodating failure would be easy or not..

So lets go through updating the core APIs like I sent and then lets
see what is left..

Jason




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux