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

David Miller davem at davemloft.net
Thu Mar 26 08:42:07 EST 2009


From: Joakim Tjernlund <Joakim.Tjernlund at transmode.se>
Date: Wed, 25 Mar 2009 16:16:24 +0100

> UCC_GETH_DEV_WEIGHT needs to be a bit bigger than the number of RX
> HW buffers avaliable, otherwise one won't be able to drain the whole
> queue in one go. Changing weight to something bigger made a big
> difference.

You're not supposed to "drain the whole queue in one go", that
is not the goal of the weight value.

The goal of the weight value is that it is low enough such that
other devices also scheduled for NAPI on the current processor
can get some fair time to process packets too.



More information about the Linuxppc-dev mailing list