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

Shirley Ma xma at us.ibm.com
Tue Sep 26 23:39:37 PDT 2006






"Michael S. Tsirkin" <mst at mellanox.co.il> wrote on 09/26/2006 11:23:16 PM:

> Quoting r. Shirley Ma <xma at us.ibm.com>:
> > We
> > are implementing multiple EQs suport for one adapter now.
>
> I think with MSI we can have a per-interface EQ in mthca.
> Main reason I'm not doing this is because I haven't figured out
> the right interface to pass this information to the low level driver yet.
>
> Maybe we should just assign EQs to CQs in a round-robin fashion
> for now, and just hope typical use allocates CQs sequentially.
> Worst case, we are back to where we are now, performance-wise.
> Roland, how does this sound?
>
> > If that works, then
> > we can modify the ehca code as mthca. Actually mthca has the same
problem as
> > ehca over two links on the same adapter.
>
> OK, but if as you point out the issue is not device-specific -
> that's a good reason not to do tricks in low-level driver to try
> and work around this, but address this at ULP level.
>
> --
> MST
Yes. That's what we are working on to define the right APIs to pass
information to low level driver. Now we are trying per interface per EQ,
then we will extent the work to N(CQ):M(EQ) mapping. ehca could support up
to 127 EQs, I would suggest to use hash.

Thanks
Shirley Ma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20060926/60d98e26/attachment.html>


More information about the general mailing list