[openib-general] [PATCH/RFC 1/2] IB: Return "maybe_missed_event" hint from ib_req_notify_cq()

Shirley Ma xma at us.ibm.com
Fri Nov 10 17:27:11 PST 2006






Roland,

Sorry I was not intend to send previous email. Anyway I accidently sent it
out. What I thought was there would be a problem, if the missed_event
always return to 1. Then this napi poll would keep forever. How about defer
the rotting packets process later? like this:

>
> +            if (empty)
> +                       return (ib_req_notify_cq(priv->cq,
IB_CQ_NEXT_COMP|IB_CQ_REPORT_MISSED_EVENTS) && netif_rx_reschedule(dev, 0);
> +

With this patch, I could get NAPI + non scaling code throughput performance
from 1XXMb/s to 7XXMb/s, anyway there are some other problems I am still
investigating now.

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


More information about the general mailing list