[ofw] RE: Release IBA resources in DISPATCH_LEVEL ?
Fab Tillier
ftillier at windows.microsoft.com
Thu Jun 12 14:28:18 PDT 2008
> From: Tzachi Dar [mailto:tzachid at mellanox.co.il]
> Sent: Thursday, June 12, 2008 2:22 PM
>
> 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.
There is no waiting required - the HW will generate an interrupt, which will queue the HCA driver's DPC, which will invoke a callback. The only reason waiting is needed is because the driver implementation forces it.
So fixing the driver stack properly would require a new HCA driver design, and appropriate changes to modules higher in the stack. That's a lot of work.
-Fab
More information about the ofw
mailing list