Bug 256512 - net/intel-em-kmod with support for Comet/Tiger/Adler/Meteor lake i219 ethernet obtained from OpenBSD
Summary: net/intel-em-kmod with support for Comet/Tiger/Adler/Meteor lake i219 etherne...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords: IntelNetworking
Depends on:
Blocks:
 
Reported: 2021-06-09 20:18 UTC by ruben
Modified: 2021-06-11 10:27 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (freebsd)


Attachments
Patch file for intel-em-kmod/files (3.14 KB, patch)
2021-06-09 20:18 UTC, ruben
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ruben 2021-06-09 20:18:17 UTC
Created attachment 225671 [details]
Patch file for intel-em-kmod/files

When dropped into /usr/ports/net/intel-em-kmod/files, patch-openbsd-comet-tiger-adler-meteor-lake-pciids provides additional support for Comet/Tiger/Adler/Meteor lake i219 Ethernet.

The PCI ids have been obtained from 

https://github.com/openbsd/src/commit/f872b0ca7bc15abfc9df9784b4b2ca8f97c78027
https://github.com/openbsd/src/commit/0b249e2164be2385bc6a5e82814435649b2b06e0

This makes the i219-V on a ASUSTek / PRIME Z590M-PLUS work.

[...] em0: <Intel(R) PRO/1000 Network Connection 7.7.8> mem 0xa0d00000-0xa0d1ffff at device 31.6 on pci0
[...] em0: Using an MSI interrupt
[...] em0: Ethernet address: ...

em0@pci0:0:31:6:	class=0x020000 rev=0x11 hdr=0x00 vendor=0x8086 device=0x15fa subvendor=0x1043 subdevice=0x8672
    vendor     = 'Intel Corporation'
    device     = 'Ethernet Connection (14) I219-V'
    class      = network
    subclass   = ethernet
    bar   [10] = type Memory, range 32, base rxa0d00000, size 131072, enabled
    cap 01[c8] = powerspec 3  supports D0 D3  current D0
    cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message

tested with ssh connections and dd'ing directly attached storage through netcat into a sinkhole on another system. Wirespeed performance was observed, so I guess tx/rx and irq works. other variants not tested by me