netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jarek Poplawski <jarkao2@gmail.com>
To: =?ISO-8859-2?Q?Miguel_=C1ngel_=C1lvarez?= <gotzoncabanes@gmail.com>
Cc: netdev@vger.kernel.org, Krzysztof Halasa <khc@pm.waw.pl>
Subject: Re: tx_queue_len question
Date: Wed, 1 Apr 2009 11:16:33 +0000	[thread overview]
Message-ID: <20090401111633.GD5970@ff.dom.local> (raw)
In-Reply-To: <b0438a630903301049s7aa796b5t1658999bd4ee1f69@mail.gmail.com>

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.

      reply	other threads:[~2009-04-01 11:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-30 17:49 tx_queue_len question Miguel Ángel Álvarez
2009-04-01 11:16 ` Jarek Poplawski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090401111633.GD5970@ff.dom.local \
    --to=jarkao2@gmail.com \
    --cc=gotzoncabanes@gmail.com \
    --cc=khc@pm.waw.pl \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).