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

Stephen Hemminger stephen at networkplumber.org
Sun Feb 15 15:27:47 CET 2015


On Sun, 15 Feb 2015 04:07:21 +0000
"Liu, Jijiang" <jijiang.liu at intel.com> 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 Liu

With the existing DPDK model if application is built with DOM0 support
it will not work (it crashes) if the application is run in a non DOM0
environment (with real huge pages). And vice-versa if application is built
without DOM0 support and it will crash if run in Xen Paravirt mode.

This patch allows the library to be built in such a way that only one
version needs to be shipped which is important for distro's like RHEL
who want to ship a shared library. And also important for users like
Brocade/Vyatta who build one binary that needs to work on bare Linux
and in Xen PV mode.
 



More information about the dev mailing list