Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755891Ab0LPCno (ORCPT ); Wed, 15 Dec 2010 21:43:44 -0500 Received: from stargate.chelsio.com ([67.207.112.58]:2002 "EHLO stargate.chelsio.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754974Ab0LPCnn (ORCPT ); Wed, 15 Dec 2010 21:43:43 -0500 Message-ID: <4D097CD8.7080902@chelsio.com> Date: Wed, 15 Dec 2010 18:43:36 -0800 From: Dimitris Michailidis Organization: Chelsio Communications User-Agent: Thunderbird 1.5.0.12 (X11/20070530) MIME-Version: 1.0 To: Changli Gao CC: Fenghua Yu , Eric Dumazet , "David S. Miller" , "Fastabend, John R" , "Tang, Xinan" , Junchang Wang , netdev , linux-kernel Subject: Re: [PATCH 1/3] Kernel interfaces for multiqueue aware socket References: <46a08278c2ba21737528eb4b77391a7e8bc88000.1292405004.git.fenghua.yu@intel.com> <1292446118.2603.11.camel@edumazet-laptop> <20101216011425.GA17446@linux-os.sc.intel.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 671 Lines: 15 Changli Gao wrote: > On Thu, Dec 16, 2010 at 9:14 AM, Fenghua Yu wrote: >> SKF_AD_QUEUE doesn't know number of rx queues. Thus user application can't >> specify right SKF_AD_QUEUE. > > It is wrong. AFAIK, you can get the queue number through > /sys/class/net/eth*/queues/ or /proc/interrupts The number of Rx queues is also available through ETHTOOL_GRXRINGS though few drivers support it currently. -- 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/