Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Driver support for Intel I225/I226 Ethernet adapters



			Hi everyone,

> On 4. Oct 2023, at 10:01, Rin Okuyama <rokuyama.rk%gmail.com@localhost> wrote:
> 
> I've committed igc(4) driver for Intel I225 and I226 series NICs with
> one-week delay ;)
> 
> As noted in the commit log, it is still experimental; it lacks some
> logic for minor error
> handling paths, but it works almost fine for both LP64/ILP32 and
> big-/little-endian.

This is awesome, thank you!

With the netbsd-10 branch:

> [     1.044048] ppb1 at pci0 dev 28 function 1: Intel Elkhart Lake PCIe Root Port 1 (PCIe 0, Single VC) (rev. 0x11)
> [     1.044048] ppb1: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 8.0GT/s
> [     1.044048] ppb1: link is x1 @ 5.0GT/s
> [     1.044048] pci2 at ppb1 bus 2
> [     1.044048] pci2: i/o space, memory space enabled
> [     1.044048] igc0 at pci2 dev 0 function 0: Intel(R) Ethernet Controller I226-V (rev. 0x04)
> [     1.044048] igc0: txrx interrupting at msix3 vec 0
> [     1.044048] igc0: txrx interrupting at msix3 vec 1
> [     1.044048] igc0: txrx interrupting at msix3 vec 2
> [     1.044048] igc0: txrx interrupting at msix3 vec 3
> [     1.044048] igc0: link interrupting at msix3 vec 4
> [     1.044048] igc0: PHY: OUI 0x984fee model 0x0005, rev. 8
> [     1.044048] igc0: ROM image version 2.14, PHY FW version 0x8877
> [     1.044048] igc0: Ethernet address 00:12:34:56:78:9g
> [     1.044048] ppb2 at pci0 dev 28 function 2: Intel Elkhart Lake PCIe Root Port 2 (PCIe 0, Single VC) (rev. 0x11)
> [     1.044048] ppb2: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 8.0GT/s
> [     1.044048] ppb2: link is x1 @ 5.0GT/s
> [     1.044048] pci3 at ppb2 bus 3
> [     1.044048] pci3: i/o space, memory space enabled
> [     1.044048] igc1 at pci3 dev 0 function 0: Intel(R) Ethernet Controller I226-V (rev. 0x04)
> [     1.044048] igc1: txrx interrupting at msix4 vec 0
> [     1.044048] igc1: txrx interrupting at msix4 vec 1
> [     1.044048] igc1: txrx interrupting at msix4 vec 2
> [     1.044048] igc1: txrx interrupting at msix4 vec 3
> [     1.044048] igc1: link interrupting at msix4 vec 4
> [     1.044048] igc1: PHY: OUI 0x984fee model 0x0005, rev. 8
> [     1.044048] igc1: ROM image version 2.14, PHY FW version 0x8877
> [     1.044048] igc1: Ethernet address 00:12:34:56:78:9h


(MAC addresses amended manually)

I cannot test if the cards are functional yet - these interfaces are not connected to anything at the moment - but I will let you know if I run into any issues.

Both cards do report 2.5GBASE-T capacity in “ifconfig -m” as expected.

Cheers!
— khorben

> On Fri, Sep 22, 2023 at 9:00 PM Pierre Pronchery <khorben%defora.org@localhost> wrote:
>> 
>>                        Hi :)
>> 
>>> On 22. Sep 2023, at 11:36, Rin Okuyama <rokuyama.rk%gmail.com@localhost> wrote:
>>> 
>>> Sorry for the late response.
>> 
>> No worries!
>> 
>>> On Mon, Sep 18, 2023 at 6:01 AM Pierre Pronchery <khorben%defora.org@localhost> wrote:
>>>> I am wondering if anyone has any plans to work on supporting Intel’s I225 and/or I226 series of Ethernet adapters in NetBSD?
>>>> 
>>>> I have a board with a couple I226-V chips here (CW-J6-NAS, as per https://cwwk.net/products/j6412-j6413-nas-board-six-sata3-0-dual-m-2-i226-v-nics). It works great with NetBSD so far, but only the Realtek-based Ethernet chip is recognised.
>>>> 
>>>> I’ll be happy to test tentative drivers on request.
>>> 
>>> knakahara@,  msaitoh@, and I are working on importing igc(4) driver
>>> from OpenBSD.
>>> It already works almost fine. We will commit it next week if no
>>> serious problem appears :)
>> 
>> This is awesome to hear, thank you!
>> 
>> Looking forward to testing it,

--
khorben

Attachment: signature.asc
Description: Message signed with OpenPGP



Home | Main Index | Thread Index | Old Index