From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030997AbXDJQK4 (ORCPT ); Tue, 10 Apr 2007 12:10:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1031003AbXDJQK4 (ORCPT ); Tue, 10 Apr 2007 12:10:56 -0400 Received: from relay.2ka.mipt.ru ([194.85.82.65]:58166 "EHLO 2ka.mipt.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030997AbXDJQKy (ORCPT ); Tue, 10 Apr 2007 12:10:54 -0400 Date: Tue, 10 Apr 2007 19:54:54 +0400 From: Evgeniy Polyakov To: "Waskiewicz Jr, Peter P" Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, jgarzik@pobox.com, cramerj , "Kok, Auke-jan H" , "Leech, Christopher" Subject: Re: [PATCH 2/2] NET: Multiqueue network device support implementation. Message-ID: <20070410155454.GA1949@2ka.mipt.ru> References: <20070410082049.GC16621@2ka.mipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (2ka.mipt.ru [0.0.0.0]); Tue, 10 Apr 2007 19:55:16 +0400 (MSD) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 10, 2007 at 08:41:49AM -0700, Waskiewicz Jr, Peter P (peter.p.waskiewicz.jr@intel.com) wrote: > > On Mon, Apr 09, 2007 at 02:28:41PM -0700, Peter P Waskiewicz > > Jr (peter.p.waskiewicz.jr@intel.com) wrote: > > > + alloc_size = (sizeof(struct net_device_subqueue) * queue_count); > > > + > > > + p = kzalloc(alloc_size, GFP_KERNEL); > > > + if (!p) { > > > + printk(KERN_ERR "alloc_netdev: Unable to > > allocate queues.\n"); > > > + return NULL; > > > > I think you either do not want to print it, or want > > additional details about device... > > Ok. This is essentially the same output printed if the netdev itself > cannot be allocated. Should I update both strings to have more > device-specific information? I wonder, if it is ever possible with gfp_kernel... I think different patch would be ok. -- Evgeniy Polyakov