Discussion:
PCI MSI for re(4)
(too old to reply)
Paul Goyette
2015-12-12 08:06:02 UTC
Permalink
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.
I've been running with this for a couple weeks now, and everything just
works. No issues seen.

...
re0 at pci3 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x06)
re0: interrupting at msi0 vec 0
re0: Ethernet address 30:b5:c2:05:0e:66
re0: using 256 tx descriptors
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 4
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
...

Are you planning to commit the changes soon?



+------------------+--------------------------+------------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Jonathan A. Kollasch
2015-12-13 18:02:39 UTC
Permalink
Post by Paul Goyette
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.
I've been running with this for a couple weeks now, and everything just
works. No issues seen.
...
re0 at pci3 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x06)
re0: interrupting at msi0 vec 0
re0: Ethernet address 30:b5:c2:05:0e:66
re0: using 256 tx descriptors
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 4
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
...
Are you planning to commit the changes soon?
I'll probably commit it soon, because it doesn't look like I'll be
getting to MSI for Tegra K1 soon.

Jonathan Kollasch

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...