Subject: queue size
To: None <tech-kern@netbsd.org, tech-net@netbsd.org>
From: =?iso-8859-1?Q?P=E5l_Halvorsen?= <paalh@unik.no>
List: tech-kern
Date: 06/27/2001 16:07:37
Hi
What determines the queue size for the ethernet drivers. I have a Tigon
based 3com Gb card, and looses packets due to QFULL with error ENOBUFS.
However, monitoring the queue length, I see that it is sometimes empty
which could indicate a lowerloss eate with a longer queue.
The queue length is set by
TI_TX_RING_CNT_512 (512)
(subtracted 1) in the /sys/dev/pci/if_ti.c file
Can this limit be increased?
-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 --(_____)