Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 2006 15:35:56 +0900
From:      Pyun YongHyeon <pyunyh@gmail.com>
To:        Artem Belevich <artemb@gmail.com>
Cc:        freebsd-net@freebsd.org, "Andrey V. Elsukov" <bu7cher@yandex.ru>
Subject:   Re: 88E8053 Yukon2 PCI-E GbE - any plans to port msk() driver from OpenBSD?
Message-ID:  <20061010063556.GC7419@cdnetworks.co.kr>
In-Reply-To: <ed91d4a80610060109s7bd17c82ocbe553384072dda2@mail.gmail.com>
References:  <ed91d4a80610052348r6a6db59ct8cdff4c30d06f5e7@mail.gmail.com> <4525FD2A.6060509@yandex.ru> <ed91d4a80610060109s7bd17c82ocbe553384072dda2@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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

Yes.

 > 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
    managements.

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@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

-- 
Regards,
Pyun YongHyeon



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