[patch] re(4) problems on networks with disabled
autonegotiation "solver" (WAS: Juniper e3k with ports
limitied to...) -- REQUEST FOR REVIEW
Lev Serebryakov
lev at serebryakov.spb.ru
Thu Jan 13 18:46:20 UTC 2011
Hello, Marius.
You wrote 13 января 2011 г., 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=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_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=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_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#
--
// Black Lion AKA Lev Serebryakov <lev at serebryakov.spb.ru>
More information about the freebsd-net
mailing list