Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Out of IMQ interfaces
Date: Tue, 08 Jul 2003 02:59:00 +0000	[thread overview]
Message-ID: <marc-lartc-105763336117164@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105761011032331@msgid-missing>



Hasso Tepper wrote:

>But there is problem though - router can handle more, but I'm running 
>out of IMQ devices. Default is 16 devices, but it is possible to 
>change it in linux/include/imq.h. Theoretical maximum is 127. There 
>is bug is imq module btw, it refuses to accept bigger number of 
>numdevs argument than 99. But router really can handle more.
>
The default is 2 devices. I can not imagine why there should be a 99 device
limit, there is one such limit in net/core/dev.c:dev_alloc_name, but imq
doesn't use that function. I can't really imagine alloc_netdev calling 
dev_alloc_name
because the caller chooses it's own name, but i haven't checked. if you want
to make sure, change dev_alloc_name to support more than 100 devices 
(trivial)
and try again. Please inform me in case of success.

Bye,
Patrick

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  reply	other threads:[~2003-07-08  2:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-07 20:32 [LARTC] Out of IMQ interfaces Hasso Tepper
2003-07-08  2:59 ` Patrick McHardy [this message]
2003-07-08  8:45 ` Alexander Trotsai
2003-07-08  9:50 ` Hasso Tepper
2003-07-09 11:30 ` Patrick McHardy

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=marc-lartc-105763336117164@msgid-missing \
    --to=kaber@trash.net \
    --cc=lartc@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