From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shreyansh Jain Subject: Re: [PATCH v2 00/41] Memory Hotplug for DPDK Date: Thu, 15 Mar 2018 19:31:15 +0530 Message-ID: References: <20180308101805.GA9526@ltp-pvn> <20180308111337.GA11638@ltp-pvn> <20180308133612.GA16647@ltp-pvn> <57c18da9-7377-3c0b-4aa2-9b97ef206f4f@intel.com> <55a2a182-27d5-b59a-0993-5b988f041e98@intel.com> <20180309091513.GA5781@ltp-pvn> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: dev@dpdk.org To: "Burakov, Anatoly" Return-path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40084.outbound.protection.outlook.com [40.107.4.84]) by dpdk.org (Postfix) with ESMTP id 8518B2C8 for ; Thu, 15 Mar 2018 15:01:49 +0100 (CET) Received: by mail-wr0-f170.google.com with SMTP id h2so8361061wre.12 for ; Thu, 15 Mar 2018 07:01:47 -0700 (PDT) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hello Anatoly, On Tue, Mar 13, 2018 at 10:47 AM, Shreyansh Jain wrote: > Hello Anatoly, > > On Fri, Mar 9, 2018 at 4:12 PM, Burakov, Anatoly > wrote: >> On 09-Mar-18 9:15 AM, Pavan Nikhilesh wrote: > > [...] > >>> >>> >>> I have taken a look at the github tree the issues with VFIO are gone, >>> Although >>> compilation issues with dpaa/dpaa2 are still present due to their >>> dependency on >>> `rte_eal_get_physmem_layout`. >> >> >> I've fixed the dpaa compile issue and pushed it to github. I've tried to >> keep the semantics the same as before, but i can't compile-test (let alone >> test-test) them as i don't have access to a system with dpaa bus. > > Thanks. I will have a look at this. Just a heads-up, DPAA2 is broken on top-of-tree (github: 784e041f6b520) as of now: --->8--- root@ls2088ardb:~/shreyansh/07_dpdk_memory# ./arm64-dpaa2-linuxapp-gcc/app/testpmd -c 0xE -n 1 --log-level=eal,8 --log-level=mem,8 -- -i --portmask=0x3 EAL: Detected lcore 0 as core 0 on socket 0 EAL: Detected lcore 1 as core 1 on socket 0 EAL: Detected lcore 2 as core 0 on socket 0 EAL: Detected lcore 3 as core 1 on socket 0 EAL: Detected lcore 4 as core 0 on socket 0 EAL: Detected lcore 5 as core 1 on socket 0 EAL: Detected lcore 6 as core 0 on socket 0 EAL: Detected lcore 7 as core 1 on socket 0 EAL: Support maximum 16 logical core(s) by configuration. EAL: Detected 8 lcore(s) EAL: Detected 1 NUMA nodes EAL: VFIO PCI modules not loaded EAL: DPAA Bus not present. Skipping. EAL: Container: dprc.2 has VFIO iommu group id = 4 EAL: fslmc: Bus scan completed EAL: Module /sys/module/rte_kni not found! error 2 (No such file or directory) EAL: Multi-process socket /var/run/.rte_unix EAL: Probing VFIO support... EAL: IOMMU type 1 (Type 1) is supported EAL: IOMMU type 7 (sPAPR) is not supported EAL: IOMMU type 8 (No-IOMMU) is not supported EAL: VFIO support initialized EAL: Mem event callback 'vfio_mem_event_clb' registered EAL: Ask a virtual area of 0x2e000 bytes EAL: Virtual area found at 0xffff86cae000 (size = 0x2e000) EAL: Setting up physically contiguous memory... EAL: Ask a virtual area of 0x1000 bytes EAL: Virtual area found at 0xffff8873f000 (size = 0x1000) EAL: Memseg list allocated: 0x100000kB at socket 0 EAL: Ask a virtual area of 0x800000000 bytes EAL: Virtual area found at 0xfff780000000 (size = 0x800000000) EAL: Ask a virtual area of 0x1000 bytes EAL: Virtual area found at 0xffff8873e000 (size = 0x1000) EAL: Memseg list allocated: 0x100000kB at socket 0 EAL: Ask a virtual area of 0x800000000 bytes EAL: Virtual area found at 0xffef40000000 (size = 0x800000000) EAL: Ask a virtual area of 0x1000 bytes EAL: Virtual area found at 0xffff8873d000 (size = 0x1000) EAL: Memseg list allocated: 0x100000kB at socket 0 EAL: Ask a virtual area of 0x800000000 bytes EAL: Virtual area found at 0xffe700000000 (size = 0x800000000) EAL: Ask a virtual area of 0x1000 bytes EAL: Virtual area found at 0xffff8873c000 (size = 0x1000) EAL: Memseg list allocated: 0x100000kB at socket 0 EAL: Ask a virtual area of 0x800000000 bytes EAL: Virtual area found at 0xffdec0000000 (size = 0x800000000) EAL: TSC frequency is ~25000 KHz EAL: Master lcore 1 is ready (tid=88742110;cpuset=[1]) EAL: lcore 3 is ready (tid=85cab910;cpuset=[3]) EAL: lcore 2 is ready (tid=864ab910;cpuset=[2]) EAL: eal_memalloc_alloc_page_bulk(): couldn't find suitable memseg_list error allocating rte services array EAL: FATAL: rte_service_init() failed EAL: rte_service_init() failed PANIC in main(): Cannot init EAL 1: [./arm64-dpaa2-linuxapp-gcc/app/testpmd(rte_dump_stack+0x38) [0x4f37a8]] Aborted --->8-- Above is an initial output - still investigating. I will keep you posted. > >> >> Also, you might want to know that dpaa bus driver references >> RTE_LIBRTE_DPAA_MAX_CRYPTODEV which is only found in >> config/common_armv8a_linuxapp but is not present in base config. Not sure if >> that's an issue. A recent patch from Hemant has fixed this (yet to be merged in master). [...] - Shreyansh