From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id ACDEDA0546 for ; Wed, 26 May 2021 06:35:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CB149410EA; Wed, 26 May 2021 06:35:50 +0200 (CEST) Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) by mails.dpdk.org (Postfix) with ESMTP id 3B0B04003F; Wed, 26 May 2021 06:35:49 +0200 (CEST) Received: by mail-lj1-f170.google.com with SMTP id w7so27626242lji.6; Tue, 25 May 2021 21:35:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bpsy4/aYcq5yCqXNiKSZ33LDL1+kL7nB03eIJrnYCeg=; b=lU50d3NOlJEd9mHk9jt2ZkB7uwSyAeYcnfAp1dCTt3pIdy+NafIILzBHWTQQ2tiIoO 7+g0YLzKcTiK0tvQnBBOi2bLyPdYRqnLTxBXk/Olbhprtmy3tcu3gSFV79hRPkYrS9PQ /q1CnyZOnE8cX9EE+4NeBiZBoubIEZyMDToMhjr/tqevER0xKJqgEKwk/pWvcg6AFQ60 Zior8kJWjuJq8WD79ACUFsXT8e9GzOqwBV7pfnXW9zTul2cUEWiRc/EWG7vVUXAB2ur3 nfKSxadLPVhA3cumm7anAXrxfUpsMcuvx8c8n+k9qty8jhwd1NM98E8RPA1yHmR2nPdJ 5Nnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bpsy4/aYcq5yCqXNiKSZ33LDL1+kL7nB03eIJrnYCeg=; b=D7zL/MnbvVixgl0gfQ5OfHEZO0tSDhv8MYTyg+t3tO82YvfBsMjy6WNHlHf+fh27qR swzlpr+9Ry8m79OMF0ekYFEHRPuLpmSK30MTWNFLgkIBYcOs/Bb6MRt85spef0Ye7vY+ jQO+8lEIlDuHZ0IOE32JY3uSf/E7x5/QU4ZCgMuEe3UpWTdpkWuwZOSiE8JnCqgHVqs/ incTyQe/W4eo2Mt/fZbYP5247OaeS7/qdoEKHFf+UQVkDU23syW+IcuTUDSEDtRK45kF o81MgHtr7j8QeyWzuntRzTwJ+gWPtyni7fElBNWxZhN3QrT1J3RNxVRcRD0kmbKbWMmT KyKQ== X-Gm-Message-State: AOAM5334Mp6Yj7eIr4XVeMomd0r4mOho8OsconF5nOcTZTGFkPEuu3bk uYQg7+7oO8hqwbBvrJT9AR8VdiHji6x1lW1wEA4= X-Google-Smtp-Source: ABdhPJwb/7siQTVF9pqgA6HeiKWcYnvP2To/N5OGMydfPLmdsiyajbTgfjdW02pY3Yvy4mgAcd2lupRudBVXgvfXNJY= X-Received: by 2002:a2e:b04c:: with SMTP id d12mr708443ljl.465.1622003748618; Tue, 25 May 2021 21:35:48 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Nishant Verma Date: Wed, 26 May 2021 00:35:37 -0400 Message-ID: To: Truring Team Cc: dev@dpdk.org, USERS Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-users] DPDK issue with Marvell NIC QLogic Corp. FastLinQ QL41000 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" meminfo states: Hugepagesize: 1048576 kB But in your initial mail you state Hugepage size is 1G. have you configured HugePage via grub.... ? Thanks. Regards, NV On Wed, May 26, 2021 at 12:21 AM Truring Team wrote: > Hi Nishant, > > cat /proc/meminfo > 11:59:29.200 =C2=A7MemTotal: 23101672 kB > 11:59:29.200 =C2=A7MemFree: 15254764 kB > 11:59:29.200 =C2=A7MemAvailable: 19243184 kB > 11:59:29.200 =C2=A7Buffers: 6792 kB > 11:59:29.201 =C2=A7Cached: 4084844 kB > 11:59:29.201 =C2=A7SwapCached: 0 kB > 11:59:29.201 =C2=A7Active: 3609016 kB > 11:59:29.201 =C2=A7Inactive: 1175160 kB > 11:59:29.201 =C2=A7Active(anon): 695644 kB > 11:59:29.202 =C2=A7Inactive(anon): 19716 kB > 11:59:29.202 =C2=A7Active(file): 2913372 kB > 11:59:29.202 =C2=A7Inactive(file): 1155444 kB > 11:59:29.202 =C2=A7Unevictable: 0 kB > 11:59:29.202 =C2=A7Mlocked: 0 kB > 11:59:29.203 =C2=A7SwapTotal: 11665404 kB > 11:59:29.204 =C2=A7SwapFree: 11665404 kB > 11:59:29.204 =C2=A7Dirty: 32 kB > 11:59:29.204 =C2=A7Writeback: 0 kB > 11:59:29.204 =C2=A7AnonPages: 694764 kB > 11:59:29.205 =C2=A7Mapped: 140220 kB > 11:59:29.205 =C2=A7Shmem: 22800 kB > 11:59:29.205 =C2=A7Slab: 445016 kB > 11:59:29.205 =C2=A7SReclaimable: 289968 kB > 11:59:29.205 =C2=A7SUnreclaim: 155048 kB > 11:59:29.206 =C2=A7KernelStack: 16624 kB > 11:59:29.206 =C2=A7PageTables: 35892 kB > 11:59:29.206 =C2=A7NFS_Unstable: 0 kB > 11:59:29.206 =C2=A7Bounce: 0 kB > 11:59:29.206 =C2=A7WritebackTmp: 0 kB > 11:59:29.207 =C2=A7CommitLimit: 22167664 kB > 11:59:29.207 =C2=A7Committed_AS: 4342668 kB > 11:59:29.207 =C2=A7VmallocTotal: 34359738367 kB > 11:59:29.207 =C2=A7VmallocUsed: 463188 kB > 11:59:29.207 =C2=A7VmallocChunk: 34358835196 kB > 11:59:29.208 =C2=A7HardwareCorrupted: 0 kB > 11:59:29.208 =C2=A7AnonHugePages: 329728 kB > 11:59:29.208 =C2=A7CmaTotal: 0 kB > 11:59:29.209 =C2=A7CmaFree: 0 kB > 11:59:29.209 =C2=A7HugePages_Total: 1024 > 11:59:29.209 =C2=A7HugePages_Free: 1019 > 11:59:29.209 =C2=A7HugePages_Rsvd: 0 > 11:59:29.209 =C2=A7HugePages_Surp: 0 > 11:59:29.209 =C2=A7Hugepagesize: 2048 kB > 11:59:29.209 =C2=A7DirectMap4k: 381760 kB > 11:59:29.209 =C2=A7DirectMap2M: 13973504 kB > 11:59:29.215 =C2=A7DirectMap1G: 11534336 kB > > Regards > > > On Wed, 26 May 2021 at 09:43, Nishant Verma wrote: > >> Can you paste output of /proc/meminfo ? >> >> >> >> Regards, >> NV >> >> On Tue, May 25, 2021 at 9:52 PM Truring Team wrote= : >> >>> Hi Team, >>> >>> I am trying to run the dpdk test-pmd application (DPDK 20.11 and DPDK >>> 21.05) with NIC QLogic Corp. FastLinQ QL41000 Series 10/25/40/50GbE >>> Controller but facing following issues: >>> >>> If someone can look into the following logs and help me figure out the >>> issue? >>> >>> >>> >>> 1. DPDK 20.11 ( Using 1 GB hugepages) >>> >>> gdb ./dpdk-testpmd >>> >>> 12:45:59.347 =C2=A7GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-114.el7 >>> >>> 12:45:59.347 =C2=A7Copyright (C) 2013 Free Software Foundation, Inc. >>> >>> 12:45:59.348 =C2=A7License GPLv3+: GNU GPL version 3 or later >>> http://gnu.org/licenses/gpl.html >>> >>> 12:45:59.349 =C2=A7This is free software: you are free to change and >>> redistribute it. >>> >>> 12:45:59.349 =C2=A7There is NO WARRANTY, to the extent permitted by law= . Type >>> "show copying" >>> >>> 12:45:59.349 =C2=A7and "show warranty" for details. >>> >>> 12:45:59.350 =C2=A7This GDB was configured as "x86_64-redhat-linux-gnu"= . >>> >>> 12:45:59.351 =C2=A7For bug reporting instructions, please see: >>> >>> 12:45:59.351 =C2=A7http://www.gnu.org/software/gdb/bugs/... >>> >>> 12:45:59.415 =C2=A7Reading symbols from >>> /home/itwsadmin/dpdk-20.11/build/app/dpdk-testpmd...(no debugging symbo= ls >>> found)...done. >>> >>> 12:46:11.492 =C2=A7(gdb) r -l 0-5 -n4 -- -i >>> >>> 12:46:11.493 =C2=A7Starting program: >>> /home/itwsadmin/dpdk-20.11/build/app/./dpdk-testpmd -l 0-5 -n4 -- -i >>> >>> 12:46:11.717 =C2=A7[Thread debugging using libthread_db enabled] >>> >>> 12:46:11.719 =C2=A7Using host libthread_db library "/lib64/libthread_db= .so.1". >>> >>> 12:46:11.768 =C2=A7EAL: Detected 6 lcore(s) >>> >>> 12:46:11.769 =C2=A7EAL: Detected 1 NUMA nodes >>> >>> 12:46:11.769 =C2=A7[New Thread 0x7ffff6a71700 (LWP 23184)] >>> >>> 12:46:11.769 =C2=A7EAL: Multi-process socket /var/run/dpdk/rte/mp_socke= t >>> >>> 12:46:11.770 =C2=A7[New Thread 0x7ffff6270700 (LWP 23185)] >>> >>> 12:46:11.792 =C2=A7EAL: Selected IOVA mode 'PA' >>> >>> 12:46:11.792 =C2=A7EAL: No free hugepages reported in hugepages-2048kB >>> >>> 12:46:11.792 =C2=A7EAL: No available hugepages reported in hugepages-20= 48kB >>> >>> 12:46:11.854 =C2=A7EAL: Probing VFIO support... >>> >>> 12:46:11.855 =C2=A7[New Thread 0x7ffff5a6f700 (LWP 23186)] >>> >>> 12:46:11.855 =C2=A7[New Thread 0x7ffff526e700 (LWP 23187)] >>> >>> 12:46:11.855 =C2=A7[New Thread 0x7ffff4a6d700 (LWP 23188)] >>> >>> 12:46:11.855 =C2=A7[New Thread 0x7ffff426c700 (LWP 23189)] >>> >>> 12:46:11.856 =C2=A7[New Thread 0x7ffff3a6b700 (LWP 23190)] >>> >>> 12:46:11.896 =C2=A7EAL: Probe PCI driver: net_qede (1077:8070) device: >>> 0000:65:00.0 (socket 0) >>> >>> 12:46:11.915 =C2=A7 >>> >>> 12:46:11.915 =C2=A7Program received signal SIGSEGV, Segmentation fault. >>> >>> 12:46:11.916 =C2=A70x0000000000ec5b20 in ecore_fw_overlay_mem_alloc () >>> >>> 12:46:11.916 =C2=A7Missing separate debuginfos, use: debuginfo-install >>> glibc-2.17-324.el7_9.x86_64 libgcc-4.8.5-44.el7.x86_64 >>> libpcap-1.5.3-12.el7.x86_64 numactl-libs-2.0.12-5.el7.x86_64 >>> zlib-1.2.7-19.el7_9.x86_64 >>> >>> 12:46:14.542 =C2=A7(gdb) bt >>> >>> 12:46:14.548 =C2=A7#0 0x0000000000ec5b20 in ecore_fw_overlay_mem_alloc= () >>> >>> 12:46:14.548 =C2=A7#1 0x0000000000eb811e in ecore_hw_init () >>> >>> 12:46:14.549 =C2=A7#2 0x0000000000ef7397 in qed_slowpath_start () >>> >>> 12:46:14.549 =C2=A7#3 0x0000000000ef0483 in qede_common_dev_init () >>> >>> 12:46:14.549 =C2=A7#4 0x0000000000ef1113 in qede_eth_dev_pci_probe () >>> >>> 12:46:14.549 =C2=A7#5 0x0000000000a4450b in pci_probe () >>> >>> 12:46:14.550 =C2=A7#6 0x00000000009dbc6c in rte_bus_probe () >>> >>> 12:46:14.550 =C2=A7#7 0x00000000009fa91c in rte_eal_init () >>> >>> 12:46:14.617 =C2=A7#8 0x0000000000425db1 in main () >>> >>> 12:46:17.052 =C2=A7(gdb) quit >>> >>> 12:46:17.056 =C2=A7A debugging session is active. >>> >>> 12:46:17.056 =C2=A7 >>> >>> 12:46:17.057 =C2=A7 Inferior 1 [process 23180] will be killed. >>> >>> >>> >>> >>> >>> 2. *DPDK 21.05:* >>> >>> ./dpdk-testpmd -l 0-5 -n4 -- -i >>> >>> 12:46:46.257 =C2=A7EAL: Detected 6 lcore(s) >>> >>> 12:46:46.257 =C2=A7EAL: Detected 1 NUMA nodes >>> >>> 12:46:46.258 =C2=A7EAL: Detected static linkage of DPDK >>> >>> 12:46:46.260 =C2=A7EAL: Multi-process socket /var/run/dpdk/rte/mp_socke= t >>> >>> 12:46:46.285 =C2=A7EAL: Selected IOVA mode 'PA' >>> >>> 12:46:46.285 =C2=A7EAL: No free 2048 kB hugepages reported on node 0 >>> >>> 12:46:46.288 =C2=A7EAL: No available 2048 kB hugepages reported >>> >>> 12:46:46.382 =C2=A7EAL: Probe PCI driver: net_qede (1077:8070) device: >>> 0000:65:00.0 (socket 0) >>> >>> 12:46:46.403 =C2=A7[QEDE PMD: ()]ecore_load_mcp_offsets:The address of = the MCP >>> scratch-pad is not configured >>> >>> 12:46:46.403 =C2=A7[QEDE PMD: ()]ecore_mcp_cmd_init:MCP is not initiali= zed >>> >>> 12:46:46.404 =C2=A7[QEDE PMD: ()]ecore_mcp_cmd_and_union:MFW is not >>> initialized! >>> >>> 12:46:46.404 =C2=A7[QEDE PMD: ()]ecore_hw_get_nvm_info:Shared memory no= t >>> initialized >>> >>> 12:46:46.404 =C2=A7[QEDE PMD: ()]ecore_hw_prepare_single:Failed to get = HW >>> information >>> >>> 12:46:46.404 =C2=A7[qed_probe:74(65:00.0:dpdk-port-0)]hw prepare failed >>> >>> 12:46:46.404 =C2=A7[qede_common_dev_init:2566(65:00.0:dpdk-port-0)]qede= probe >>> failed rc -3 >>> >>> 12:46:46.406 =C2=A7EAL: Requested device 0000:65:00.0 cannot be used >>> >>> 12:46:46.408 =C2=A7TELEMETRY: No legacy callbacks, legacy socket not cr= eated >>> >>> 12:46:46.423 =C2=A7testpmd: No probed ethernet devices >>> >>> 12:46:46.461 =C2=A7Interactive-mode selected >>> >>> 12:46:46.519 =C2=A7testpmd: create a new mbuf pool : n=3D187= 456, >>> size=3D2176, socket=3D0 >>> >>> 12:46:46.522 =C2=A7testpmd: preferred mempool ops selected: ring_mp_mc >>> >>> 12:46:46.540 =C2=A7Done >>> >>> >>> >>> >>> >>> System Information: >>> >>> *ethtool -i p2p1* >>> driver: qede >>> version: 8.33.0.20 >>> *firmware-version: mfw 8.24.44.0 storm 8.33.11.0* >>> expansion-rom-version: >>> bus-info: 0000:65:00.0 >>> supports-statistics: yes >>> supports-test: yes >>> supports-eeprom-access: no >>> supports-register-dump: yes >>> supports-priv-flags: yes >>> >>> >>> >>> *ethtool -i p2p2 *driver: qede >>> version: 8.33.0.20 >>> firmware-version: mfw 8.24.44.0 storm 8.33.11.0 >>> expansion-rom-version: >>> bus-info: 0000:65:00.1 >>> supports-statistics: yes >>> supports-test: yes >>> supports-eeprom-access: no >>> supports-register-dump: yes >>> supports-priv-flags: yes >>> >>> >>> >>> >>> >>> *lspci -nn | grep Ether* >>> >>> 12:42:50.579 =C2=A704:00.0 Ethernet controller [0200]: Broadcom Inc. an= d >>> subsidiaries NetXtreme BCM5720 Gigabit Ethernet PCIe [14e4:165f] >>> >>> 12:42:50.581 =C2=A704:00.1 Ethernet controller [0200]: Broadcom Inc. an= d >>> subsidiaries NetXtreme BCM5720 Gigabit Ethernet PCIe [14e4:165f] >>> >>> 12:42:50.582 =C2=A765:00.0 Ethernet controller [0200]: QLogic Corp. Fas= tLinQ >>> QL41000 Series 10/25/40/50GbE Controller [1077:8070] (rev 02) >>> >>> 12:42:50.583 =C2=A765:00.1 Ethernet controller [0200]: QLogic Corp. Fas= tLinQ >>> QL41000 Series 10/25/40/50GbE Controller [1077:8070] (rev 02) >>> >>> >>> >>> cd /lib/firmware/qed/ >>> >>> ls >>> >>> 12:48:27.269 =C2=A7qed_init_values-8.10.9.0.bin >>> qed_init_values-8.30.12.0.bin qed_init_values_zipped-8.10.5.0.b= in >>> qed_init_values_zipped-8.33.11.0.bin qed_init_values_zipped-8.7.3.0.bi= n >>> >>> 12:48:27.272 =C2=A7qed_init_values-8.14.6.0.bin >>> qed_init_values-8.33.12.0.bin qed_init_values_zipped-8.15.3.0.b= in >>> qed_init_values_zipped-8.37.2.0.bin >>> >>> 12:48:27.273 =C2=A7qed_init_values-8.18.9.0.bin >>> qed_init_values-8.40.33.0.bin qed_init_values_zipped-8.20.0.0.b= in >>> qed_init_values_zipped-8.37.7.0.bin >>> >>> 12:48:27.275 =C2=A7qed_init_values-8.20.0.0.bin >>> qed_init_values_zipped-8.10.10.0.bin qed_init_values_zipped-8.33.1.0.b= in >>> qed_init_values_zipped-8.4.2.0.bin >>> >>> >>> Best Regards >>> >>> Puneet >>> >>