Project

General

Profile

Actions

Bug #15047

open

Dell R450 OCP 3.0 - Recognize Intel X710 10GBaseT

Added by Kilian Ries about 2 months ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
driver - device drivers
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

Hi,

i have a new Dell R450 server with 2x Intel X710 10G Base-T on board (via OCP 3.0). It seems that the card is not recognized correctly:

###
prtconf -dD

pci, instance #3 (driver name: npe)
pci8086,0 (pciex8086,9a2) [Intel Corporation unknown device]
pci8086,0 (pciex8086,9a4) [Intel Corporation unknown device]
pci8086,0 (pciex8086,9a3) [Intel Corporation unknown device]
pci8086,0 (pciex8086,998) [Intel Corporation unknown device]
pci8086,347a (pciex8086,347a) [Intel Corporation unknown device], instance #3 (driver name: pcieb)
pci8086,7 (pciex8086,15ff) [Intel Corporation Ethernet Controller X710 for 10GBASE-T]
pci8086,0 (pciex8086,15ff) [Intel Corporation Ethernet Controller X710 for 10GBASE-T]

###

###

prtconf -dD -v

pci8086,347a (pciex8086,347a) [Intel Corporation unknown device], instance #3 (driver name: pcieb)
System software properties:
name='ddi-forceattach' type=int items=1
value=00000001
Driver properties:
name='device_type' type=string items=1 dev=none
value='pciex'
name='fm-ereport-capable' type=boolean dev=none
Hardware properties:
name='pci-msi-capid-pointer' type=int items=1
value=00000090
name='pcie-link-supported-speeds' type=int64 items=4
value=000000009502f900.000000012a05f200.00000001dcd65000.00000003b9aca000
name='pcie-link-target-speed' type=int64 items=1
value=00000003b9aca000
name='pcie-link-maximum-speed' type=int64 items=1
value=00000003b9aca000
name='pcie-link-current-speed' type=int64 items=1
value=00000001dcd65000
name='pcie-link-current-width' type=int items=1
value=00000008
name='pcie-link-maximum-width' type=int items=1
value=00000010
name='available' type=int items=10
value=81000000.00000000.0000b000.00000000.00001000.c2000000.00000000.d3010000.00000000.000f0000
name='acpi-namespace' type=string items=1
value='\_SB_.PC04.BR4A'
name='assigned-addresses' type=int items=5
value=83891010.000038ff.fff00000.00000000.00020000
name='reg' type=int items=10
value=00891000.00000000.00000000.00000000.00000000.03891010.00000000.00000000.00000000.00020000
name='compatible' type=string items=9
value='pciex8086,347a.4' + 'pciex8086,347a' + 'pciexclass,060400' + 'pciexclass,0604' + 'pci8086,347a.4' + 'pci8086,347a,p' + 'pci8086,347a' + 'pciclass,060400' + 'pciclass,0604'
name='model' type=string items=1
value='PCI-PCI bridge'
name='ranges' type=int items=16
value=81000000.00000000.0000b000.81000000.00000000.0000b000.00000000.00001000.c2000000.00000000.d1000000.c2000000.00000000.d1000000.00000000.02100000
name='bus-range' type=int items=2
value=0000008a.0000008a
name='#size-cells' type=int items=1
value=00000002
name='#address-cells' type=int items=1
value=00000003
name='device_type' type=string items=1
value='pciex'
name='power-consumption' type=int items=2
value=00000001.00000001
name='devsel-speed' type=int items=1
value=00000000
name='interrupts' type=int items=1
value=00000001
name='unit-address' type=string items=1
value='2'
name='class-code' type=int items=1
value=00060400
name='revision-id' type=int items=1
value=00000004
name='vendor-id' type=int items=1
value=00008086
name='device-id' type=int items=1
value=0000347a
name='vendor-name' type=string items=1
value='Intel Corporation'
name='device-name' type=string items=1
value='unknown device'
Device Minor Nodes:
dev=(80,1023)
dev_path=/pci@85,0/pci8086,347a@2:devctl
spectype=chr type=minor
pci8086,7 (pciex8086,15ff) [Intel Corporation Ethernet Controller X710 for 10GBASE-T]
Hardware properties:
name='pcie-link-supported-speeds' type=int64 items=3
value=000000009502f900.000000012a05f200.00000001dcd65000
name='pcie-link-target-speed' type=int64 items=1
value=000000009502f900
name='pcie-link-maximum-speed' type=int64 items=1
value=00000001dcd65000
name='pcie-link-current-speed' type=int64 items=1
value=00000001dcd65000
name='pcie-link-current-width' type=int items=1
value=00000008
name='pcie-link-maximum-width' type=int items=1
value=00000008
name='acpi-namespace' type=string items=1
value='\_SB_.PC04.BR4A.D000'
name='assigned-addresses' type=int items=10
value=c38a0010.00000000.d2000000.00000000.01000000.c38a001c.00000000.d3008000.00000000.00008000
name='reg' type=int items=15
value=008a0000.00000000.00000000.00000000.00000000.438a0010.00000000.00000000.00000000.01000000.438a001c.00000000.00000000.00000000.00008000
name='compatible' type=string items=15
value='pciex8086,15ff.8086.7.2' + 'pciex8086,15ff.8086.7' + 'pciex8086,15ff.2' + 'pciex8086,15ff' + 'pciexclass,020000' + 'pciexclass,0200' + 'pci8086,15ff.8086.7.2' + 'pci8086,15ff.8086.7' + 'pci8086,7,s' + 'pci8086,7' + 'pci8086,15ff.2' + 'pci8086,15ff,p' + 'pci8086,15ff' + 'pciclass,020000' + 'pciclass,0200'
name='model' type=string items=1
value='Ethernet controller'
name='power-consumption' type=int items=2
value=00000001.00000001
name='devsel-speed' type=int items=1
value=00000000
name='interrupts' type=int items=1
value=00000001
name='subsystem-vendor-id' type=int items=1
value=00008086
name='subsystem-id' type=int items=1
value=00000007
name='unit-address' type=string items=1
value='0'
name='class-code' type=int items=1
value=00020000
name='revision-id' type=int items=1
value=00000002
name='vendor-id' type=int items=1
value=00008086
name='device-id' type=int items=1
value=000015ff
name='vendor-name' type=string items=1
value='Intel Corporation'
name='device-name' type=string items=1
value='Ethernet Controller X710 for 10GBASE-T'
name='subsystem-name' type=string items=1
value='Ethernet 10G 2P X710-T2L-t OCP'
pci8086,0 (pciex8086,15ff) [Intel Corporation Ethernet Controller X710 for 10GBASE-T]
Hardware properties:
name='pcie-link-supported-speeds' type=int64 items=3
value=000000009502f900.000000012a05f200.00000001dcd65000
name='pcie-link-maximum-speed' type=int64 items=1
value=00000001dcd65000
name='pcie-link-current-speed' type=int64 items=1
value=00000001dcd65000
name='pcie-link-current-width' type=int items=1
value=00000008
name='pcie-link-maximum-width' type=int items=1
value=00000008
name='acpi-namespace' type=string items=1
value='\_SB_.PC04.BR4A.D001'
name='assigned-addresses' type=int items=10
value=c38a0110.00000000.d1000000.00000000.01000000.c38a011c.00000000.d3000000.00000000.00008000
name='reg' type=int items=15
value=008a0100.00000000.00000000.00000000.00000000.438a0110.00000000.00000000.00000000.01000000.438a011c.00000000.00000000.00000000.00008000
name='compatible' type=string items=15
value='pciex8086,15ff.8086.0.2' + 'pciex8086,15ff.8086.0' + 'pciex8086,15ff.2' + 'pciex8086,15ff' + 'pciexclass,020000' + 'pciexclass,0200' + 'pci8086,15ff.8086.0.2' + 'pci8086,15ff.8086.0' + 'pci8086,0,s' + 'pci8086,0' + 'pci8086,15ff.2' + 'pci8086,15ff,p' + 'pci8086,15ff' + 'pciclass,020000' + 'pciclass,0200'
name='model' type=string items=1
value='Ethernet controller'
name='power-consumption' type=int items=2
value=00000001.00000001
name='devsel-speed' type=int items=1
value=00000000
name='interrupts' type=int items=1
value=00000001
name='subsystem-vendor-id' type=int items=1
value=00008086
name='subsystem-id' type=int items=1
value=00000000
name='unit-address' type=string items=1
value='0,1'
name='class-code' type=int items=1
value=00020000
name='revision-id' type=int items=1
value=00000002
name='vendor-id' type=int items=1
value=00008086
name='device-id' type=int items=1
value=000015ff
name='vendor-name' type=string items=1
value='Intel Corporation'
name='device-name' type=string items=1
value='Ethernet Controller X710 for 10GBASE-T'
name='subsystem-name' type=string items=1
value='Ethernet Network Adapter X710-TL'

###

For me it looks like the PCI ID is not listed in "/etc/driver_aliases" so the system doesn't recognize the card and drivers are not loaded.

Running on custom SmartOS build: SunOS 5.11 joyent_20220924T231945Z i86pc i386 i86pc

Looks similarly to this one: https://www.illumos.org/issues/13334

If you need more infos, please let me know.

Regards,
Kilian

Actions #1

Updated by Dan McDonald about 2 months ago

Odd, because that driver alias (8086,15ff) is in /etc/driver_aliases on SmartOS:

[root@moe (kebecloud) ~]# grep 15ff /etc/driver_aliases 
i40e "pciex8086,15ff" 
[root@moe (kebecloud) ~]# 

Any complaints from i40e in /var/adm/messages* ?

You do note it's a custom SmartOS build. I'm assuming you haven't mucked with usr/src/uts/intel/os/driver_aliases vs. what's in illumos-joyent? Because it's there:

nowhere(~/ws/illumos-joyent)[0]% git log -1
commit 714b0bb56eb9690c26e204fd05fadb02bf82e0b7 (HEAD -> master, origin/master, origin/HEAD)
Merge: dc7fbcdec8 857c33c4a4
Author: Dan McDonald <danmcd@mnx.io>
Date:   Wed Oct 5 09:56:04 2022 -0400

            [illumos-gate merge]

    commit 857c33c4a4bcde4bcde111ad59066aff44fb3f51
        15030 AD join should allow specifying container OU
nowhere(~/ws/illumos-joyent)[0]% grep 15ff usr/src/uts/intel/os/driver_aliases 
i40e "pciex8086,15ff" 
nowhere(~/ws/illumos-joyent)[0]% 
Actions #2

Updated by Kilian Ries about 2 months ago

Dan, i'm sorry you are right ... just switched to the newly releases upstream SmartOS build and the NICs are working correctly:

###

$uname -a
SunOS 5.11 joyent_20221006T003323Z i86pc i386 i86pc

$grep 15ff /etc/driver_aliases
i40e "pciex8086,15ff"

$dladm show-phys -m
LINK SLOT ADDRESS INUSE CLIENT
i40e0 primary b4:96:91:f8:bb:e8 yes i40e0
i40e1 primary b4:96:91:f8:bb:e9 yes i40e1
bge0 primary 8:92:4:b6:9c:e yes bge0
bge1 primary 8:92:4:b6:9c:f yes bge1

###

I'll have a look into our build and fix it there ... Thanks for helping me out ;)

Actions #3

Updated by Kilian Ries about 2 months ago

Please close this as resolved.

Actions

Also available in: Atom PDF