Bug 191384 - [ixgbe] ixgbe driver failed to identify PCI-Express slot bandwidth on 10-STABLE and 9.3-RC1, 10.0-RELEASE is partialy affected
Summary: [ixgbe] ixgbe driver failed to identify PCI-Express slot bandwidth on 10-STAB...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.0-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-net mailing list
URL:
Keywords: IntelNetworking
Depends on:
Blocks:
 
Reported: 2014-06-26 00:48 UTC by Andrew
Modified: 2015-08-04 16:25 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew 2014-06-26 00:48:45 UTC
Hardware is Dell R510, 2xCPU E5620, 32GB RAM
Intel 10Gb SR Server Adapter:
ix0@pci0:3:0:0: class=0x020000 card=0xa05f8086 chip=0x10c78086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82598EB 10-Gigabit AF Network Connection'
    class      = network
    subclass   = ethernet

If this 10Gb card inserted into PCI-E x8 Gen2 slot:
Booting FreeBSD 10.0-STABLE #0 r267874:
ix0: <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 2.5.15> port 0xece0-0xecff mem 0xdf2a0000-0xdf2bffff,0xdf2c0000-0xdf2fffff,0xdf29c000-0xdf29ffff irq 38 at device 0.0 on pci3
ix0: Using MSIX interrupts with 9 vectors
ix0: Ethernet address: 00:1b:21:5c:83:11
ix0: PCI Express Bus: Speed 2.5GT/s Width x1
ix0: PCI-Express bandwidth available for this card
     is not sufficient for optimal performance.
ix0: For optimal performance a x8 PCIE, or x4 PCIE Gen2 slot is required.
Same situation for 9.3-RC1, but I have no dmesg output for it, so may be not excatly.

Booting 10.0-RELEASE seems is Ok. But fail to detect Gen2.
ix0: <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 2.5.15> port 0xece0-0xecff mem 0xdf2a0000-0xdf2bffff,0xdf2c0000-0xdf2fffff,0xdf29c000-0xdf29ffff irq 38 at device 0.0 on pci3
ix0: Using MSIX interrupts with 9 vectors
ix0: Ethernet address: 00:1b:21:5c:83:11
ix0: PCI Express Bus: Speed 2.5GT/s Width x8

When same card inserted into x4 Gen2 slot, 10.0-RELEASE also fail to detect Gen2:
ix0: <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 2.5.15> port 0xdce0-0xdcff mem 0xdf4a0000-0xdf4bffff,0xdf4c0000-0xdf4fffff,0xdf49c000-0xdf49ffff irq 41 at device 0.0 on pci5
ix0: Using MSIX interrupts with 9 vectors
ix0: Ethernet address: 00:1b:21:5c:83:11
ix0: PCI Express Bus: Speed 2.5GT/s Width x4
ix0: PCI-Express bandwidth available for this card
     is not sufficient for optimal performance.
ix0: For optimal performance a x8 PCIE, or x4 PCIE Gen2 slot is required.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-06-26 02:02:35 UTC
Over to maintainers.
Comment 2 Alexander V. Chernikov freebsd_committer 2014-06-26 15:52:40 UTC
As far as I remember, Intel 82598 is not capable of doing 5GT/s.

Quoting product brief: "The Intel® 82598 10 Gigabit Ethernet Controller is a next-generation, PCI Express* 2.0 (2.5 Gbps) controller with balanced features "

http://www.intel.com/content/www/us/en/network-adapters/10-gigabit-network-adapters/82598-10-gigabit-ethernet-controller-brief.html
Comment 3 Sean Bruno freebsd_committer 2015-08-04 16:25:06 UTC
(In reply to Andrew from comment #0)
Andrew:

Can you attach a full pciconf -lvbc to this bugzilla report?