From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f41.google.com (mail-it0-f41.google.com [209.85.214.41]) by dpdk.org (Postfix) with ESMTP id CBB55200 for ; Mon, 4 Jun 2018 08:47:05 +0200 (CEST) Received: by mail-it0-f41.google.com with SMTP id e20-v6so8893906itc.1 for ; Sun, 03 Jun 2018 23:47:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=5Ajs6v+OGM64W63Z8U40rqp9OCMe6/kLKtw4/DzWACU=; b=aIkqmiie+uOS47E24plT1eUigAE7KNKki1621OeShprXmCvSQIljHwQoj5HsTo0jlR 7kBxdsVks3vlPR2yQDAJPJmWNV7mJsWEeikWNXuHiDZu3eQxQ68wnZS2BbelTkdAi7us oG6xWRuQl3BZs0CmhbJSn09d2r9wnsaD+AypFD8uCGeHLxxFRjRbQ/rGZwt44+mcRN7L leJiBdpRnOJDyheKzwswAT6UQ973zc4Ih2IKcKDSRnMkOiz01QanE0M2y8zSWpHRXLnV qIVhesgeyxXIIatuNrXY2Z2XdU6chjUjQKgXKfa2UcuTCycs31QtC6bb3QFc5bjdSsCA PBNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=5Ajs6v+OGM64W63Z8U40rqp9OCMe6/kLKtw4/DzWACU=; b=KjX+IV/e32bvcUdNpbE9lVnotR5UMbI2BH9JiashVfCtfba3Kp9cJjdDuzhNR1jxJS xFiYC9yI2A8FO1PKxDZlVMDc2X8iMjvAaK29hpSljrCPvsKCm2chlB/nl/LomvJTc4XN VYYxzFCZxRhC3kJTpYncJ47k0NoFpBoxR2SNVMz0lwWEN2Z2uCQWk/PAnbuu7Y9ZRIb9 2l6viMd4Q6zrkH3dRtW7N/tF207ctJHuMBLrx+DD2VhjwLg/IB5rw7wj7xLQLevWBQw6 sTvPiDNWy9JOxMalsxjZXWi2ENEVvw3I5cQ1VPn7rqqfaTvjarHIyBJubeOyoUqHCPs9 mxGw== X-Gm-Message-State: APt69E0s2il1lVJe2N9dRCxY5JJ5nrRsqP1xXQ+Q4JYqv45I30kbiCts Z1vQ1zShtY3v8Eo/ERVvh0oXoATJFY4nX5FQrNMtfQ== X-Google-Smtp-Source: ADUXVKJPJvy/nOlk0z7SC1ARCN2viwVCi188HP3szrBBmjyydtFOG9PbUYsxiVLQQG8QSipzFrZWp9rxJOJ2rYiOdC0= X-Received: by 2002:a24:52cb:: with SMTP id d194-v6mr10905879itb.46.1528094824809; Sun, 03 Jun 2018 23:47:04 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:ee05:0:0:0:0:0 with HTTP; Sun, 3 Jun 2018 23:47:04 -0700 (PDT) From: wu Date: Mon, 4 Jun 2018 14:47:04 +0800 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] pdump process failed in bnx2x_common_dev_init. X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2018 06:47:06 -0000 Hi, I'm trying to use dpdk-pdump with dpdk-stable-18.02.1. my configurations: CONFIG_RTE_LIBRTE_BNX2X_PMD=y CONFIG_RTE_LIBRTE_BNX2X_DEBUG_RX=y CONFIG_RTE_LIBRTE_BNX2X_DEBUG_TX=y CONFIG_RTE_LIBRTE_BNX2X_MF_SUPPORT=y CONFIG_RTE_LIBRTE_BNX2X_DEBUG_PERIODIC=y CONFIG_RTE_LIBRTE_PMD_PCAP=y CONFIG_RTE_LIBRTE_PDUMP=y I bind the device to DPDK: Network devices using DPDK-compatible driver ============================================ 0000:03:00.1 'NetXtreme II BCM57810 10 Gigabit Ethernet 168e' drv=igb_uio unused=vfio-pci And I start the primary process first: # ./testpmd -c 3 -n 4 -- -i --total-num-mbufs=16384 --port-topology=chained EAL: Detected 32 lcore(s) EAL: Multi-process socket /var/run/.rte_unix EAL: Probing VFIO support... EAL: VFIO support initialized EAL: PCI device 0000:03:00.0 on NUMA socket 0 EAL: probe driver: 14e4:168e net_bnx2x EAL: PCI device 0000:03:00.1 on NUMA socket 0 EAL: probe driver: 14e4:168e net_bnx2x Interactive-mode selected testpmd: create a new mbuf pool : n=16384, size=2176, socket=0 testpmd: preferred mempool ops selected: ring_mp_mc rte_mempool_ops_get_capabilities: Function not supported rte_mempool_ops_register_memory_area: Function not supported rte_mempool_ops_get_capabilities: Function not supported rte_mempool_ops_register_memory_area: Function not supported rte_mempool_ops_get_capabilities: Function not supported rte_mempool_ops_register_memory_area: Function not supported rte_mempool_ops_get_capabilities: Function not supported rte_mempool_ops_register_memory_area: Function not supported rte_mempool_ops_get_capabilities: Function not supported rte_mempool_ops_register_memory_area: Function not supported rte_mempool_ops_get_capabilities: Function not supported rte_mempool_ops_register_memory_area: Function not supported rte_mempool_ops_get_capabilities: Function not supported rte_mempool_ops_register_memory_area: Function not supported rte_mempool_ops_get_capabilities: Function not supported testpmd: create a new mbuf pool : n=16384, size=2176, socket=1 testpmd: preferred mempool ops selected: ring_mp_mc rte_mempool_ops_get_capabilities: Function not supported rte_mempool_ops_register_memory_area: Function not supported rte_mempool_ops_get_capabilities: Function not supported rte_mempool_ops_register_memory_area: Function not supported rte_mempool_ops_get_capabilities: Function not supported Configuring Port 0 (socket 0) PMD: bnx2x_interrupt_action(): Interrupt handled PMD: bnx2x_interrupt_action(): Interrupt handled PMD: bnx2x_interrupt_action(): Interrupt handled Port 0: C4:34:6B:B0:EA:64 Checking link statuses... Done PMD: bnx2x_interrupt_action(): Interrupt handled testpmd> However, the secondary process failed. # ./dpdk-pdump -- --pdump 'port=0,queue=*,rx-dev=./capture.pcap' EAL: Detected 32 lcore(s) EAL: Multi-process socket /var/run/.rte_unix_14636_fe8ed726aadaf EAL: Probing VFIO support... EAL: VFIO support initialized EAL: WARNING: Address Space Layout Randomization (ASLR) is enabled in the kernel. EAL: This may cause issues with mapping memory into secondary processes EAL: PCI device 0000:03:00.0 on NUMA socket 0 EAL: probe driver: 14e4:168e net_bnx2x EAL: PCI device 0000:03:00.1 on NUMA socket 0 EAL: probe driver: 14e4:168e net_bnx2x dpdk-pdump: /root/dpdk-stable-18.02.1/drivers/net/bnx2x/bnx2x_ethdev.c:563: bnx2x_common_dev_init: Assertion `sc->bar[0].base_addr' failed. Aborted (core dumped) Have I missed something? Please give me some information to understand this issue. Thanks in advance, Wu