Re: RFC: issues concerning the next NAPI interface

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jan-Bernd Themann
Date: Friday, August 24, 2007 - 11:11 am

James Chapman schrieb:
Yes, that was one idea as well. But the problem with that is that 
net_rx_action will call
the same poll function over and over again in a row if there are no 
further network
devices. The problem about this approach is that you always poll just a 
very few packets
each time. This does not work with LRO well, as there are no packets to 
aggregate...
So it would make more sense to wait for a certain time before trying it 
again.
Second problem: after the jiffies incremented by one in net_rx_action 
(after some poll rounds), net_rx_action will quit and return control to 
the softIRQ handler. The poll function
is called again as the softIRQ handler thinks there is more work to be 
done. So even
then we do not wait... After some rounds in the softIRQ handler, we 
finally wait some time.



-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RFC: issues concerning the next NAPI interface, Jan-Bernd Themann, (Fri Aug 24, 6:59 am)
Re: RFC: issues concerning the next NAPI interface, Jan-Bernd Themann, (Fri Aug 24, 8:47 am)
Re: RFC: issues concerning the next NAPI interface, Stephen Hemminger, (Fri Aug 24, 8:52 am)
Re: RFC: issues concerning the next NAPI interface, Linas Vepstas, (Fri Aug 24, 9:45 am)
Re: RFC: issues concerning the next NAPI interface, David Stevens, (Fri Aug 24, 9:50 am)
Re: RFC: issues concerning the next NAPI interface, Linas Vepstas, (Fri Aug 24, 9:51 am)
Re: RFC: issues concerning the next NAPI interface, Rick Jones, (Fri Aug 24, 10:07 am)
Re: RFC: issues concerning the next NAPI interface, James Chapman, (Fri Aug 24, 10:16 am)
Re: RFC: issues concerning the next NAPI interface, Shirley Ma, (Fri Aug 24, 10:45 am)
Re: RFC: issues concerning the next NAPI interface, Jan-Bernd Themann, (Fri Aug 24, 11:11 am)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Fri Aug 24, 2:32 pm)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Fri Aug 24, 2:37 pm)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Fri Aug 24, 2:43 pm)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Fri Aug 24, 2:44 pm)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Fri Aug 24, 2:47 pm)
Re: RFC: issues concerning the next NAPI interface, Linas Vepstas, (Fri Aug 24, 2:51 pm)
Re: RFC: issues concerning the next NAPI interface, James Chapman, (Sun Aug 26, 12:36 pm)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Sun Aug 26, 6:58 pm)
Re: RFC: issues concerning the next NAPI interface, Jan-Bernd Themann, (Mon Aug 27, 2:47 am)
Re: RFC: issues concerning the next NAPI interface, James Chapman, (Mon Aug 27, 8:51 am)
Re: RFC: issues concerning the next NAPI interface, Jan-Bernd Themann, (Mon Aug 27, 9:02 am)
Re: RFC: issues concerning the next NAPI interface, James Chapman, (Mon Aug 27, 10:05 am)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Mon Aug 27, 1:37 pm)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Mon Aug 27, 2:02 pm)
Re: RFC: issues concerning the next NAPI interface, James Chapman, (Mon Aug 27, 2:41 pm)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Mon Aug 27, 2:56 pm)
Re: RFC: issues concerning the next NAPI interface, James Chapman, (Tue Aug 28, 2:22 am)
Re: RFC: issues concerning the next NAPI interface, Jan-Bernd Themann, (Tue Aug 28, 4:19 am)
Re: RFC: issues concerning the next NAPI interface, Jan-Bernd Themann, (Tue Aug 28, 4:21 am)
Re: RFC: issues concerning the next NAPI interface, Jan-Bernd Themann, (Tue Aug 28, 4:48 am)
Re: RFC: issues concerning the next NAPI interface, Evgeniy Polyakov, (Tue Aug 28, 5:16 am)
Re: RFC: issues concerning the next NAPI interface, James Chapman, (Tue Aug 28, 7:55 am)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Tue Aug 28, 1:21 pm)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Tue Aug 28, 1:25 pm)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Tue Aug 28, 1:27 pm)
Re: RFC: issues concerning the next NAPI interface, Jan-Bernd Themann, (Wed Aug 29, 12:10 am)
Re: RFC: issues concerning the next NAPI interface, James Chapman, (Wed Aug 29, 1:15 am)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Wed Aug 29, 1:29 am)
Re: RFC: issues concerning the next NAPI interface, Jan-Bernd Themann, (Wed Aug 29, 1:31 am)
Re: RFC: issues concerning the next NAPI interface, Jan-Bernd Themann, (Wed Aug 29, 1:43 am)