88E8053 Yukon2 PCI-E GbE - any plans to port msk() driver from OpenBSD?

Pyun YongHyeon pyunyh at gmail.com
Mon Oct 9 23:36:16 PDT 2006

On Fri, Oct 06, 2006 at 01:09:05AM -0700, Artem Belevich wrote:
 > Andrey, thanks for the pointer.
 > Pyun,
 > Thanks a lot for the driver. Considering that question about support
 > for Yukon2 based cards was popping up on this list for more than a
 > year, I'm pretty sure I'm not the only one who appreciates your work.
 > BTW, your driver seems to be largely based on Marvel's driver, while


 > the one in OpenBSD seems to be patched up if_sk. Can you give an
 > overview of the current status of your driver - stability,
 > supported/unsupported features, etc.? Would that be possible to get

I've adopted the OpenBSD interface name msk(4) to reduce naming
differences between BSDs. Personally I think we should give Marvell
credit for their BSD-licensed myk(4). Without myk(4) writing a driver
for the hardware would be impossible. I don't think OpenBSD can solve
various hardware issues without Yukon II datasheet which is not
available to developers. FreeBSD msk(4) has workaround code obtained
from myk(4). 

The driver supports the following hardware features.
 o Tx TCP/UDP checksum offload
 o Rx IP checksum offload
 o VLAN hardware tag stripping/insertion
 o Jumbo frame support(up to 9018 bytes)
 o Support for dual MAC configuration - Not tested.
 o Automatic crossover detection

Not implemented hardware features.
 o Failover functionality - No plan to implement.
 o Rx TCP/UDP checksum offload - Don't know how to make it work.
 o TCP Segmentation offload(a.k.a TCP Large Send) - Needs datasheet.
 o 64bit DMA - No plan for a while as it needs complex list elements

The driver needs more tests and feedback from users but it seems to
work well for normal usage patterns. However it seems that the driver
has a Rx performance issue which I'd like to fix.
I have an onboard Yukon EC NIC but Marvell produced so many revisions
and each revision has bugs that needs special code to workaound it.
 > the driver back-ported to -stable? I'd be glad to give it a try.

First, I need more feedback before commiting to HEAD.

 > Thanks a lot,
 > --Artem
 > On 10/5/06, Andrey V. Elsukov <bu7cher at yandex.ru> wrote:
 > >Artem Belevich wrote:
 > >
 > >> OpenBSD apparently got a driver for Marvell Yukon2 Gigabit Ethernet
 > >> adapters that these days present on quite a few motherboards (or as a
 > >> relatively inexpensive PCI-Express card). NetBSD got it as well.
 > >
 > >See here:
 > >http://people.freebsd.org/~yongari/msk/
 > >
 > >--
 > >WBR, Andrey V. Elsukov
 > >
 > -- 
 > --Artem

Pyun YongHyeon

More information about the freebsd-net mailing list