[ofw] RE: Release IBA resources in DISPATCH_LEVEL ?

Tzachi Dar tzachid at mellanox.co.il
Thu Jun 12 14:22:25 PDT 2008


If the user has to wait until the task is completed then we are in a big
trouble in any case.

Releasing this resources means going to the command interface and this
means waiting for the HW in DPC level. This breaks the entire module,
and I hope that this is not how things are.

Thanks
Tzachi 

> -----Original Message-----
> From: Sean Hefty [mailto:sean.hefty at intel.com] 
> Sent: Friday, June 13, 2008 12:19 AM
> To: Tzachi Dar; James Yang; Fab Tillier; ofw at lists.openfabrics.org
> Subject: RE: [ofw] RE: Release IBA resources in DISPATCH_LEVEL ?
> 
> >If all that you want is to only allow releasing of elements 
> in dispatch 
> >level than I guess that this can be achieved easily:
> >
> >Create some kind of a queue mechanism and when in DPC queue 
> the objects 
> >to the queue. The queue will be served by one of IBAL threads (or 
> >create your own thread). Once releasing the objects is done 
> the thread 
> >can do the callback.
> >
> >This is relatively a simple task.
> 
> This depends on whether the task can actually be deferred, or 
> must be completed before returning from some other call.  
> Until the elements are released, the user must also be able 
> to handle additional callbacks.
> 
> - Sean
> 
> 



More information about the ofw mailing list