Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Feb 2022 17:30:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 261866] ixgbe(4): Resets media type -> autoselect after setting any other type on Intel 82599ES
Message-ID:  <bug-261866-7501-qEHna2kdw4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-261866-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-261866-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261866

--- Comment #2 from Brian Poole <brian90013@gmail.com> ---
(In reply to Kubilay Kocak from comment #1)

Thank you for your help. I was able to place the card in a system running
FreeBSD-13.0-RELEASE-p6. I do see the same behavior.

I try to force 10Gbase-LR but it reverts to auto:
# ifconfig ix1 media 10Gbase-LR;sleep 5; ifconfig ix1
ix1: flags=3D8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=3D4800020<JUMBO_MTU,NOMAP>
        ether 00:23:56:1e:91:ab
        media: Ethernet autoselect (10Gbase-LR <full-duplex,rxpause,txpause=
>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

I try to force 1000baseLX and it still displays auto:
# ifconfig ix1 media 1000baseLX;sleep 5; ifconfig ix1
ix1: flags=3D8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=3D4800020<JUMBO_MTU,NOMAP>
        ether 00:23:56:1e:91:ab
        media: Ethernet autoselect (1000baseLX <full-duplex,rxpause,txpause=
>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

Looking at the problem on this machine, I'm thinking the issue is really
displaying the current setting. When I switch between 10G and 1G, the link =
is
negotiating the requested speed. Looking at sysctl dev.ix.1.advertise_speed=
, it
is changing from 6 for (10G | 1G) to 2 (1G).

--=20
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261866-7501-qEHna2kdw4>