[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090325.144041.128558998.davem@davemloft.net>
Date: Wed, 25 Mar 2009 14:40:41 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dada1@...mosbay.com
Cc: joakim.tjernlund@...nsmode.se, netdev@...r.kernel.org,
avorontsov@...mvista.com, leoli@...escale.com,
linuxppc-dev@...abs.org
Subject: Re: [PATCH] ucc_geth: Move freeing of TX packets to NAPI context.
From: Eric Dumazet <dada1@...mosbay.com>
Date: Wed, 25 Mar 2009 15:04:26 +0100
> Joakim Tjernlund a écrit :
> > + /* Tx event processing */
> > + spin_lock(&ugeth->lock);
> > + for (i = 0; i < ug_info->numQueuesTx; i++) {
> > + ucc_geth_tx(ugeth->dev, i);
> > + }
> > + spin_unlock(&ugeth->lock);
> > +
>
> Why tx completions dont change "howmany" ?
> It seems strange you changed UCC_GETH_DEV_WEIGHT if not taking into account tx event above...
He should leave howmany alone for TX work and use a weight
value of 64 just like most other drivers in the tree do.
Due to the abuse and random ignorant fiddling of the
weight value, I am going to make it something the core
rather than drivers choose.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists