From: Ian Jackson Subject: Re: [PATCH V9 04/12] remus: introduce a function to check whether network buffering is enabled Date: Wed, 30 Apr 2014 15:36:55 +0100 Message-ID: <21345.2695.929218.102451@mariner.uk.xensource.com> References: <1397540297-32184-1-git-send-email-yanghy@cn.fujitsu.com> <1397540297-32184-5-git-send-email-yanghy@cn.fujitsu.com> <21335.57662.629703.59288@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: rshriram@cs.ubc.ca Cc: Roger Pau Monne , Ian Campbell , Wen Congyang , Stefano Stabellini , Andrew Cooper , Jiang Yunhong , Dong Eddie , "xen-devel@lists.xen.org" , Yang Hongyang , Lai Jiangshan List-Id: xen-devel@lists.xenproject.org Shriram Rajagopalan writes ("Re: [PATCH V9 04/12] remus: introduce a function to check whether network buffering is enabled"): > On Wed, Apr 23, 2014 at 10:50 AM, Ian Jackson > wrote: > > Yang Hongyang writes ("[PATCH V9 04/12] remus: introduce a function to > check whether network buffering is enabled"): > > libxl__netbuffer_enabled() returns 1 when network buffering is compiled, > > or returns 0 when network buffering is not compiled. > > > > If network buffering is not compiled, and the user wants to use it, > report > > a error and exit. > ... > > +ifeq ($(CONFIG_REMUS_NETBUF),y) > > +LIBXL_OBJS-y += libxl_netbuffer.o > > +else > > +LIBXL_OBJS-y += libxl_nonetbuffer.o > > +endif > > Thanks. But I think this needs to be set somewhere ? ... > Its already done at the autoconf level. In another patch ? I think this is another example of a case where the series needs restructuring. Semantically related pieces should be together so that reviewing an individual patch makes sense. Ian.