From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by dpdk.org (Postfix) with ESMTP id B1861C384 for ; Fri, 23 Oct 2015 08:28:53 +0200 (CEST) Received: by pasz6 with SMTP id z6so109244211pas.2 for ; Thu, 22 Oct 2015 23:28:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=oOI5k1h0NBjL+6QipTCms9d0yoOLYghmXsOg2i+I2cM=; b=lkmL/N3Zu//xer8++3Bdm2GmqTvZJsrpED13eEA9b8JXJaizGblV7Oj1Zg/jzktBrs nVq7ro2YbaQEFyTzGFLRTE0wajYes2Sr2g1goAQWJ3KFcWmRYGZ6hVepVrkS7znP3glV SsV0hhGC8U3KKh7j7V89zZBZwh5ToXD4ezo1tgyb8W3GQNEnpnbaeUB1uazjZP+Ngd3J QKrLwRjcPFR628Hxl8f1RB03vQw/2OYGZhfQLu8ttl7Kg95YGLPriGXcWjwcdVKXZR5g ejbuIgYsNhGmnW/V1ROpGOJOdfDIQBwQZEUVrjN5AQoQa47N9hVuOlA02MiJMOlijgV5 dNyA== X-Gm-Message-State: ALoCoQlaXUt+v8/blAUqbpo8sZ0gqCFoB0zyaL2DdlajPH8/ZdKKL8hQMptXTNELlc7p68xlvfl7 X-Received: by 10.66.222.232 with SMTP id qp8mr2939523pac.88.1445581732778; Thu, 22 Oct 2015 23:28:52 -0700 (PDT) Received: from xeon-e3 (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id ss6sm17028275pbc.74.2015.10.22.23.28.52 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Oct 2015 23:28:52 -0700 (PDT) Date: Thu, 22 Oct 2015 23:28:58 -0700 From: Stephen Hemminger To: Thomas Monjalon Message-ID: <20151022232858.65498d27@xeon-e3> In-Reply-To: <7433431.i8vU4GXoZ3@xps13> References: <1443487487-31915-1-git-send-email-stephen@networkplumber.org> <20150930103042.0672a078@urahara> <7433431.i8vU4GXoZ3@xps13> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 0/6] Xen DOM0 runtime support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Oct 2015 06:28:54 -0000 On Wed, 21 Oct 2015 16:40:08 +0200 Thomas Monjalon wrote: > 2015-09-30 10:30, Stephen Hemminger: > > On Wed, 30 Sep 2015 10:14:09 +0200 > > David Marchand wrote: > > > On Tue, Sep 29, 2015 at 2:44 AM, Stephen Hemminger < > > > stephen@networkplumber.org> wrote: > > > > It should be possible to build a single application or library > > > > that will work both in Xen and non-Xen environment. Any special > > > > case handling should be done at runtime. > > > > > > This patchset looks good, but can you go a step further and completely > > > remove the RTE_LIBRTE_XEN_DOM0 build option ? > > > This requires some more work (igb_uio, app/test), but I think this is worth > > > it all the more so as you are looking into it at the moment. > > > > I was thinking that for people on embedded systems having > > the build option (which stubs out support) was a good thing. > > No we must remove the config options. > It is not in a hot path so there is no reason to disable this support. > Please respin. I looked into this, But Xen dom0 is a driver as well, and DPDK as is makes all the drivers optional. Also, we don't use Xen dom0 directly (only the net-front driver), and therefore do not have the infrastructure to test that driver.