From owner-cvs-src@FreeBSD.ORG Wed Feb 8 16:30:57 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A41C16A420; Wed, 8 Feb 2006 16:30:57 +0000 (GMT) (envelope-from h.schmalzbauer@omnisec.de) Received: from flb.schmalzbauer.de (flb.schmalzbauer.de [62.245.232.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3018643D49; Wed, 8 Feb 2006 16:30:55 +0000 (GMT) (envelope-from h.schmalzbauer@omnisec.de) Received: from sam.flintsbach.schmalzbauer.de (sam.flintsbach.schmalzbauer.de [172.21.2.4]) by flb.schmalzbauer.de (8.13.4/8.13.4) with ESMTP id k18GZfJo040988; Wed, 8 Feb 2006 17:35:41 +0100 (CET) (envelope-from h.schmalzbauer@omnisec.de) Received: from cale.flintsbach.schmalzbauer.de (cale.flintsbach.schmalzbauer.de [172.21.1.252]) by sam.flintsbach.schmalzbauer.de (Postfix) with ESMTP id 76943B62D; Wed, 8 Feb 2006 17:30:52 +0100 (CET) Received: from cale.flintsbach.schmalzbauer.de (localhost [127.0.0.1]) by cale.flintsbach.schmalzbauer.de (8.13.4/8.13.4) with ESMTP id k18GUaq0032071; Wed, 8 Feb 2006 17:30:36 +0100 (CET) (envelope-from h.schmalzbauer@omnisec.de) Received: from localhost (localhost [[UNIX: localhost]]) by cale.flintsbach.schmalzbauer.de (8.13.4/8.13.4/Submit) id k18GUZWW032070; Wed, 8 Feb 2006 17:30:35 +0100 (CET) (envelope-from h.schmalzbauer@omnisec.de) X-Authentication-Warning: cale.flintsbach.schmalzbauer.de: harry set sender to h.schmalzbauer@omnisec.de using -f From: Harald Schmalzbauer Organization: OmniSEC GbR To: Gleb Smirnoff Date: Wed, 8 Feb 2006 17:30:34 +0100 User-Agent: KMail/1.9.1 References: <200601110030.k0B0UPOx009098@repoman.freebsd.org> <200601121847.08044@harrymail> <20060112220112.GE83922@FreeBSD.org> In-Reply-To: <20060112220112.GE83922@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602081730.35748.h.schmalzbauer@omnisec.de> Cc: cvs-src@freebsd.org, freebsd-current@freebsd.org Subject: Re: cvs commit: src/sys/dev/em if_em.c if_em.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: Wed, 08 Feb 2006 16:30:57 -0000 Am Donnerstag, 12. Januar 2006 23:01 schrieb Gleb Smirnoff: > On Thu, Jan 12, 2006 at 06:47:00PM +0100, Harald Schmalzbauer wrote: > H> Am Mittwoch, 11. Januar 2006 01:30 CEST schrieb Scott Long: > H> > scottl 2006-01-11 00:30:25 UTC > H> > > H> > FreeBSD src repository > H> > > H> > Modified files: > H> > sys/dev/em if_em.c if_em.h > H> > Log: > H> > Significant performance improvements for the if_em driver: > H> > > H> > - Only update the rx ring consumer pointer after running through the > H> > rx loop, not with each iteration through the loop. > H> > - If possible, use a fast interupt handler instead of an ithread > H> > handler. Use the interrupt handler to check and squelch the > interrupt, H> > then schedule a taskqueue to do the actual work. This has > three H> > benefits: > H> > H> Thank you very much for your work! Since I'm using many em cards and > can't H> get higher tranfer rates compared to fxp (but I wanted to double > it so I H> spent some money to replace F-Eth equipment with GbE) I'd like > to apply H> your work to RELENG_6. I made the attached diff, but compiler > stops here: H> [...] > H> /usr/src/sys/dev/em/if_em.c:3178:34: macro "VLAN_INPUT_TAG" requires 4 > H> arguments, but only 3 given > H> mkdep: compile failed > H> *** Error code 1 > H> > H> Stop in /usr/obj/GUNE/usr/src/sys/CUV-LV. > H> *** Error code 1 > H> > H> I have no idea how to correct this, could you please help me? Or isn't > it H> that simple, eg. VLAN isn't the same level in RELENG_6 and -current? > > I'm going to merge the VLAN_INPUT_TAG() change soon. But merging em(4) > requires also a lot of taskqueue code merging. Thanks for your work, I saw that you merged the VLAN code some time ago to RELENG_6. Is there any chance that the taskqueue code and then the new em code will make it into 6.1? I'd really love to see my em's shifting more than 130mbit/s with ftp... ;) -Harry