Subject: kern/24686: bge(4) cannot free jumbo RX ring properly
To: None <>
From: None <>
List: netbsd-bugs
Date: 03/06/2004 10:33:23
>Number:         24686
>Category:       kern
>Synopsis:       bge(4) cannot free jumbo RX ring properly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 06 10:34:00 UTC 2004
>Originator:     HITOSHI Osada
>Release:        1.6.2
NetBSD that 1.6.2 NetBSD 1.6.2 (THATK7) #48: Sat Mar  6 14:48:20 JST 2004    that@that:/Sources/NetBSD-src/src/sys/arch/i386/compile/THATK7 i386
Because forgotten to set BGE_JUMBO_RXRING_VALID flag in bge_init_rx_ring_jumbo(), setting MTU > 1500 produces "no free jumbo buffers" error.

This bug exists even in -current.
# ifconfig bge0 mtu 9000
Index: if_bge.c
RCS file: /cvsroot/src/sys/dev/pci/if_bge.c,v
retrieving revision
diff -r1.29.2.5 if_bge.c
> 	if (sc->bge_flags & BGE_JUMBO_RXRING_VALID)
> 		return 0;
> 	sc->bge_flags |= BGE_JUMBO_RXRING_VALID;