[ofw] RE: Patch: [ipoib] Limit the time that is being spent in a DPC (don't handle more than 128 packet at one recv call)

Sean Hefty sean.hefty at intel.com
Thu Nov 6 13:05:52 PST 2008


>Index: Q:/projinf4/trunk/ulp/ipoib/kernel/ipoib_port.c
>===================================================================
>--- Q:/projinf4/trunk/ulp/ipoib/kernel/ipoib_port.c (revision 3437)
>+++ Q:/projinf4/trunk/ulp/ipoib/kernel/ipoib_port.c (revision 3438)
>@@ -1666,7 +1666,7 @@
>   recv_cnt += __recv_mgr_filter( p_port, p_wc, &done_list, &bad_list );
>   cl_perf_stop( &p_port->p_adapter->perf, FilterRecv );
>
>- } while( !p_free );
>+ } while( !p_free && recv_cnt < 128);

Should this schedule another DPC?






More information about the ofw mailing list