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)
Dec 26 2022, 4:02 PM
Unknown Object (File)
Dec 25 2022, 7:06 AM
Unknown Object (File)
Oct 25 2016, 6:59 AM
Unknown Object (File)
Jul 26 2016, 10:18 AM
Unknown Object (File)
Jun 19 2016, 1:50 PM
Unknown Object (File)
Jun 16 2016, 12:39 PM
Unknown Object (File)
Apr 24 2016, 6:33 AM
Unknown Object (File)
Feb 3 2016, 6:01 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