From owner-freebsd-net@FreeBSD.ORG Tue Sep 19 09:59:05 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 D317816A416 for ; Tue, 19 Sep 2006 09:59:05 +0000 (UTC) (envelope-from dmitry@atlantis.dp.ua) Received: from postman.atlantis.dp.ua (postman.atlantis.dp.ua [193.108.47.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id B959B43D5A for ; Tue, 19 Sep 2006 09:59:04 +0000 (GMT) (envelope-from dmitry@atlantis.dp.ua) Received: from atlantis.dp.ua (localhost [127.0.0.1]) by postman.atlantis.dp.ua (8.13.1/8.13.1) with ESMTP id k8J9wxDn069005; Tue, 19 Sep 2006 12:58:59 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Received: from localhost (dmitry@localhost) by atlantis.dp.ua (8.13.1/8.13.1/Submit) with ESMTP id k8J9wxqW069002; Tue, 19 Sep 2006 12:58:59 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Date: Tue, 19 Sep 2006 12:58:59 +0300 (EEST) From: Dmitry Pryanishnikov To: Pyun YongHyeon In-Reply-To: <20060918124431.GD30078@cdnetworks.co.kr> Message-ID: <20060919125046.E35560@atlantis.atlantis.dp.ua> References: <20060918150510.D33680@atlantis.atlantis.dp.ua> <20060918124431.GD30078@cdnetworks.co.kr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-net@freebsd.org Subject: Re: Marvell YukonII Status Update? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2006 09:59:05 -0000 Hello! On Mon, 18 Sep 2006, Pyun YongHyeon wrote: > > 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. Wow, great! Where can I get the latest version of your driver for fresh RELENG_6? I'm willing to test it! I could live w/o TSO support and RX checksum offload; while hardware VLAN tagging is desirable feature. Does your driver support software VLAN tagging currently? > > 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 Indeed (after enabling WITNESS, loading the module and just connecting the cable): myk0: link up lock order reversal: 1st 0xc4c13084 LE Status (LE Status) @ sky2.c:1757 2nd 0xc4c131d0 Tx LE async port 1 (Tx LE async port 1) @ sky2.c:2877 KDB: stack backtrace: kdb_backtrace(0,ffffffff,c06550e0,c06551a8,c0624924,...) at 0xc04b3eed = kdb_backtrace+0x29 witness_checkorder(c4c131d0,9,c087a299,b3d) at 0xc04be9a8 = witness_checkorder+0x578 _mtx_lock_flags(c4c131d0,0,c087a299,b3d,80246,...) at 0xc0494278 = _mtx_lock_flags+0x78 ProcessStatusList(c04ad267,40000000,2,c05f4e6c,267,...) at 0xc085757d = ProcessStatusList+0x2c9 Yk2IntServiceRoutine(c4c10000) at 0xc0857f70 = Yk2IntServiceRoutine+0x150 ithread_execute_handlers(c4bae218,c4ae0280) at 0xc0488ed6 = ithread_execute_handlers+0xe6 ithread_loop(c4c09be0,e35a5d38,c4c09be0,c0488f94,0,...) at 0xc0488ffa = ithread_loop+0x66 fork_exit(c0488f94,c4c09be0,e35a5d38) at 0xc0488144 = fork_exit+0xa0 fork_trampoline() at 0xc05b745c = fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xe35a5d6c, ebp = 0 --- > using Jumboframe may panic your system. Thanks for the information! > Regards, > Pyun YongHyeon Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE