From owner-freebsd-net@FreeBSD.ORG Mon Sep 18 12:44:22 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C365316A415 for ; Mon, 18 Sep 2006 12:44:22 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id D67E643D46 for ; Mon, 18 Sep 2006 12:44:07 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by nz-out-0102.google.com with SMTP id 13so1509228nzn for ; Mon, 18 Sep 2006 05:44:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=EDax+Pv5ArEUaFG/HZcSGcjSK+F/EfjkVGQMn8HRYYXbs0EWfq0LdcdrFD07i0e+U6/b+k0o/9vSyH0nbLc0QnlFSNQgKtQLLXb3Ov/W6hjDysB/iHG4h6duxOWdme9Eie7usiskvxUFJHC+KfhULAaJU6fU91c8BaG1g4mdgvQ= Received: by 10.65.112.5 with SMTP id p5mr15761733qbm; Mon, 18 Sep 2006 05:43:58 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.gmail.com with ESMTP id 15sm1485749nzp.2006.09.18.05.43.56; Mon, 18 Sep 2006 05:43:58 -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 k8ICiXXu032484 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 18 Sep 2006 21:44:33 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id k8ICiWVv032483; Mon, 18 Sep 2006 21:44:32 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Mon, 18 Sep 2006 21:44:32 +0900 From: Pyun YongHyeon To: Dmitry Pryanishnikov Message-ID: <20060918124431.GD30078@cdnetworks.co.kr> References: <20060918150510.D33680@atlantis.atlantis.dp.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060918150510.D33680@atlantis.atlantis.dp.ua> User-Agent: Mutt/1.4.2.1i Cc: freebsd-net@freebsd.org, Nikolas Britton Subject: Re: Marvell YukonII Status Update? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Sep 2006 12:44:22 -0000 On Mon, Sep 18, 2006 at 03:25:25PM +0300, Dmitry Pryanishnikov wrote: > > Hello! > > On Thu, 29 Jun 2006, Nikolas Britton wrote: > >Last I checked somebody was developing an experimental driver and > >Marvell had just released the code to their FreeBSD 5.x/6.x driver: > >mykbsd60x86-8.12.2.3.tar (bindary kmod package) > >mykbsd60x86-8.12.1.3-src.tgz (source code) > > I can confirm that this (mykbsd60x86-8.12.1.3-src.tgz) package compiles and > attaches OK to both of built-in LAN controllers on the ASUS P5W DH > motherboard > under mid-August RELENG_6: > > myk0: port > 0xa800-0xa8ff mem 0xff7fc000-0xff7fffff irq 16 at device 0.0 on pci3 > myk0: Ethernet address: 00:17:31:ee:d1:aa > myk1: port > 0xb800-0xb8ff mem 0xff8fc000-0xff8fffff irq 19 at device 0.0 on pci4 > myk1: Ethernet address: 00:17:31:ee:d8:7f > > Data transfers (at least in media auto-detect mode) also work OK both in > 10/FULL and 100/FULL mode (haven't tried 1000 yet). > > >Has checksum offloading or the performance problems been fixed? Has > >Marvell updated their driver? Is someone going to commit Marvell's > >driver to -CURRENT? And what's happening with the experimental driver? > > So I've got 2 questions: > > 1. Has situation with this driver improved somehow (is somebody going to > support it and commit into the CURRENT)? > I'm working on it. Unlike OpenBSD/NetBSD msk(4) my code is based on sk(4) and myk(4) from Marvell. I've managed to send packets with new driver but it needs more testing and codes to support hardware features(VLAN tagging, TSO support, RX checksum offload etc). I can't sure TSO support could be done due to lack of documentation. > 2. What kinds of performance problems / stability issues should I expect > with the driver in it's current state under 6-STABLE? > You can see lots of witness warnings. Unloading the driver module or using Jumboframe may panic your system. -- Regards, Pyun YongHyeon