From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shriram Rajagopalan Subject: Re: [PATCH V9 04/12] remus: introduce a function to check whether network buffering is enabled Date: Wed, 23 Apr 2014 10:51:43 -0500 Message-ID: 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> Reply-To: rshriram@cs.ubc.ca Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7462474785523906230==" Return-path: In-Reply-To: <21335.57662.629703.59288@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson 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 --===============7462474785523906230== Content-Type: multipart/alternative; boundary=047d7bdc1324e92e1b04f7b7b7c2 --047d7bdc1324e92e1b04f7b7b7c2 Content-Type: text/plain; charset=UTF-8 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 ? > > Ian. > > Its already done at the autoconf level. --047d7bdc1324e92e1b04f7b7b7c2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On W= ed, Apr 23, 2014 at 10:50 AM, Ian Jackson <Ian.Jackson@eu.citrix.c= om> wrote:
Yang Hongyang writes ("[PATCH V9 04/12]= remus: introduce a function to check whether network buffering is enabled&= quot;):
> libxl__netbuffer_enabled() returns 1 when network buff= ering is compiled,
> or returns 0 when network buffering is not compiled.
>
> If network buffering is not compiled, and the user wants to use it, re= port
> a error and exit.
...
> +ifeq ($(CONFIG_REMUS_NETBUF),y)
> +LIBXL_OBJS-y +=3D libxl_netbuffer.o
> +else
> +LIBXL_OBJS-y +=3D libxl_nonetbuffer.o
> +endif

Thanks. =C2=A0But I think this needs to be set somewhere ?

Ian.



<= /div>
Its already done at the autoconf level.
--047d7bdc1324e92e1b04f7b7b7c2-- --===============7462474785523906230== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============7462474785523906230==--