Re: [PATCH 1/2] ucc_geth: Move freeing of TX packets to NAPI context.

2009-03-30 Thread Li Yang
On Mon, Mar 30, 2009 at 3:48 PM, Joakim Tjernlund wrote: > pku@gmail.com wrote on 30/03/2009 09:36:21: >> >> On Fri, Mar 27, 2009 at 7:52 PM, Joakim Tjernlund >> wrote: >> > pku@gmail.com wrote on 27/03/2009 11:50:09: >> >> >> >> On Thu, Mar 26, 2009 at 8:54 PM, Joakim Tjernlund >> >> wr

Re: [PATCH 1/2] ucc_geth: Move freeing of TX packets to NAPI context.

2009-03-30 Thread Joakim Tjernlund
pku@gmail.com wrote on 30/03/2009 09:36:21: > > On Fri, Mar 27, 2009 at 7:52 PM, Joakim Tjernlund > wrote: > > pku@gmail.com wrote on 27/03/2009 11:50:09: > >> > >> On Thu, Mar 26, 2009 at 8:54 PM, Joakim Tjernlund > >> wrote: > >> > Also set NAPI weight to 64 as this is a common value.

Re: [PATCH 1/2] ucc_geth: Move freeing of TX packets to NAPI context.

2009-03-30 Thread Li Yang
On Fri, Mar 27, 2009 at 7:52 PM, Joakim Tjernlund wrote: > pku@gmail.com wrote on 27/03/2009 11:50:09: >> >> On Thu, Mar 26, 2009 at 8:54 PM, Joakim Tjernlund >> wrote: >> > Also set NAPI weight to 64 as this is a common value. >> > This will make the system alot more responsive while >> > pi

Re: [PATCH 1/2] ucc_geth: Move freeing of TX packets to NAPI context.

2009-03-27 Thread David Miller
From: Joakim Tjernlund Date: Fri, 27 Mar 2009 12:52:41 +0100 > pku@gmail.com wrote on 27/03/2009 11:50:09: > > It doesn't make sense to have larger napi budget than the size of RX > > BD ring. You can't have more BDs than RX_BD_RING_LEN in backlog for > > napi_poll to process. Increase the

Re: [PATCH 1/2] ucc_geth: Move freeing of TX packets to NAPI context.

2009-03-27 Thread Joakim Tjernlund
pku@gmail.com wrote on 27/03/2009 11:50:09: > > On Thu, Mar 26, 2009 at 8:54 PM, Joakim Tjernlund > wrote: > > Also set NAPI weight to 64 as this is a common value. > > This will make the system alot more responsive while > > ping flooding the ucc_geth ethernet interaface. > > > > Signed-off-

Re: [PATCH 1/2] ucc_geth: Move freeing of TX packets to NAPI context.

2009-03-27 Thread Li Yang
On Thu, Mar 26, 2009 at 8:54 PM, Joakim Tjernlund wrote: > Also set NAPI weight to 64 as this is a common value. > This will make the system alot more responsive while > ping flooding the ucc_geth ethernet interaface. > > Signed-off-by: Joakim Tjernlund > --- >  drivers/net/ucc_geth.c |   32

Re: [PATCH 1/2] ucc_geth: Move freeing of TX packets to NAPI context.

2009-03-26 Thread Joakim Tjernlund
Eric Dumazet wrote on 26/03/2009 15:15:25: > > Joakim Tjernlund a écrit : > > Also set NAPI weight to 64 as this is a common value. > > This will make the system alot more responsive while > > ping flooding the ucc_geth ethernet interaface. > > > > Signed-off-by: Joakim Tjernlund > > --- > > d

Re: [PATCH 1/2] ucc_geth: Move freeing of TX packets to NAPI context.

2009-03-26 Thread Eric Dumazet
Joakim Tjernlund a écrit : > Also set NAPI weight to 64 as this is a common value. > This will make the system alot more responsive while > ping flooding the ucc_geth ethernet interaface. > > Signed-off-by: Joakim Tjernlund > --- > drivers/net/ucc_geth.c | 32 >

[PATCH 1/2] ucc_geth: Move freeing of TX packets to NAPI context.

2009-03-26 Thread Joakim Tjernlund
Also set NAPI weight to 64 as this is a common value. This will make the system alot more responsive while ping flooding the ucc_geth ethernet interaface. Signed-off-by: Joakim Tjernlund --- drivers/net/ucc_geth.c | 32 drivers/net/ucc_geth.h |1 - 2 files