This is 2nd version of OSv support patchset. Changelist: - Added "Capstan" build script for OSv - Added Getting Started Guide for OSv - Added rte_delay_us() on osvapp - Added rte_eal_version.map
Takuya ASADA (8): mk: support compiling C++ code eal: Add extern C on eal_hugepages.h eal: Add extern C on eal_thread.h eal: Add extern C on eal_private.h add OSv support virtio: enable MSI-X on OSv app/test: support OSv doc: Add Getting Started Guide for OSv app/test/test_eal_flags.c | 34 +-- app/test/test_timer_perf.c | 2 +- config/{common_linuxapp => common_osvapp} | 24 +- ...xapp-gcc => defconfig_x86_64-native-osvapp-gcc} | 2 +- doc/guides/index.rst | 1 + doc/guides/osv_gsg/build_dpdk.rst | 276 ++++++++++++++++++ doc/guides/osv_gsg/build_sample_apps.rst | 123 ++++++++ doc/guides/{freebsd_gsg => osv_gsg}/index.rst | 3 +- doc/guides/{freebsd_gsg => osv_gsg}/intro.rst | 15 +- lib/librte_eal/Makefile | 2 + lib/librte_eal/common/eal_hugepages.h | 8 + lib/librte_eal/common/eal_private.h | 8 + lib/librte_eal/common/eal_thread.h | 8 + Makefile => lib/librte_eal/osvapp/Makefile | 5 +- lib/librte_eal/osvapp/capstan/Capstanfile | 5 + lib/librte_eal/osvapp/capstan/GET | 22 ++ lib/librte_eal/osvapp/eal/Makefile | 115 ++++++++ lib/librte_eal/{linuxapp => osvapp}/eal/eal.c | 123 +------- .../{linuxapp => osvapp}/eal/eal_alarm.c | 0 .../{linuxapp => osvapp}/eal/eal_debug.c | 0 lib/librte_eal/osvapp/eal/eal_hugepage_info.cc | 63 +++++ .../{bsdapp => osvapp}/eal/eal_interrupts.c | 0 .../eal/eal_lcore.c => osvapp/eal/eal_lcore.cc} | 53 ++-- lib/librte_eal/{bsdapp => osvapp}/eal/eal_log.c | 0 lib/librte_eal/osvapp/eal/eal_memory.cc | 148 ++++++++++ lib/librte_eal/osvapp/eal/eal_pci.cc | 311 +++++++++++++++++++++ .../{linuxapp => osvapp}/eal/eal_thread.c | 0 lib/librte_eal/osvapp/eal/eal_timer.c | 130 +++++++++ .../eal/include/exec-env/rte_interrupts.h | 0 .../{bsdapp => osvapp}/eal/rte_eal_version.map | 11 +- lib/librte_pmd_virtio/virtio_ethdev.c | 15 +- mk/exec-env/{linuxapp => osvapp}/rte.app.mk | 0 mk/exec-env/{linuxapp => osvapp}/rte.vars.mk | 6 +- mk/internal/rte.compile-pre.mk | 41 ++- mk/target/generic/rte.vars.mk | 4 + mk/toolchain/gcc/rte.vars.mk | 5 +- 36 files changed, 1353 insertions(+), 210 deletions(-) copy config/{common_linuxapp => common_osvapp} (96%) copy config/{defconfig_x86_64-native-linuxapp-gcc => defconfig_x86_64-native-osvapp-gcc} (98%) create mode 100644 doc/guides/osv_gsg/build_dpdk.rst create mode 100644 doc/guides/osv_gsg/build_sample_apps.rst copy doc/guides/{freebsd_gsg => osv_gsg}/index.rst (96%) copy doc/guides/{freebsd_gsg => osv_gsg}/intro.rst (84%) copy Makefile => lib/librte_eal/osvapp/Makefile (93%) create mode 100644 lib/librte_eal/osvapp/capstan/Capstanfile create mode 100755 lib/librte_eal/osvapp/capstan/GET create mode 100644 lib/librte_eal/osvapp/eal/Makefile copy lib/librte_eal/{linuxapp => osvapp}/eal/eal.c (87%) copy lib/librte_eal/{linuxapp => osvapp}/eal/eal_alarm.c (100%) copy lib/librte_eal/{linuxapp => osvapp}/eal/eal_debug.c (100%) create mode 100644 lib/librte_eal/osvapp/eal/eal_hugepage_info.cc copy lib/librte_eal/{bsdapp => osvapp}/eal/eal_interrupts.c (100%) copy lib/librte_eal/{bsdapp/eal/eal_lcore.c => osvapp/eal/eal_lcore.cc} (80%) copy lib/librte_eal/{bsdapp => osvapp}/eal/eal_log.c (100%) create mode 100644 lib/librte_eal/osvapp/eal/eal_memory.cc create mode 100644 lib/librte_eal/osvapp/eal/eal_pci.cc copy lib/librte_eal/{linuxapp => osvapp}/eal/eal_thread.c (100%) create mode 100644 lib/librte_eal/osvapp/eal/eal_timer.c copy lib/librte_eal/{bsdapp => osvapp}/eal/include/exec-env/rte_interrupts.h (100%) copy lib/librte_eal/{bsdapp => osvapp}/eal/rte_eal_version.map (92%) copy mk/exec-env/{linuxapp => osvapp}/rte.app.mk (100%) copy mk/exec-env/{linuxapp => osvapp}/rte.vars.mk (95%) -- 2.1.0