Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Apr 2018 13:24:34 +0900
From:      YongHyeon PYUN <pyunyh@gmail.com>
To:        Dieter BSD <dieterbsd@gmail.com>
Cc:        yongari@freebsd.org, freebsd-drivers@freebsd.org, anders@freebsd.org, jpmg@eng.cam.ac.uk, danmason@danmason.net, freebsd-hackers@freebsd.org
Subject:   Re: Broadcom 5719 Ethernet - Does it work yet?
Message-ID:  <20180424042434.GA3123@michelle.fasterthan.co.kr>
In-Reply-To: <CAA3ZYrDhhMxCmCwTFxyzO=W3x434WY8XFTgwyDygufJezLdziQ@mail.gmail.com>
References:  <CAA3ZYrDhhMxCmCwTFxyzO=W3x434WY8XFTgwyDygufJezLdziQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 22, 2018 at 11:01:45PM -0700, Dieter BSD wrote:
> www.broadcom.com/products/ethernet-connectivity/network-adapters/bcm5719-4p/
> claims that FreeBSD works with the 5719, but
> bugs.freebsd.org/bugzilla/show_bug.cgi?id=171121
> is still open, so the question of whether the 5719 works properly
> (or at all?) with FreeBSD is clear as mud. :-(
> 

I'm not sure but it shall work.  On some HP or Dell systems with
ASF/IPMI stuff, it may have some issues as the PR indicated.  But
I was not able to narrow down the issue at that time.

> Question 1: It appears that there were/are problems with both Dell
> cards and HP cards.  Is there something special about these cards
> that could keep FreeBSD from working with them?  Do they need to be
> in Dell/HP systems or would they work in a vanilla machine?
> (I'm thinking of getting one for a vanilla machine but only if it works.)
> The 5719 and 5720 are the same except for 4 ports vs 2 ports, right?
> 

Preliminary ASF/IPMI support in bge(4) is included but it may not
be enough to fully support customized firmware shipped on HP or
Dell systems.  This is one of reason why bge(4) suspend/resumes are
not reliable on some server class systems.  WOL support also
requires complicated ASF/IPMI handshake so WOL support was not
implemented at all.  Blindly activating WOL on bge(4) controllers
with ASF/IPMI systems may trigger more issues.

> Question 2:
> The PR was opened in 2012, and is still open.  Do FreeBSD and the
> 5719 play together yet?  Is anyone working on it?

Most 5719/5720 shall work.

>                          Is anyone working on it?

I'm not aware of it.


> Question 3:
> For those who do have it working, are there any problems?
> For example, the Realtek 8111 has pauses, which can cause lost data,
> even with TCP.  See [1]  And the AX88179 silently corrupts data,
> even with TCP.  See [2]
> 

axe(4) does *NOT* support AX88179.  AX88179 is supported by
axge(4).  Last time I tried axge(4) it showed poor performance with
lots of RX errors.  Enabling flow control slightly mitigates it
though.
If you see corrupted data with axge(4), try disabling all checksum
offloading features and test it again.  If you still see the same
data corruption without checksum offloading it surely indicates
data handling issue of the driver.

> Question 4:
> > I thought you don't have any working network devices on your box so
> > I recommended to use USB based ethernet controller(i.e. axe(4)) to
> > get working network on the box.
> 
> The axe(4) man page lists several chips.  Do any of these actually work
> correctly with FreeBSD?

Yes.

>                          I found that the AX88179 silently corrupts data
> unless the data rate is very slow.  For details, see [2]
> 
> Question 5:
> > Unfortunately I didn't get any answers/hints from Broadcom.
> 
> Still nothing from Broadcom?  They claim it works with FreeBSD,
> but they will not assist?

Broadcom used to support FreeBSD for a long time.  They donated
engineering samples for driver development and answered specific
technical questions and submitted support code for new controllers
before the controllers are available on market.

>                            Does FreeBSD have anyone who is good at
> diplomaticly rattling cages?
> 
> [1] See the "Realtek re(4) driver" thread on hackers@
> [2] See "AX88179 USB-to-Ethernet is slow and silently corrupts data"
>     on hackers@, drivers@, usb@, net@



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