<html><body>
<p><tt>Roland,</tt><br>
<br>
<tt>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:</tt><br>
<br>
<tt>> <br>
> +            if (empty) <br>
> +                       return (ib_req_notify_cq(priv->cq, <br>
IB_CQ_NEXT_COMP|IB_CQ_REPORT_MISSED_EVENTS) && netif_rx_reschedule(dev, 0);<br>
> +             <br>
</tt><br>
<tt>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.</tt><br>
<tt> <br>
Thanks<br>
Shirley Ma</tt></body></html>