Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jul 2013 09:25:57 +0900
From:      Yonghyeon PYUN <pyunyh@gmail.com>
To:        Andreas Longwitz <longwitz@incore.de>
Cc:        freebsd-net@freebsd.org
Subject:   Re: sis(4) flow control
Message-ID:  <20130711002557.GA6697@michelle.cdnetworks.com>
In-Reply-To: <51DDDDAB.6070100@incore.de>
References:  <51DC1599.8040805@incore.de> <20130710023512.GB2753@michelle.cdnetworks.com> <51DDDDAB.6070100@incore.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 11, 2013 at 12:18:19AM +0200, Andreas Longwitz wrote:
> Yonghyeon PYUN wrote:
> 
> > Hmm, does the change really make flow-control work?
> > I believe flow-control should be negotiated with remote link
> > partner so you have to announce flow-control capability to link
> > partner. In addition, it seems DP83815/DP83816 does not support
> > TX flow-control so it just honors RX pause frames.
> 
> Excuse me, the comment in my patch was wrong. Better would be
>      /* Enable reception of 802.3x pause frames. */.
> My soekris boxes are connected to a slow so called "Ethernet Connect"
> line (2 Mbit/s). The line works correct and stable if I respect incoming
> RX pause frames from the line. I do not need TX flow-control.
> 
> > Try attached patch and let me know how it works.
> 
> Thanks for your patch. I will test it on next update of my soekris boxes
> with sis interfaces. Because they are all remote far away this will need
> some time.

Ok. Make sure to check established link before testing
flow-control. 'ifconfig sis0' will show current media and you
should have something like the following.
  ...
  media: Ethernet autoselect <flowcontrol> (100baseTX <full-duplex,flowcontrol,rxpause,txpause>)

If you don't see 'rxpause', re-negotiate flow-control with
'ifconfig sis0 mediaopt flow'.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130711002557.GA6697>