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

From: Mark Atkinson <atkin901_at_yahoo.com>
Date: Wed, 22 Nov 2006 10:28:26 -0800
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_at_freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/cvs-src
>> To unsubscribe, send any mail to "cvs-src-unsubscribe_at_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: <ACPI PCI-PCI bridge> 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: <ACPI PCI bus> 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: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> 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: <ACPI PCI-PCI bridge> 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: <ACPI PCI bus> 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: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> 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_at_yahoo.com
(!wired)?(coffee++):(wired);
Received on Wed Nov 22 2006 - 17:28:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:03 UTC