Page MenuHomeFreeBSD

Make ixgbe(4) set media as 10Gbase-T.
ClosedPublic

Authored by araujo on Sep 24 2014, 5:10 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 10, 5:58 PM
Unknown Object (File)
Wed, Apr 10, 12:22 AM
Unknown Object (File)
Mon, Apr 8, 8:52 PM
Unknown Object (File)
Mar 19 2024, 3:38 AM
Unknown Object (File)
Mar 18 2024, 6:50 PM
Unknown Object (File)
Feb 19 2024, 1:58 PM
Unknown Object (File)
Dec 22 2023, 8:34 PM
Unknown Object (File)
Nov 30 2023, 2:25 AM
Subscribers
None

Details

Summary

The ixgbe(4) shows two options of media: auto and 10Gbase-T, but it is not possible to set the 10Gbase-T.

Test Plan

Without patch:
BSDBuild# ifconfig -m ix0 | grep media
media: Ethernet autoselect (1000baseT <full-duplex>)
supported media:

		media autoselect
		media 10Gbase-T

BSDBuild# ifconfig ix0 media 10Gbase-T
ifconfig: SIOCSIFMEDIA (media): Invalid argument

With patch:
BSDBuild# ifconfig -m ix0
ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8407bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO>
capabilities=8507bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWFILTER,VLAN_HWTSO>
ether 00:08:9b:d4:6b:6e
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseSX <full-duplex>)
status: active
supported media:

		media autoselect
		media 10Gbase-T

BSDBuild# ifconfig ix0 media 10Gbase-T
BSDBuild# ifconfig ix0
ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8407bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO>
ether 00:08:9b:d4:6b:6e
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet 10Gbase-T (1000baseSX <full-duplex>)
status: active

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

araujo retitled this revision from to Make ixgbe(4) set media as 10Gbase-T..
araujo updated this object.
araujo edited the test plan for this revision. (Show Details)
araujo added reviewers: glebius, adrian.
jfv edited edge metadata.
This revision is now accepted and ready to land.Feb 18 2015, 7:25 PM