[openib-general] [PATCH] IB/ipoib: NAPI

Michael S. Tsirkin mst at mellanox.co.il
Tue Sep 26 23:28:22 PDT 2006


Quoting r. Shirley Ma <xma at us.ibm.com>:
> Subject: Re: [PATCH] IB/ipoib: NAPI
> 
> "Michael S. Tsirkin" <mst at mellanox.co.il> wrote on 09/26/2006 09:59:30 PM:
> > I still hope ehca NAPI performance can be fixed. But if not, maybe we should
> > have the low level driver set a disable_napi flag rather than have users play
> > with module options.
>
> I forgot to mention these NAPI parameters should be tunable for different device drivers, like dev->weight, or set up in lower driver.

So we need something like poll_weight in struct ib_device, to give
a hint on how expensive an interrupt is versus poll?
Seems to make sense, and actually might be useful for other ULPs.
Roland, what do you think?

-- 
MST




More information about the general mailing list