Re: [Linux-ia64] kernel update (relative to v2.4.18)

From: Kimio Suganuma <k-suganuma_at_mvj.biglobe.ne.jp>
Date: 2002-07-23 09:54:23
Hi,

On Sat, 20 Jul 2002 00:08:22 -0700
David Mosberger <davidm@napali.hpl.hp.com> wrote:

> The latest ia64 kernel patch is at
> ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.4/ in file:
> 
>         linux-2.4.18-ia64-020719.diff.gz

In this version, my system doesn't boot without increasing swiotlb.
It was able to boot with default swiotlb in the previous version.

I found eepro100 driver was trying to get swiotlb of
(0x610 bytes * 1024 = 0x184000) at booting, and this caused
swiotlb shortage.

I guess the problem might be caused by this modification;

> - Include eepro1000 and Tigon3 support (various, plus bug fixes by
>   Grant Grundler for these and other gigE cards)

In linux-2.4.18/drivers/net/eepro100.c, RX_RING_SIZE is changed to 1024!!

-------------
 /* A few values that may be tweaked. */
 /* The ring sizes should be a power of two for efficiency. */
-#define TX_RING_SIZE   32
-#define RX_RING_SIZE   32
+#define TX_RING_SIZE   64
+#define RX_RING_SIZE   1024
--------------

If this modification is permanent, I think default value of swiotlb
should be increased. Any comment?

Regards,
Kimi

-- 
Kimio Suganuma <k-suganuma@mvj.biglobe.ne.jp>
Received on Mon Jul 22 16:55:36 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:09 EST