Subject: Queue length
To: None <tech-kern@netbsd.org>
From: =?iso-8859-1?Q?P=E5l_Halvorsen?= <paalh@unik.no>
List: tech-kern
Date: 06/27/2001 09:18:35
Hi!

I'm sending data (with UDP/IP in an in-kernel data-path) too fast for the
NIC, and the queue is filled up making the system to dropp packets with
error ENOBUFS. Both ip_output and if_etheroutput checks the
ifp->if_snd.ifq_maxlen which is by default
IFQ_MAXLEN (50)!!?? Is this value increased somewhere if the queue starts
to fill, because I printed this value and is says 511.....

Could it help to increase this value?

Thanks,
-ph
---       . o  o   .  o  .  o ..  o ..  o .. o oo . o  . o o o
         _n_n_n____i_i _++++++_ _______ ________ _+++++++++++_
      *>(____________I I______I I_____I I______I I___________I
 __^__  /ooOOOO OOOOoo  oo ooo  oo   oo oo    oo ooo       ooo  __^__
( ___ )--------------------------------------------------------( ___ )
 | / | Paal Halvorsen   UniK - Center for technology at Kjeller | \ |
 | / |                                       University of Oslo | \ |
 | / | Phone: +47 64844731                               PB. 70 | \ |
 | / | Phone: +47 64844700 (switchboard)       N - 2027 KJELLER | \ |
 |_/_| Fax:   +47 63818146                               Norway |__|
(_____)-- E-mail: paalh@unik.no -- http://www.unik.no/~paalh --(_____)