From owner-freebsd-current@FreeBSD.ORG Mon Sep 12 17:27:33 2005 Return-Path: X-Original-To: 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 D5E2116A41F for ; Mon, 12 Sep 2005 17:27:33 +0000 (GMT) (envelope-from mux@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CC0243D48 for ; Mon, 12 Sep 2005 17:27:33 +0000 (GMT) (envelope-from mux@freebsd.org) Received: by elvis.mu.org (Postfix, from userid 1920) id 801221A4D83; Mon, 12 Sep 2005 10:27:33 -0700 (PDT) Date: Mon, 12 Sep 2005 19:27:33 +0200 From: Maxime Henrion To: current@FreeBSD.org Message-ID: <20050912172733.GD20997@elvis.mu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: HEADS UP: call for nve(4) users to test a patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 17:27:34 -0000 --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, If any of you are using an nve(4) card and are experiencing "device timeout" errors, I'd like you to test a very simple patch. One person already reported success with it, but I'd like to see more reports before committing and hopefully MFC'ing it in time for 6.0-RELEASE. This patch just reduces the size of the TX ring by one. Many NIC chips in existence today have such bugs and require similar fixes, so I'm not really surprised. It also seems Linux's forcedeth driver does such a thing, but it's hard to tell because it uses an entirely different API than us. Thanks, Maxime --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="nve.patch" ? nve.patch Index: if_nvereg.h =================================================================== RCS file: /home/ncvs/src/sys/dev/nve/if_nvereg.h,v retrieving revision 1.3 diff -u -r1.3 if_nvereg.h --- if_nvereg.h 10 Jun 2005 16:49:12 -0000 1.3 +++ if_nvereg.h 12 Sep 2005 17:21:21 -0000 @@ -49,9 +49,9 @@ #define NV_RID 0x10 -#define TX_RING_SIZE 64 +#define TX_RING_SIZE 63 #define RX_RING_SIZE 64 -#define NV_MAX_FRAGS 63 +#define NV_MAX_FRAGS 62 #define FCS_LEN 4 --xHFwDpU9dbj6ez1V--