From owner-freebsd-current@FreeBSD.ORG Tue Sep 26 00:29:28 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECC8916A417 for ; Tue, 26 Sep 2006 00:29:27 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87B8743D83 for ; Tue, 26 Sep 2006 00:29:09 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so2673997pye for ; Mon, 25 Sep 2006 17:29:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:reply-to:mime-version:content-type:content-disposition:user-agent; b=SqUOLXqSoNn/xaOclJWKKBaIWQsj9pcZF55ZrM7Grbyxunk82RZ4daj7v5os1/ckgN4RiPFkhN7dePgAyeEMbayurN5T3oJ6J+F1tB574RulfDgsMZr66CcHBFvXe7PJ+ApAywPRMcjBNPjmP1ptPZ+2ioA4gDYJPEGbL/nFJtE= Received: by 10.35.54.1 with SMTP id g1mr235763pyk; Mon, 25 Sep 2006 17:29:08 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.gmail.com with ESMTP id 12sm3064656nzn.2006.09.25.17.29.07; Mon, 25 Sep 2006 17:29:08 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id k8Q0THQO006519 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 26 Sep 2006 09:29:17 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id k8Q0THTk006518 for freebsd-current@FreeBSD.org; Tue, 26 Sep 2006 09:29:17 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Tue, 26 Sep 2006 09:29:16 +0900 From: Pyun YongHyeon To: freebsd-current@FreeBSD.org Message-ID: <20060926002916.GA5975@cdnetworks.co.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: Call for Marvell/SysKonnect Yukon II Gigabit Ethernet testers. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Sep 2006 00:29:28 -0000 Hi, I've written a driver for Marvell/SysKonnect Yukon II Gigabit Ethernet controller. It supports the following GigE adapters. o SysKonnect SK-9Sxx Yukon Gigabit Ethernet o SysKonnect SK-9Exx Yukon Gigabit Ethernet o Marvell Yukon 88E8021CU Gigabit Ethernet o Marvell Yukon 88E8021 SX/LX Gigabit Ethernet o Marvell Yukon 88E8022CU Gigabit Ethernet o Marvell Yukon 88E8022 SX/LX Gigabit Ethernet o Marvell Yukon 88E8061CU Gigabit Ethernet o Marvell Yukon 88E8061 SX/LX Gigabit Ethernet o Marvell Yukon 88E8062CU Gigabit Ethernet o Marvell Yukon 88E8062 SX/LX Gigabit Ethernet o Marvell Yukon 88E8035 Gigabit Ethernet o Marvell Yukon 88E8036 Gigabit Ethernet o Marvell Yukon 88E8038 Gigabit Ethernet o Marvell Yukon 88E8050 Gigabit Ethernet o Marvell Yukon 88E8052 Gigabit Ethernet o Marvell Yukon 88E8053 Gigabit Ethernet o Marvell Yukon 88E8055 Gigabit Ethernet o D-Link 560T Yukon Gigabit Ethernet Due to lack of documentation, this driver is based on the code from sk(4) and Marvell's myk(4) driver for FreeBSD 5.x/6.x. I've also adopted the OpenBSD interface name, msk(4) in order to reduce naming differences between BSDs. After many trial and errors I now managed to work it on i386 box. At the moment IP/TCP/UDP checksum offload for transmit and IP checksum offload for receive is supported. Hardware VLAN tag insertion/stripping is also supported. JUMBO frame support code is present but was not tested at all and it may have bugs. The driver was tested on on-board 88E8053 PCI Express NIC and I'd like to hear success/failure reports on other architectures such as amd64. I don't have adapters that have TBI transceivers or dual MAC configuration so I'd also like to know whether it works on those adapters too. ** Be ware, this driver is not for production use. It may even damage your hardware. ** You can get the latest msk(4) driver from the following URL. http://people.freebsd.org/~yongari/msk/msk.HEAD.diff You should add "device msk" in your kernel configuration file and rebuild/reboot or build kernel module if_msk.ko. You need latest CURRENT to apply this diff. TODO: Automatic crossover support(e1000phy(4)). Yukon FE(Fast Ethernet) support(e1000phy(4)). Performance tuning. Rx TCP/UDP checksum offload. TSO support. 64bit DMA(DAC) support. Thanks. -- Regards, Pyun YongHyeon