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)
Tue, Dec 17, 12:20 AM
Unknown Object (File)
Nov 12 2024, 8:26 PM
Unknown Object (File)
Nov 10 2024, 1:34 AM
Unknown Object (File)
Oct 29 2024, 2:21 AM
Unknown Object (File)
Oct 23 2024, 7:53 AM
Unknown Object (File)
Oct 23 2024, 7:53 AM
Unknown Object (File)
Oct 23 2024, 7:46 AM
Unknown Object (File)
Oct 2 2024, 9:18 PM
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