numam-dpdk/mk
Neil Horman 2c62588a53 xenvirt: convert to use of PMD_REGISTER_DRIVER and fix linking
Convert the xenvirt driver to use the PMD_REGISTER_DRIVER macro.
This means that the test applications now have no reference to the xenvirt library
when building DSO's and must specify its use on the command line with the -d
option.  Static linking will still initalize the driver automatically.

A few notes:

xenvirt was unbuildable as of commit 4c39baf297d10c217e7d3e7370f26a1fede58308..
That commit neglected to include the rte_vdev.h header, so several structs were
left undefined.  This patch includes a fix for that as well.

Also, The linkage for xenvirt is broken in much the same way pmd_ring was, in
that the xenvirt pmd has a function that is called directly from applications
(the example being the testpmd application).  The function is
rte_mempool_gntalloc_create, and should clearly be moved into the rte_mempool
library, with the supporting code in the function implementation moved to a new
xenvirt library separate from the pmd.  This is a large undertaking that
detracts from the purpose of this series however, and so for now, I'm leaving
the linkage to the application in place, and will address this issue in a later
series

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2014-05-20 14:28:16 +02:00
..
arch add FreeBSD support 2014-02-25 21:29:18 +01:00
exec-env eal: add support for shared object drivers 2014-02-26 11:01:13 +01:00
internal mk: fix build ignoring other installed versions 2014-05-01 22:57:47 +02:00
machine mk: add haswell target 2014-02-25 21:29:18 +01:00
target/generic pcap: revert build patches 2014-03-19 14:33:52 +01:00
toolchain mk: add haswell target 2014-02-25 21:29:18 +01:00
rte.app.mk xenvirt: convert to use of PMD_REGISTER_DRIVER and fix linking 2014-05-20 14:28:16 +02:00
rte.bsdmodule.mk mk: use the Q variable instead of @ for bsd module 2014-04-30 01:28:18 +02:00
rte.cpuflags.mk mk: rework cpu flags detection 2014-02-25 21:29:18 +01:00
rte.extapp.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.extlib.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.extobj.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.extshared.mk mk: allow to build shared libraries 2014-02-26 11:01:13 +01:00
rte.extsubdir.mk mk: introduce rte.extsubdir.mk for projects with subdirectories 2014-05-16 13:28:21 +02:00
rte.extvars.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.gnuconfigure.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.hostapp.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.hostlib.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.install.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.lib.mk mk: fix -share option error 2014-04-30 01:28:18 +02:00
rte.module.mk mk: pass CROSS_COMPILE when compiling kernel modules 2014-04-17 14:00:21 +02:00
rte.obj.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.sdkbuild.mk mk: add missing scripts directory in install directory 2014-05-16 13:25:48 +02:00
rte.sdkconfig.mk version: 1.7.0-rc0 2014-05-13 10:11:17 +02:00
rte.sdkdepdirs.mk mk: fix dependencies when modifying config 2014-03-26 23:10:41 +01:00
rte.sdkdoc.mk mk: rule help 2014-02-26 11:01:13 +01:00
rte.sdkexamples.mk mk: add "make examples" target in root makefile 2014-05-16 16:02:55 +02:00
rte.sdkgcov.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.sdkinstall.mk mk: in install rule, don't overwrite .config if it already exists 2014-02-26 11:01:13 +01:00
rte.sdkroot.mk mk: add "make examples" target in root makefile 2014-05-16 16:02:55 +02:00
rte.sdktest.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.sdktestall.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.shared.mk mk: fix build ignoring other installed versions 2014-05-01 22:57:47 +02:00
rte.sharelib.mk mk: fix -share option error 2014-04-30 01:28:18 +02:00
rte.subdir.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.vars.mk config: fix combined/shared lib 2014-02-25 21:29:18 +01:00