From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.ru (ozlabs.ru [107.173.13.209]) by dpdk.org (Postfix) with ESMTP id 0CC102C08 for ; Thu, 20 Apr 2017 09:24:06 +0200 (CEST) Received: from vpl2.ozlabs.ibm.com (localhost [IPv6:::1]) by ozlabs.ru (Postfix) with ESMTP id 65D293A60151; Thu, 20 Apr 2017 03:24:20 -0400 (EDT) From: Alexey Kardashevskiy To: dev@dpdk.org Cc: Alexey Kardashevskiy , JPF@zurich.ibm.com, Gowrishankar Muthukrishnan Date: Thu, 20 Apr 2017 17:23:57 +1000 Message-Id: <20170420072402.38106-1-aik@ozlabs.ru> X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH dpdk 0/5] ppc64/spapr: Attempt to use on POWER8 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Apr 2017 07:24:07 -0000 Hi! This is my first attempt to use DPDK on POWER8 machine and yet unsuccessful as it turned out DPDK only supports IB-Mellanox (I only got ethernet-Mellanox, and requires OFED), rmmod on Intel 40Gb module produces PCI errors (unrelated to DPDK) and Broadcom bnx2x has few issues (below) and still crashes as I suspect I got DMA mapping wrong, here is a backtrace: Configuring Port 0 (socket 0) PMD: bnx2x_issue_dmae_with_comp(): DMAE timeout! PANIC in bnx2x_write_dmae(): DMAE failed (-1)22: [/lib/powerpc64le-linux-gnu/libc.so.6(__libc_start_main+0xb8) [0x3fffb7c23298]] 21: [/lib/powerpc64le-linux-gnu/libc.so.6(+0x2309c) [0x3fffb7c2309c]] 20: [/home/aik/pbuild/dpdk_build/app/testpmd(main+0x228) [0x100255d0]] 19: [/home/aik/pbuild/dpdk_build/app/testpmd(start_port+0x5dc) [0x1002341c]] 18: [/home/aik/pbuild/dpdk_build/app/testpmd(rte_eth_dev_start+0xc4) [0x1008b3c0]] 17: [/home/aik/pbuild/dpdk_build/app/testpmd() [0x10117550]] 16: [/home/aik/pbuild/dpdk_build/app/testpmd(bnx2x_init+0x204) [0x100f7210]] 15: [/home/aik/pbuild/dpdk_build/app/testpmd() [0x100f6888]] 14: [/home/aik/pbuild/dpdk_build/app/testpmd() [0x100ee7f4]] 13: [/home/aik/pbuild/dpdk_build/app/testpmd(ecore_func_state_change+0x250) [0x10127794]] 12: [/home/aik/pbuild/dpdk_build/app/testpmd() [0x1012734c]] 11: [/home/aik/pbuild/dpdk_build/app/testpmd() [0x10126830]] 10: [/home/aik/pbuild/dpdk_build/app/testpmd() [0x10126618]] 9: [/home/aik/pbuild/dpdk_build/app/testpmd() [0x10100a98]] 8: [/home/aik/pbuild/dpdk_build/app/testpmd() [0x100ffe00]] 7: [/home/aik/pbuild/dpdk_build/app/testpmd() [0x100de614]] 6: [/home/aik/pbuild/dpdk_build/app/testpmd() [0x100de4cc]] 5: [/home/aik/pbuild/dpdk_build/app/testpmd() [0x101063c0]] 4: [/home/aik/pbuild/dpdk_build/app/testpmd() [0x100e1f6c]] 3: [/home/aik/pbuild/dpdk_build/app/testpmd(bnx2x_write_dmae+0x11c) [0x100e1e40]] 2: [/home/aik/pbuild/dpdk_build/app/testpmd(__rte_panic+0x8c) [0x100b3e58]] 1: [/home/aik/pbuild/dpdk_build/app/testpmd(rte_dump_stack+0x40) [0x100b3cc4]] Thread 1 "testpmd" received signal SIGABRT, Aborted. 0x00003fffb7c3edb0 in __GI_raise (sig=) at ../sysdeps/unix/sysv/linux/raise.c:54 54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. Still, some fixes are quite obvious and straigtforward. This is based on sha1 2fc8e0bf0 Olivier Matz "log: fix dump of registered logs when disabled". Please comment. Thanks. Alexey Kardashevskiy (5): vfio/ppc64/spapr: Use correct structures for add/remove windows pci: Initialize common rte driver pointer RFC: bnx2x: Update firmware versions vfio: Do try setting IOMMU type if already set RFC: vfio/ppc64/spapr: Use correct bus addresses for DMA map lib/librte_eal/linuxapp/eal/eal_vfio.h | 8 +++++ drivers/net/bnx2x/bnx2x.c | 4 +-- lib/librte_eal/common/eal_common_pci.c | 1 + lib/librte_eal/linuxapp/eal/eal_vfio.c | 62 +++++++++++++++++++--------------- 4 files changed, 46 insertions(+), 29 deletions(-) -- 2.11.0