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

Roland Dreier rdreier at cisco.com
Tue Sep 26 14:15:52 PDT 2006


    Roland> But is there any reason to keep the non-NAPI code around?
    Roland> I hate to have two codepaths to maintain.

I see you said that ehca showed a performance drop with NAPI.  What
approach did you use to handle "rotting packets" (race between poll CQ
and request notification on a CQ)?

Do you know how ehca behaves?  Does it have that race?  ie what
happens in this situation:

    poll CQ -> CQ is empty
        (new completion is added to CQ)
    request notify on CQ
        (no more completions are added)

Mellanox HCAs will generate a CQ event in this case, although it's not
strictly required by the IB spec.  How will ehca behave?

 - R.




More information about the general mailing list