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

_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to