Date: Thu, 13 Jan 2011 21:46:15 +0300 From: Lev Serebryakov <lev@serebryakov.spb.ru> To: Marius Strobl <marius@alchemy.franken.de> Cc: Pyun YongHyeon <pyunyh@gmail.com>, freebsd-net@freebsd.org Subject: Re: [patch] re(4) problems on networks with disabled autonegotiation "solver" (WAS: Juniper e3k with ports limitied to...) -- REQUEST FOR REVIEW Message-ID: <135703454.20110113214615@serebryakov.spb.ru> In-Reply-To: <20110113173925.GA49356@alchemy.franken.de> References: <36074996.20110112192009@serebryakov.spb.ru> <20110112213208.GD12920@michelle.cdnetworks.com> <20110112225907.GA44318@alchemy.franken.de> <20110113173925.GA49356@alchemy.franken.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Marius. You wrote 13 =FF=ED=E2=E0=F0=FF 2011 =E3., 20:39:25: > Therefore I'd like to commit the following patch (requires sources > from head and stable branches), unless there's an objection or it > doesn't work as expected: > http://people.freebsd.org/~marius/rgephy.c.diff It doesn't work for me. It allows to set "flag0" but without any effect, ifconfig shows half-duplex and speed is about 180KiB/s... onlyone# ifconfig re0 media auto onlyone# ifconfig re0 re0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=3D389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WO= L_UCAST,WOL_MCAST,WOL_MAGIC> ether 6c:62:6d:a7:bb:37 inet 46.4.40.135 netmask 0xffffffc0 broadcast 46.4.40.191 media: Ethernet autoselect (100baseTX <half-duplex>) status: active onlyone# ifconfig re0 media 100baseTX mediaopt full-duplex,flag0 onlyone# ifconfig re0 re0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=3D389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WO= L_UCAST,WOL_MCAST,WOL_MAGIC> ether 6c:62:6d:a7:bb:37 inet 46.4.40.135 netmask 0xffffffc0 broadcast 46.4.40.191 media: Ethernet 100baseTX <full-duplex> (100baseTX <half-duplex>) status: active onlyone# --=20 // Black Lion AKA Lev Serebryakov <lev@serebryakov.spb.ru>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?135703454.20110113214615>