Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755275Ab3EURsX (ORCPT ); Tue, 21 May 2013 13:48:23 -0400 Received: from mail-pb0-f54.google.com ([209.85.160.54]:54976 "EHLO mail-pb0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753970Ab3EURsV (ORCPT ); Tue, 21 May 2013 13:48:21 -0400 Message-ID: <1369158499.3301.236.camel@edumazet-glaptop> Subject: Re: [PATCH v3 net-next 1/4] net: implement support for low latency socket polling From: Eric Dumazet To: Pekka Riikonen Cc: Eliezer Tamir , Dave Miller , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Jesse Brandeburg , Don Skidmore , e1000-devel@lists.sourceforge.net, Willem de Bruijn , Andi Kleen , HPA , Eliezer Tamir Date: Tue, 21 May 2013 10:48:19 -0700 In-Reply-To: References: <20130520101552.14133.45953.stgit@ladj378.jer.intel.com> <20130520101601.14133.874.stgit@ladj378.jer.intel.com> <1369063764.3301.182.camel@edumazet-glaptop> <519B2237.20204@linux.intel.com> <1369142926.3301.213.camel@edumazet-glaptop> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 695 Lines: 19 On Tue, 2013-05-21 at 19:02 +0200, Pekka Riikonen wrote: > Maybe even that's not needed. Couldn't skb->queue_mapping give the > correct NAPI instance in multiqueue nics? The NAPI instance could be made > easily available from skb->dev. In any case an index is much better than > a new pointer. We do not keep skb->dev information once a packet leaves the rcu protected region. Once packet is queued to tcp input queues, skb->dev is NULL. -- 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/