From: Wei Liu Subject: Re: [Xen-devel] [PATCH net-next 2/2] xen-netfront: split event channels feature support Date: Tue, 21 May 2013 18:07:26 +0100 Message-ID: <20130521170726.GA18489@zion.uk.xensource.com> References: <1369090931-27306-1-git-send-email-wei.liu2@citrix.com> <1369090931-27306-3-git-send-email-wei.liu2@citrix.com> <519B78F5.5020301@citrix.com> <20130521134149.GN32007@zion.uk.xensource.com> <20130521162825.GA3669@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: Wei Liu , David Vrabel , , , To: Konrad Rzeszutek Wilk Return-path: Received: from smtp02.citrix.com ([66.165.176.63]:61547 "EHLO SMTP02.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754691Ab3EURHz (ORCPT ); Tue, 21 May 2013 13:07:55 -0400 Content-Disposition: inline In-Reply-To: <20130521162825.GA3669@phenom.dumpdata.com> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, May 21, 2013 at 12:28:25PM -0400, Konrad Rzeszutek Wilk wrote: > On Tue, May 21, 2013 at 02:41:49PM +0100, Wei Liu wrote: > > On Tue, May 21, 2013 at 02:39:01PM +0100, David Vrabel wrote: > > [...] > > > > + info->rx_evtchn = info->tx_evtchn; > > > > + info->rx_irq = info->tx_irq = err; > > > > + dev_info(&info->xbdev->dev, > > > > + "single event channel, evtchn = %d, irq = %d\n", > > > > + info->tx_evtchn, info->tx_irq); > > > > > > This message is pointless chatter as the information is available > > > elsewhere. Please remove. > > > > > > > Do you mean /proc/interrupt by "elsewhere"? Information there doesn't > > give you irq<->evtchn mapping info. > > If you really want to, that should be implemented via an DebugFS entry that can > be driven from drivers/xen/events.c. As the events.c is the generic code that sets > up the Xen events, pirqs, ipis, <-> Linux IRQs. I mainly focus on upstreaming all necessary features for a new Xen network baseline, so I would rather not touch other files. I will delete these dev_info, they don't seem to be critical anyway. Wei.