From owner-cvs-src@FreeBSD.ORG Tue Apr 17 13:07:39 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6068416A401; Tue, 17 Apr 2007 13:07:39 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [194.58.105.35]) by mx1.freebsd.org (Postfix) with ESMTP id 19A4513C46C; Tue, 17 Apr 2007 13:07:38 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.44 (FreeBSD)) id 1Hdn8H-0007eW-C6; Tue, 17 Apr 2007 16:50:05 +0400 Date: Tue, 17 Apr 2007 16:50:05 +0400 From: Slawa Olhovchenkov To: Poul-Henning Kamp Message-ID: <20070417125005.GA41306%slw@zxy.spb.ru> References: <200704171223.l3HCNwsS087701@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200704171223.l3HCNwsS087701@repoman.freebsd.org> User-Agent: Mutt/1.5.11 X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/pci if_vr.c if_vrreg.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 13:07:39 -0000 On Tue, Apr 17, 2007 at 12:23:57PM +0000, Poul-Henning Kamp wrote: Can you add vlan tagging support? *** sys/pci/if_vrreg.h Tue Feb 1 02:26:51 2005 --- sys/pci/if_vrreg.h.new Sat Jun 4 03:07:10 2005 *************** *** 393,399 **** #define VR_TX_LIST_CNT 128 #define VR_MIN_FRAMELEN 60 #define VR_FRAMELEN 1536 ! #define VR_RXLEN 1520 #define VR_TXOWN(x) x->vr_ptr->vr_status --- 393,399 ---- #define VR_TX_LIST_CNT 128 #define VR_MIN_FRAMELEN 60 #define VR_FRAMELEN 1536 ! #define VR_RXLEN 1524 #define VR_TXOWN(x) x->vr_ptr->vr_status *** sys/pci/if_vr.c Tue Mar 1 11:11:52 2005 --- sys/pci/if_vr.c.new Sat Jun 4 03:06:56 2005 *************** *** 740,745 **** --- 740,746 ---- #ifdef DEVICE_POLLING ifp->if_capabilities |= IFCAP_POLLING; #endif + ifp->if_capabilities |= IFCAP_VLAN_MTU; ifp->if_capenable = ifp->if_capabilities; /* Do MII setup. */ > phk 2007-04-17 12:23:57 UTC > > FreeBSD src repository > > Modified files: > sys/pci if_vr.c if_vrreg.h > Log: > Improve the if_vr driver ever so slightly. > > The 6105M and 6102 does not have the DWORD alignment problem, so > don't m_defrag() every packet in the transmit path for those. > > More stringent usage of tx-descriptor ring and its flags. > > Tested on 6102 and 6105M, other chips may also be able to run > without the m_defrag() but I have neither hardware nor docs to > find out. > > Sponsored by: Soekris Engineering > > Revision Changes Path > 1.118 +108 -87 src/sys/pci/if_vr.c > 1.28 +3 -1 src/sys/pci/if_vrreg.h > _______________________________________________ > cvs-src@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/cvs-src > To unsubscribe, send any mail to "cvs-src-unsubscribe@freebsd.org"