Re: PCI MSI for re(4)

2015-11-13 Thread Paul Goyette
On Fri, 13 Nov 2015, Paul Goyette wrote: On Thu, 12 Nov 2015, Jonathan A. Kollasch wrote: Hi, Attached is a patch that should enable PCI MSI for pci(4)-attached re(4) NICs. I would like both review of the code, and additional testing. I've tested it successfully on amd64 -current

Re: PCI MSI for re(4)

2015-11-13 Thread Paul Goyette
On Thu, 12 Nov 2015, Jonathan A. Kollasch wrote: Hi, Attached is a patch that should enable PCI MSI for pci(4)-attached re(4) NICs. I would like both review of the code, and additional testing. I've tested it successfully on amd64 -current with a 8100E/8101E/8102E/8102EL chip. Great - I

PCI MSI for re(4)

2015-11-12 Thread Jonathan A. Kollasch
Hi, Attached is a patch that should enable PCI MSI for pci(4)-attached re(4) NICs. I would like both review of the code, and additional testing. I've tested it successfully on amd64 -current with a 8100E/8101E/8102E/8102EL chip. Jonathan Kollasch Index: src/sys/dev/pci/if_re_pci.c

Re: PCI MSI for re(4)

2015-11-12 Thread Kengo NAKAHARA
Hi, On 2015/11/13 13:37, Jonathan A. Kollasch wrote: > Attached is a patch that should enable PCI MSI for pci(4)-attached re(4) > NICs. I would like both review of the code, and additional testing. > > I've tested it successfully on amd64 -current with a > 8100E/8101E/8102E/8102

Re: PCI MSI for re(4)

2015-11-12 Thread NONAKA Kimihiro
Hi, 2015-11-13 13:37 GMT+09:00 Jonathan A. Kollasch <jakll...@kollasch.net>: > Attached is a patch that should enable PCI MSI for pci(4)-attached re(4) > NICs. I would like both review of the code, and additional testing. It works fine with 8111G chip on amd64 :-) Regards, -- NONAKA Kimihiro

Re: PCI MSI for re(4)

2015-11-12 Thread Rin Okuyama
Hi, it works fine with a 8168/8111 chip on i386: % uname -a NetBSD XXX 7.99.21 NetBSD 7.99.21 (GENERIC) #0: Fri Nov 13 14:31:15 JST 2015 root@XXX:XXX i386 % dmesg | grep re0 re0 at pci3 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x11) re0: interrupting at msi0 vec 0 re0: