netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* tx_queue_len question
@ 2009-03-30 17:49 Miguel Ángel Álvarez
  2009-04-01 11:16 ` Jarek Poplawski
  0 siblings, 1 reply; 2+ messages in thread
From: Miguel Ángel Álvarez @ 2009-03-30 17:49 UTC (permalink / raw)
  To: netdev, Krzysztof Halasa

Hi

Could anyone please tell me how tx_queue_len works? (Or where to take
a look to?).

I am facing two problems with it:
- Using ixp4xx_hss driver, I am not in the same situation if I let the
driver chose tx_queue_len in the initialization, or if I use ifconfig
with the same value (100). With the last it seems to be capable of
storing more frames.
- When I increment it to 300 using ifconfig, the behaviour seems to be
worse than in the case of 100 or 200. Which are the litis of the
value?

Thanks

Miguel Ángel Álvarez

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: tx_queue_len question
  2009-03-30 17:49 tx_queue_len question Miguel Ángel Álvarez
@ 2009-04-01 11:16 ` Jarek Poplawski
  0 siblings, 0 replies; 2+ messages in thread
From: Jarek Poplawski @ 2009-04-01 11:16 UTC (permalink / raw)
  To: =?ISO-8859-2?Q?Miguel_=C1ngel_=C1lvarez?=; +Cc: netdev, Krzysztof Halasa

On 30-03-2009 18:49, Miguel Ángel Álvarez wrote:
> Hi
> 
> Could anyone please tell me how tx_queue_len works? (Or where to take
> a look to?).

Maybe net/sched/sch_generic.c: pfifo_fast_enqueue()?

> 
> I am facing two problems with it:
> - Using ixp4xx_hss driver, I am not in the same situation if I let the
> driver chose tx_queue_len in the initialization, or if I use ifconfig
> with the same value (100). With the last it seems to be capable of
> storing more frames.

This shouldn't matter unless I miss something.

> - When I increment it to 300 using ifconfig, the behaviour seems to be
> worse than in the case of 100 or 200. Which are the litis of the
> value?

Except some special cases there is used a common value for a similar
class of devices, like in ether_setup(). The behaviour should depend
on the kind of traffic.

Jarek P.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-01 11:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-30 17:49 tx_queue_len question Miguel Ángel Álvarez
2009-04-01 11:16 ` Jarek Poplawski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).