[dpdk-dev] [PATCH 1/4] xen: allow choosing dom0 support at runtime

2015-02-26 Thread Liu, Jijiang
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Sunday, February 15, 2015 10:28 PM > To: Liu, Jijiang > Cc: Stephen Hemminger; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 1/4] xen: allow choosing dom0 support at > ru

[dpdk-dev] [PATCH 1/4] xen: allow choosing dom0 support at runtime

2015-02-25 Thread Stephen Hemminger
On Thu, 26 Feb 2015 06:53:24 + "Liu, Jijiang" wrote: > Ok, thanks for the explanation. > > Could you replace 'internal_config.xen_dom0_support' with > 'is_xen_dom0_supported()' in the function rte_eal_hugepage_init()? Ok, but then as a function it would have to be exported as shared lib

[dpdk-dev] [PATCH 1/4] xen: allow choosing dom0 support at runtime

2015-02-15 Thread Stephen Hemminger
On Sun, 15 Feb 2015 04:07:21 + "Liu, Jijiang" wrote: > Hi Stephen, > > What do you mean ' allow choosing dom0 support at runtime'? > If you mean user can choose DPDK to run Xen Dom0 or not on DOM0 by a runtime > flag, I don't think your change can achieve this goal. > > Thanks > Jijiang L

[dpdk-dev] [PATCH 1/4] xen: allow choosing dom0 support at runtime

2015-02-15 Thread Liu, Jijiang
mailto:dev-bounces at dpdk.org] On Behalf Of Stephen Hemminger > Sent: Sunday, February 15, 2015 2:07 AM > To: dev at dpdk.org > Cc: Stephen Hemminger > Subject: [dpdk-dev] [PATCH 1/4] xen: allow choosing dom0 support at runtime > > The previous code would only allow building library

[dpdk-dev] [PATCH 1/4] xen: allow choosing dom0 support at runtime

2015-02-14 Thread Neil Horman
On Sat, Feb 14, 2015 at 01:06:45PM -0500, Stephen Hemminger wrote: > The previous code would only allow building library and application > so that it ran on Xen DOM0 or not on DOM0. This changes that to > a runtime flag. > > Signed-off-by: Stephen Hemminger > --- > lib/librte_eal/common/include/

[dpdk-dev] [PATCH 1/4] xen: allow choosing dom0 support at runtime

2015-02-14 Thread Stephen Hemminger
The previous code would only allow building library and application so that it ran on Xen DOM0 or not on DOM0. This changes that to a runtime flag. Signed-off-by: Stephen Hemminger --- lib/librte_eal/common/include/rte_memory.h | 4 +++ lib/librte_eal/linuxapp/eal/eal_memory.c | 7 lib/