Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758540AbYBUGDj (ORCPT ); Thu, 21 Feb 2008 01:03:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752903AbYBUGD0 (ORCPT ); Thu, 21 Feb 2008 01:03:26 -0500 Received: from e28smtp07.in.ibm.com ([59.145.155.7]:56137 "EHLO e28esmtp07.in.ibm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751595AbYBUGDZ (ORCPT ); Thu, 21 Feb 2008 01:03:25 -0500 In-Reply-To: <8A71B368A89016469F72CD08050AD334026D6511@maui.asicdesigners.com> Subject: RE: [git patches] net driver updates To: "Divy Le Ray" Cc: "David Miller" , jeff@garzik.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org X-Mailer: Lotus Notes Release 7.0.1P July 04, 2006 Message-ID: From: Krishna Kumar2 Date: Thu, 21 Feb 2008 11:32:08 +0530 X-MIMETrack: Serialize by Router on d23ml172/23/M/IBM(Release 7.0.2FP2HF300 | September 14, 2007) at 02/21/2008 11:41:04 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1184 Lines: 41 Hi Divy, But the race doesn't exist even for LLTX drivers these days. There is no way two cpu's can execute the xmit handler at the same time. Thanks, - KK > > > > The first part of the patch removes the !netif_queue_stopped(dev). > > > > It opens the race discussed a while ago between Stephen hemminger > > and > > > > David Miller: > > > > http://marc.info/?l=linux-netdev&m=113383224512427&w=2 > > > > > > I feel this race cannot happen anymore. I think the fix for that > race > > was > > > to introduce the > > > __LINK_STATE_QDISC_RUNNING bit thus eliminating any races between > > CPU's. If > > > one > > > CPU has called xmit, the other CPU will enqueue skbs (by holding the > > > queue_lock) and > > > exit from qdisc_run since it finds the bit set already. > > > > And the race is talking about LLTX, which S2IO doesn't use as > > far as I can tell. > > Dave, > > The driver is cxgb3 here, it uses LLTX. > > Cheers, > Divy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/