From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by dpdk.org (Postfix) with ESMTP id E67DB5686 for ; Mon, 6 Apr 2015 20:58:24 +0200 (CEST) Received: by pdbni2 with SMTP id ni2so52977641pdb.1 for ; Mon, 06 Apr 2015 11:58:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=viu/qtJ8O+0HVNXYnovZ7cgDP21bX1m2OnRqxfc0Gsk=; b=Lk9BmDGSVn92ECKIzdOhuviY/mhHoiCDj+IeTjsXubAI/8F7srZFOC9YAkl896ifaF gBGynfTfgj2mwIVnEZLhnCQFKhFlShnpVDvL88w6oKwbC3Bew9d07KTgZWKR1oiI2Liu 0eIi4HiFVl1LfYAZM1W7A2SOvOvTieyx9VuHsE8baoPfQWZ0nFng7IsatUZWnlkFi80J 6oNvrDfcxzJAZWlLrbqFb9tVXgahPN9hj4qooaY+i2VHDk/2Y7ioZlsM0376mAAY6KeW 6rVkIdLNINMBHB4pW+A6QazDZUU6UBaPb21oiNIL7c4tQP492lxafS0ylPMeG2bZOg9s x2cg== X-Gm-Message-State: ALoCoQnTo7dNge07Cl8VEzOVcvI/HLM7zicuX7LBsbQ1IgLk44NfDLpBaZsX5Kse9oQ4cJ+dRdw8 X-Received: by 10.66.149.106 with SMTP id tz10mr29850333pab.90.1428346704061; Mon, 06 Apr 2015 11:58:24 -0700 (PDT) Received: from localhost (7c295ef2.i-revonet.jp. [124.41.94.242]) by mx.google.com with ESMTPSA id ea4sm5424275pbb.94.2015.04.06.11.58.22 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Apr 2015 11:58:23 -0700 (PDT) From: Takuya ASADA To: dev@dpdk.org Date: Tue, 7 Apr 2015 03:58:04 +0900 Message-Id: <1428346691-14894-1-git-send-email-syuu@cloudius-systems.com> X-Mailer: git-send-email 2.1.0 Subject: [dpdk-dev] [RFC PATCHv3 0/7] add OSv 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: Mon, 06 Apr 2015 18:58:25 -0000 This is 3rd version of OSv support patchset. Changelist: - sync with latest master - updated Capstan build script for OSv v0.19 - rte_eal_version.map fix - CONFIG_RTE_BUILD_SHARED_LIB=y and CONFIG_RTE_BUILD_COMBINE_LIBS=y by default - Check OSv NIC driver is loaded for each device, attach PMD only if OSv driver is not loaded - Use --maxnic on cmdline to skip loading OSv NIC driver - Don't enable MSI-X on virtio, since it's not enable when OSv NIC driver is not loaded Takuya ASADA (7): 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 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} | 29 +- ...xapp-gcc => defconfig_x86_64-native-osvapp-gcc} | 2 +- doc/guides/index.rst | 1 + doc/guides/osv_gsg/build_dpdk.rst | 282 +++++++++++++++++++ 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 | 6 + 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 | 312 +++++++++++++++++++++ .../{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 | 6 - 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 +- 35 files changed, 1345 insertions(+), 211 deletions(-) copy config/{common_linuxapp => common_osvapp} (95%) 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