On Wed, Feb 13, 2019 at 04:24:04PM +0000, Bernard Metzler wrote: > > >To: "Bernard Metzler" <BMT@xxxxxxxxxxxxxx> > >From: "Jason Gunthorpe" <jgg@xxxxxxxx> > >Date: 02/12/2019 07:13PM > >Cc: linux-rdma@xxxxxxxxxxxxxxx > >Subject: Re: [PATCH v4 03/13] SIW network and RDMA core interface > > > >On Tue, Feb 12, 2019 at 05:03:30PM +0000, Bernard Metzler wrote: > > > >> >If you want to expedite removal of uverbs then siw has to support > >the > >> >uverbs 'disassociate' flow. > >> > > >> Ah OK. I was not aware of that. Do we have an example provider > >> code for that to help me understanding that flow? I just see a few > >> providers with empty disassociate_ucontext functions. I am not sure > >> this is what it should be? > > > >It is supposed to be empty, this is something that needs to be > >cleaned > >up. > > > Okay. > > Maybe my comments were misleading. I didn't want to > kill the application, but maintain internal QP state appropriate. This is more or less what uverbs disassociate is supposed to do. The QPs are supposed to continue to exist but be rendered non-functional. You probably don't have to actually do anything for SIW in this case. Jason