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

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


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




More information about the general mailing list