From mboxrd@z Thu Jan 1 00:00:00 1970 From: jamal Subject: [ofa-general] Re: [PATCH 1/4] [NET_SCHED] explict hold dev tx lock Date: Tue, 25 Sep 2007 18:43:38 -0400 Message-ID: <1190760218.4244.35.camel@localhost> References: <20070914090058.17589.80352.sendpatchset@K50wks273871wss.in.ibm.com> <20070916.161748.48388692.davem@davemloft.net> <1189988958.4230.55.camel@localhost> <1190569987.4256.52.camel@localhost> <1190570205.4256.56.camel@localhost> <1190674298.4264.24.camel@localhost> <1190677099.4264.37.camel@localhost> <20070924171411.36494656@freepuppy.rosehill> <1190726138.4264.105.camel@localhost> <20070925082457.6fec30d6@freepuppy.rosehill> <1190758491.4244.15.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: johnpol@2ka.mipt.ru, kumarkr@linux.ibm.com, herbert@gondor.apana.org.au, gaagaan@gmail.com, Robert.Olsson@data.slu.se, netdev@vger.kernel.org, rdreier@cisco.com, "Waskiewicz Jr, Peter P" , mcarlson@broadcom.com, kaber@trash.net, randy.dunlap@oracle.com, jagana@us.ibm.com, general@lists.openfabrics.org, mchan@broadcom.com, tgraf@suug.ch, jeff@garzik.org, sri@us.ibm.com, David Miller To: Stephen Hemminger Return-path: In-Reply-To: <1190758491.4244.15.camel@localhost> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: general-bounces@lists.openfabrics.org Errors-To: general-bounces@lists.openfabrics.org List-Id: netdev.vger.kernel.org On Tue, 2007-25-09 at 18:15 -0400, jamal wrote: > A further optimization i made was to reduce the time it takes to hold > the tx lock at the driver by moving gunk that doesnt need lock-holding > into the new method dev->hard_end_xmit() (refer to patch #2) Sorry, that should have read dev->hard_prep_xmit() cheers, jamal