From owner-freebsd-current@FreeBSD.ORG Wed Nov 22 18:28:52 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 522DB16A403 for ; Wed, 22 Nov 2006 18:28:52 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8949143D46 for ; Wed, 22 Nov 2006 18:28:21 +0000 (GMT) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Gmwpz-0000g3-RT for freebsd-current@freebsd.org; Wed, 22 Nov 2006 19:28:48 +0100 Received: from mulderlab.f5.com ([205.229.151.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Nov 2006 19:28:47 +0100 Received: from atkin901 by mulderlab.f5.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Nov 2006 19:28:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Mark Atkinson Date: Wed, 22 Nov 2006 10:28:26 -0800 Lines: 114 Message-ID: References: <200611152004.kAFK4vfe058983@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: mulderlab.f5.com User-Agent: KNode/0.10.4 Sender: news Subject: Re: cvs commit: src/sys/dev/bce if_bce.c src/sys/dev/em if_em.c if_em.h src/sys/dev/mpt mpt.h mpt_pci.c X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Nov 2006 18:28:52 -0000 Mark Atkinson wrote: > (moving to current to avoid dirtying src further) > > John Baldwin wrote: >> jhb 2006-11-15 20:04:57 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/dev/bce if_bce.c >> sys/dev/em if_em.c if_em.h >> sys/dev/mpt mpt.h mpt_pci.c >> Log: >> Add MSI support to em(4), bce(4), and mpt(4). For now, we only support >> devices that support a maximum of 1 message, and we use that 1 message >> instead of the INTx rid 0 IRQ with the same interrupt handler, etc. >> >> Revision Changes Path >> 1.19 +11 -3 src/sys/dev/bce/if_bce.c >> 1.164 +11 -2 src/sys/dev/em/if_em.c >> 1.56 +1 -0 src/sys/dev/em/if_em.h >> 1.31 +1 -0 src/sys/dev/mpt/mpt.h >> 1.39 +14 -1 src/sys/dev/mpt/mpt_pci.c >> _______________________________________________ >> cvs-src@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/cvs-src >> To unsubscribe, send any mail to "cvs-src-unsubscribe@freebsd.org" On another note, I have a MS-9618 mainboard by MSI w/ Intel ICH7R southbridge and Intel 82573V/L that seems to work well: - vmstat -i output after bootup interrupt total rate irq256: em0 752 1 irq257: em1 9 0 - a traversal of a webserver pointing at /usr/share/doc using wget FINISHED --10:19:51-- Downloaded: 532,781,578 bytes in 25931 files - same traversal on a non msi kernel from nov 2 FINISHED --10:23:26-- Downloaded: 532,781,578 bytes in 25931 files so roughly no change there. versbose boot snippet of the onboard em adapters. pcib3: irq 17 at device 28.4 on pci0 pcib3: secondary bus 3 pcib3: subordinate bus 3 pcib3: I/O decode 0x4000-0x4fff pcib3: memory decode 0xd8000000-0xd80fffff pcib3: no prefetched decode pci3: on pcib3 pci3: physical bus=3 found-> vendor=0x8086, dev=0x108b, revid=0x03 bus=3, slot=0, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0107, statreg=0x0010, cachelnsz=8 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=7 powerspec 2 supports D0 D3 current D0 MSI supports 1 message, 64 bit map[10]: type 1, range 32, base 0xd8000000, size 17, enabled pcib3: requested memory range 0xd8000000-0xd801ffff: good map[18]: type 4, range 32, base 0x4000, size 5, enabled pcib3: requested I/O range 0x4000-0x401f: in range pcib3: matched entry for 3.0.INTA pcib3: slot 0 INTA hardwired to IRQ 16 em0: port 0x4000-0x401f m em 0xd8000000-0xd801ffff irq 16 at device 0.0 on pci3 em0: Reserved 0x20000 bytes for rid 0x10 type 3 at 0xd8000000 em0: Reserved 0x20 bytes for rid 0x18 type 4 at 0x4000 em0: bpf attached em0: Ethernet address: 00:13:d3:fe:04:f2 em0: [FAST] pcib4: irq 16 at device 28.5 on pci0 pcib4: secondary bus 4 pcib4: subordinate bus 4 pcib4: I/O decode 0x5000-0x5fff pcib4: memory decode 0xd8100000-0xd81fffff pcib4: no prefetched decode pci4: on pcib4 pci4: physical bus=4 found-> vendor=0x8086, dev=0x108b, revid=0x00 bus=4, slot=0, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0107, statreg=0x0010, cachelnsz=8 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=7 powerspec 2 supports D0 D3 current D0 MSI supports 1 message, 64 bit map[10]: type 1, range 32, base 0xd8100000, size 17, enabled pcib4: requested memory range 0xd8100000-0xd811ffff: good map[18]: type 4, range 32, base 0x5000, size 5, enabled pcib4: requested I/O range 0x5000-0x501f: in range pcib4: matched entry for 4.0.INTA pcib4: slot 0 INTA hardwired to IRQ 17 em1: port 0x5000-0x501f m em 0xd8100000-0xd811ffff irq 17 at device 0.0 on pci4 em1: Reserved 0x20000 bytes for rid 0x10 type 3 at 0xd8100000 em1: Reserved 0x20 bytes for rid 0x18 type 4 at 0x5000 em1: bpf attached em1: Ethernet address: 00:13:d3:fe:04:f3 em1: [FAST] -- Mark Atkinson atkin901@yahoo.com (!wired)?(coffee++):(wired);