From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id DC7349AE3 for ; Tue, 24 Mar 2015 14:53:00 +0100 (CET) Received: from cpe-098-026-070-093.nc.res.rr.com ([98.26.70.93] helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1YaPGL-0000qN-J6; Tue, 24 Mar 2015 09:52:59 -0400 Date: Tue, 24 Mar 2015 09:52:52 -0400 From: Neil Horman To: Takuya ASADA Message-ID: <20150324135252.GA11053@hmsreliant.think-freely.org> References: <1426194348-4406-1-git-send-email-syuu@cloudius-systems.com> <1426908185-27940-1-git-send-email-syuu@cloudius-systems.com> <1426908185-27940-6-git-send-email-syuu@cloudius-systems.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1426908185-27940-6-git-send-email-syuu@cloudius-systems.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -2.9 (--) X-Spam-Status: No Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [RFC PATCHv2 5/8] 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: Tue, 24 Mar 2015 13:53:01 -0000 On Sat, Mar 21, 2015 at 12:23:02PM +0900, Takuya ASADA wrote: > Adding OSv support. > Based on Linux/FreeBSD EAL, but calling OSv kernel APIs to access devices, allocate contiguous memory, etc. > > Signed-off-by: Takuya ASADA > --- > diff --git a/lib/librte_eal/bsdapp/eal/include/exec-env/rte_interrupts.h b/lib/librte_eal/osvapp/eal/include/exec-env/rte_interrupts.h > similarity index 100% > copy from lib/librte_eal/bsdapp/eal/include/exec-env/rte_interrupts.h > copy to lib/librte_eal/osvapp/eal/include/exec-env/rte_interrupts.h > diff --git a/lib/librte_eal/bsdapp/eal/rte_eal_version.map b/lib/librte_eal/osvapp/eal/rte_eal_version.map > similarity index 92% > copy from lib/librte_eal/bsdapp/eal/rte_eal_version.map > copy to lib/librte_eal/osvapp/eal/rte_eal_version.map > index 67b6a6c..ebb584a 100644 > --- a/lib/librte_eal/bsdapp/eal/rte_eal_version.map > +++ b/lib/librte_eal/osvapp/eal/rte_eal_version.map > @@ -31,24 +31,26 @@ DPDK_2.0 { > rte_eal_get_physmem_layout; > rte_eal_get_physmem_size; > rte_eal_has_hugepages; > - rte_eal_hpet_init; > rte_eal_init; > rte_eal_iopl_init; > rte_eal_lcore_role; > rte_eal_mp_remote_launch; > rte_eal_mp_wait_lcore; > + rte_eal_parse_devargs_str; > + rte_eal_pci_close_one; > rte_eal_pci_dump; > rte_eal_pci_probe; > + rte_eal_pci_probe_one; > rte_eal_pci_register; > rte_eal_pci_unregister; > rte_eal_process_type; > rte_eal_remote_launch; > rte_eal_tailq_lookup; > rte_eal_tailq_register; > + rte_eal_vdev_init; > + rte_eal_vdev_uninit; > rte_eal_wait_lcore; > rte_exit; > - rte_get_hpet_cycles; > - rte_get_hpet_hz; > rte_get_tsc_hz; > rte_hexdump; > rte_intr_callback_register; > @@ -86,9 +88,6 @@ DPDK_2.0 { > rte_thread_get_affinity; > rte_thread_set_affinity; > rte_vlog; > - rte_xen_dom0_memory_attach; > - rte_xen_dom0_memory_init; > - test_mp_secondary; > I understand removing symbols that you don't support, but why are you adding the vdev, pci and parsing symbols? I don't see you using them anywhere in your code... Neil