* rte_mempool_create fails with --no-huge @ 2024-12-03 19:54 Alipour, Mehrdad 2024-12-04 20:51 ` Dmitry Kozlyuk 0 siblings, 1 reply; 6+ messages in thread From: Alipour, Mehrdad @ 2024-12-03 19:54 UTC (permalink / raw) To: dev [-- Attachment #1: Type: text/plain, Size: 37159 bytes --] Hi, I am facing problem with rte_mempool_create when running my app with -no-huge after rte_eal_init succeeds. Note that this app works fine with hugepages but since it's purpose is unit testing certain packet processing logic, it has no requirements to have ports and the Linux may not necessarily have hugepage setup in boot arsgs. Hence -no-huge. To demonstrate the issue, I used DPDK 23.11 dpdk-testpmd (please ignore the fact that there are no ports. Objective is to demonstrate rte_malloc/ rte_mempool_create issue) Running directly on Linux: dpdk-testpmd -c 000F -n 2 --log-level=eal,8 --no-huge -m 4095 --no-pci -- -i --nb-cores=2 --total-num-mbufs=2048 ====== 2024-12-03 13:22:39.078164 EAL: lib.eal log level changed from info to debug 2024-12-03 13:22:39.078299 EAL: Detected lcore 0 as core 0 on socket 0 2024-12-03 13:22:39.078325 EAL: Detected lcore 1 as core 0 on socket 0 2024-12-03 13:22:39.078344 EAL: Detected lcore 2 as core 0 on socket 0 2024-12-03 13:22:39.078362 EAL: Detected lcore 3 as core 0 on socket 0 2024-12-03 13:22:39.078391 EAL: Detected lcore 4 as core 0 on socket 0 2024-12-03 13:22:39.078411 EAL: Detected lcore 5 as core 0 on socket 0 2024-12-03 13:22:39.078433 EAL: Detected lcore 6 as core 0 on socket 0 2024-12-03 13:22:39.078451 EAL: Detected lcore 7 as core 0 on socket 0 2024-12-03 13:22:39.078469 EAL: Detected lcore 8 as core 0 on socket 0 2024-12-03 13:22:39.078490 EAL: Detected lcore 9 as core 0 on socket 0 2024-12-03 13:22:39.083517 EAL: Maximum logical cores by configuration: 128 2024-12-03 13:22:39.083527 EAL: Detected CPU lcores: 10 2024-12-03 13:22:39.083537 EAL: Detected NUMA nodes: 1 2024-12-03 13:22:39.083580 EAL: Checking presence of .so 'librte_eal.so.24.0' 2024-12-03 13:22:39.083663 EAL: Detected shared linkage of DPDK 2024-12-03 13:22:39.084799 EAL: Ask a virtual area of 0x7000 bytes 2024-12-03 13:22:39.084820 EAL: Virtual area found at 0x100000000 (size = 0x7000) 2024-12-03 13:22:39.086041 EAL: Multi-process socket /var/run/dpdk/rte/mp_socket 2024-12-03 13:22:39.086231 EAL: Bus vdev wants IOVA as 'DC' 2024-12-03 13:22:39.086243 EAL: Bus pci wants IOVA as 'DC' 2024-12-03 13:22:39.086247 EAL: Buses did not request a specific IOVA mode. 2024-12-03 13:22:39.086252 EAL: Physical addresses are unavailable, selecting IOVA as VA mode. 2024-12-03 13:22:39.086257 EAL: Selected IOVA mode 'VA' 2024-12-03 13:22:39.088780 EAL: Probing VFIO support... 2024-12-03 13:22:39.088847 EAL: IOMMU type 1 (Type 1) is supported 2024-12-03 13:22:39.088857 EAL: IOMMU type 7 (sPAPR) is not supported 2024-12-03 13:22:39.088877 EAL: IOMMU type 8 (No-IOMMU) is not supported 2024-12-03 13:22:39.088891 EAL: VFIO support initialized 2024-12-03 13:22:39.088905 EAL: Ask a virtual area of 0x2d2000 bytes 2024-12-03 13:22:39.088916 EAL: Virtual area found at 0x100007000 (size = 0x2d2000) 2024-12-03 13:22:39.090053 EAL: Setting up physically contiguous memory... 2024-12-03 13:22:39.090084 EAL: Setting maximum number of open files to 262144 2024-12-03 13:22:39.090107 EAL: Ask a virtual area of 0x301d000 bytes 2024-12-03 13:22:39.090126 EAL: Virtual area found at 0x1002d9000 (size = 0x301d000) 2024-12-03 13:22:39.108399 EAL: Memseg list allocated at socket 0, page size 0x4kB 2024-12-03 13:22:39.108495 EAL: Using memfd for anonymous memory 2024-12-03 13:22:39.108507 EAL: Ask a virtual area of 0xfff00000 bytes 2024-12-03 13:22:39.108522 EAL: Virtual area found at 0x1032f6000 (size = 0xfff00000) 2024-12-03 13:22:39.108531 EAL: VA reserved for memseg list at 0x1032f6000, size fff00000 2024-12-03 13:22:39.128891 EAL: Added 4095M to heap on socket 0 2024-12-03 13:22:39.629348 EAL: TSC frequency is ~13950000 KHz 2024-12-03 13:22:39.630008 EAL: Main lcore 0 is ready (tid=7fee0d440900;cpuset=[0]) 2024-12-03 13:22:39.630259 EAL: lcore 1 is ready (tid=7fee0c43c640;cpuset=[1]) 2024-12-03 13:22:39.630336 EAL: lcore 2 is ready (tid=7fee0bc3b640;cpuset=[2]) 2024-12-03 13:22:39.632917 EAL: lcore 3 is ready (tid=7fee03fff640;cpuset=[3]) 2024-12-03 13:22:39.644341 TELEMETRY: No legacy callbacks, legacy socket not created 2024-12-03 13:22:39.647156 testpmd: No probed ethernet devices Interactive-mode selected 2024-12-03 13:22:52.251198 testpmd: create a new mbuf pool <mb_pool_0>: n=2048, size=2176, socket=0 2024-12-03 13:22:52.251320 testpmd: preferred mempool ops selected: ring_mp_mc 2024-12-03 13:22:52.251633 EAL: Error - exiting with code: 1 Cause: 2024-12-03 13:22:52.251660 Creation of mbuf pool for socket 0 failed: No such file or directory ========================================================================================== Comparing with running on a VM with boot args (default_hugepagesz=2M hugepagesz=1G hugepages=4) but still using -no-huge: Note that this VM runs on the same machine as the above Linux test. dpdk-testpmd -c 000F -n 2 --log-level=eal,8 --no-huge -m 4095 --no-pci -- -i --nb-cores=2 --total-num-mbufs=2048 ====== 2024-12-03 19:32:36.631650 EAL: lib.eal log level changed from info to debug 2024-12-03 19:32:36.631766 EAL: Detected lcore 0 as core 0 on socket 0 2024-12-03 19:32:36.631801 EAL: Detected lcore 1 as core 0 on socket 0 2024-12-03 19:32:36.631816 EAL: Detected lcore 2 as core 1 on socket 0 2024-12-03 19:32:36.631828 EAL: Detected lcore 3 as core 1 on socket 0 2024-12-03 19:32:36.640854 EAL: Maximum logical cores by configuration: 128 2024-12-03 19:32:36.640891 EAL: Detected CPU lcores: 4 2024-12-03 19:32:36.640904 EAL: Detected NUMA nodes: 1 2024-12-03 19:32:36.640985 EAL: Checking presence of .so 'librte_eal.so.24.0' 2024-12-03 19:32:36.641056 EAL: Detected shared linkage of DPDK 2024-12-03 19:32:36.642042 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_fm10k.so.24.0 2024-12-03 19:32:36.642266 EAL: pmd.net.fm10k.init log level changed from disabled to notice 2024-12-03 19:32:36.642279 EAL: pmd.net.fm10k.driver log level changed from disabled to notice 2024-12-03 19:32:36.642285 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_qdma.so.24.0 2024-12-03 19:32:36.642581 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_vhost.so 2024-12-03 19:32:36.643201 EAL: lib.dmadev log level changed from disabled to info 2024-12-03 19:32:36.643264 EAL: Registered [vdpa] device class. 2024-12-03 19:32:36.643282 EAL: lib.vhost.config log level changed from disabled to info 2024-12-03 19:32:36.643288 EAL: lib.vhost.data log level changed from disabled to warning 2024-12-03 19:32:36.643296 EAL: pmd.net.vhost log level changed from disabled to notice 2024-12-03 19:32:36.643307 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_idpf.so 2024-12-03 19:32:36.643598 EAL: pmd.common.idpf.common log level changed from disabled to notice 2024-12-03 19:32:36.643608 EAL: pmd.common.idpf log level changed from disabled to notice 2024-12-03 19:32:36.643617 EAL: pmd.net.idpf.init log level changed from disabled to notice 2024-12-03 19:32:36.643622 EAL: pmd.net.idpf.driver log level changed from disabled to notice 2024-12-03 19:32:36.643630 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_bus_ifpga.so.24.0 2024-12-03 19:32:36.643811 EAL: lib.rawdev log level changed from disabled to info 2024-12-03 19:32:36.643847 EAL: Registered [ifpga] bus. 2024-12-03 19:32:36.643853 EAL: bus.ifpga log level changed from disabled to notice 2024-12-03 19:32:36.643858 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_idpf.so.24.0 2024-12-03 19:32:36.643935 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_softnic.so.24.0 2024-12-03 19:32:36.645068 EAL: lib.eventdev.adapter.timer log level changed from disabled to notice 2024-12-03 19:32:36.645103 EAL: lib.eventdev.adapter.timer.svc log level changed from disabled to notice 2024-12-03 19:32:36.645242 EAL: pmd.net.softnic log level changed from disabled to notice 2024-12-03 19:32:36.645269 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_mempool_ring.so 2024-12-03 19:32:36.645355 MEMPOOL: Being asked to create mempool ops for : ring_mp_mc 2024-12-03 19:32:36.645378 MEMPOOL: Being asked to create mempool ops for : ring_sp_sc 2024-12-03 19:32:36.645383 MEMPOOL: Being asked to create mempool ops for : ring_mp_sc 2024-12-03 19:32:36.645397 MEMPOOL: Being asked to create mempool ops for : ring_sp_mc 2024-12-03 19:32:36.645401 MEMPOOL: Being asked to create mempool ops for : ring_mt_rts 2024-12-03 19:32:36.645405 MEMPOOL: Being asked to create mempool ops for : ring_mt_hts 2024-12-03 19:32:36.645412 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_bnxt.so 2024-12-03 19:32:36.645528 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_e1000.so 2024-12-03 19:32:36.645681 EAL: pmd.net.e1000.init log level changed from disabled to notice 2024-12-03 19:32:36.645762 EAL: pmd.net.e1000.driver log level changed from disabled to notice 2024-12-03 19:32:36.645835 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_bus_platform.so 2024-12-03 19:32:36.645943 EAL: Registered [platform] bus. 2024-12-03 19:32:36.645967 EAL: bus.platform log level changed from disabled to notice 2024-12-03 19:32:36.645974 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_bus_auxiliary.so.24.0 2024-12-03 19:32:36.646048 EAL: Registered [auxiliary] bus. 2024-12-03 19:32:36.646057 EAL: bus.auxiliary log level changed from disabled to notice 2024-12-03 19:32:36.646062 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_event_dsw.so.24.0 2024-12-03 19:32:36.646188 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_bus_auxiliary.so 2024-12-03 19:32:36.646204 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_nfp.so.24.0 2024-12-03 19:32:36.646367 EAL: pmd.common.nfp.common log level changed from disabled to notice 2024-12-03 19:32:36.646393 EAL: pmd.net.nfp.init log level changed from disabled to notice 2024-12-03 19:32:36.646396 EAL: pmd.net.nfp.driver log level changed from disabled to notice 2024-12-03 19:32:36.646400 EAL: pmd.net.nfp.cpp log level changed from disabled to notice 2024-12-03 19:32:36.646406 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_common_nfp.so 2024-12-03 19:32:36.646485 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_raw_ntb.so 2024-12-03 19:32:36.646605 EAL: pmd.raw.ntb log level changed from disabled to info 2024-12-03 19:32:36.646628 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_ixgbe.so.24.0 2024-12-03 19:32:36.646757 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_igc.so.24.0 2024-12-03 19:32:36.646873 EAL: pmd.net.igc.init log level changed from disabled to info 2024-12-03 19:32:36.646881 EAL: pmd.net.igc.driver log level changed from disabled to info 2024-12-03 19:32:36.646889 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_failsafe.so 2024-12-03 19:32:36.646995 EAL: pmd.net.failsafe log level changed from disabled to notice 2024-12-03 19:32:36.647002 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_cpfl.so.24.0 2024-12-03 19:32:36.647353 EAL: pmd.net.cpfl.init log level changed from disabled to notice 2024-12-03 19:32:36.647368 EAL: pmd.net.cpfl.driver log level changed from disabled to notice 2024-12-03 19:32:36.647377 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_cxgbe.so 2024-12-03 19:32:36.647549 EAL: pmd.net.cxgbe log level changed from disabled to notice 2024-12-03 19:32:36.647560 EAL: pmd.net.cxgbe.mbox log level changed from disabled to notice 2024-12-03 19:32:36.647566 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_mempool_bucket.so.24.0 2024-12-03 19:32:36.647639 MEMPOOL: Being asked to create mempool ops for : bucket 2024-12-03 19:32:36.647662 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_compress_zlib.so.24.0 2024-12-03 19:32:36.647850 EAL: lib.compressdev log level changed from disabled to notice 2024-12-03 19:32:36.647875 EAL: pmd.compress.zlib log level changed from disabled to info 2024-12-03 19:32:36.647883 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_bus_vmbus.so.24.0 2024-12-03 19:32:36.647984 EAL: Registered [vmbus] bus. 2024-12-03 19:32:36.648023 EAL: bus.vmbus log level changed from disabled to notice 2024-12-03 19:32:36.648051 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_crypto_bcmfs.so 2024-12-03 19:32:36.648165 EAL: pmd.crypto.bcmfs.config log level changed from disabled to notice 2024-12-03 19:32:36.648184 EAL: pmd.crypto.bcmfs.fp log level changed from disabled to notice 2024-12-03 19:32:36.648200 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_event_sw.so 2024-12-03 19:32:36.648352 EAL: pmd.event.sw log level changed from disabled to notice 2024-12-03 19:32:36.648365 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_iavf.so.24.0 2024-12-03 19:32:36.648592 EAL: pmd.net.iavf.init log level changed from disabled to notice 2024-12-03 19:32:36.648604 EAL: pmd.net.iavf.driver log level changed from disabled to notice 2024-12-03 19:32:36.648618 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_bond.so.24.0 2024-12-03 19:32:36.648679 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_bus_vdev.so.24.0 2024-12-03 19:32:36.648765 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_crypto_scheduler.so.24.0 2024-12-03 19:32:36.648899 EAL: pmd.crypto.scheduler log level changed from disabled to info 2024-12-03 19:32:36.648926 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_vdev_netvsc.so.24.0 2024-12-03 19:32:36.649020 EAL: pmd.net.vdev_netvsc log level changed from disabled to notice 2024-12-03 19:32:36.649058 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_vdpa_nfp.so.24.0 2024-12-03 19:32:36.649206 EAL: pmd.vdpa.nfp.core log level changed from disabled to notice 2024-12-03 19:32:36.649229 EAL: pmd.vdpa.nfp.vdpa log level changed from disabled to notice 2024-12-03 19:32:36.649239 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_vmxnet3.so 2024-12-03 19:32:36.649337 EAL: pmd.net.vmxnet3.init log level changed from disabled to notice 2024-12-03 19:32:36.649346 EAL: pmd.net.vmxnet3.driver log level changed from disabled to notice 2024-12-03 19:32:36.649350 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_common_cpt.so.24.0 2024-12-03 19:32:36.649413 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_gve.so 2024-12-03 19:32:36.649641 EAL: pmd.net.gve.driver log level changed from disabled to notice 2024-12-03 19:32:36.649656 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_txgbe.so.24.0 2024-12-03 19:32:36.649835 EAL: pmd.net.txgbe.init log level changed from disabled to notice 2024-12-03 19:32:36.649853 EAL: pmd.net.txgbe.driver log level changed from disabled to notice 2024-12-03 19:32:36.649875 EAL: pmd.net.txgbe.bp log level changed from disabled to notice 2024-12-03 19:32:36.650031 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_compress_zlib.so 2024-12-03 19:32:36.650065 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_baseband_fpga_5gnr_fec.so 2024-12-03 19:32:36.650205 EAL: lib.bbdev log level changed from disabled to notice 2024-12-03 19:32:36.650233 EAL: pmd.bb.fpga_5gnr_fec log level changed from disabled to notice 2024-12-03 19:32:36.650256 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_common_idpf.so.24.0 2024-12-03 19:32:36.650303 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_axgbe.so.24.0 2024-12-03 19:32:36.650403 EAL: pmd.net.axgbe.init log level changed from disabled to notice 2024-12-03 19:32:36.650412 EAL: pmd.net.axgbe.driver log level changed from disabled to notice 2024-12-03 19:32:36.650419 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_bond.so 2024-12-03 19:32:36.650462 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_atlantic.so 2024-12-03 19:32:36.650561 EAL: pmd.net.atlantic.init log level changed from disabled to notice 2024-12-03 19:32:36.650572 EAL: pmd.net.atlantic.driver log level changed from disabled to notice 2024-12-03 19:32:36.650595 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_pcap.so.24.0 2024-12-03 19:32:36.650757 EAL: pmd.net.pcap log level changed from disabled to notice 2024-12-03 19:32:36.650781 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_vhost.so.24.0 2024-12-03 19:32:36.650793 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_e1000.so.24.0 2024-12-03 19:32:36.650807 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_mempool_ring.so.24.0 2024-12-03 19:32:36.650838 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_dma_hisilicon.so 2024-12-03 19:32:36.650925 EAL: pmd.dma.hisilicon log level changed from disabled to info 2024-12-03 19:32:36.650947 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_qede.so.24.0 2024-12-03 19:32:36.651096 EAL: pmd.net.qede.init log level changed from disabled to notice 2024-12-03 19:32:36.651121 EAL: pmd.net.qede.driver log level changed from disabled to notice 2024-12-03 19:32:36.651130 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_enic.so 2024-12-03 19:32:36.651252 EAL: pmd.net.enic log level changed from disabled to info 2024-12-03 19:32:36.651262 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_crypto_openssl.so 2024-12-03 19:32:36.652128 EAL: pmd.crypto.openssl log level changed from disabled to info 2024-12-03 19:32:36.652166 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_bus_pci.so.24.0 2024-12-03 19:32:36.652223 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_sfc.so.24.0 2024-12-03 19:32:36.652653 EAL: pmd.common.sfc_efx log level changed from disabled to notice 2024-12-03 19:32:36.652689 EAL: pmd.net.sfc.driver log level changed from disabled to notice 2024-12-03 19:32:36.652733 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_bus_pci.so 2024-12-03 19:32:36.652749 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_softnic.so 2024-12-03 19:32:36.652762 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_crypto_scheduler.so 2024-12-03 19:32:36.652776 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_qede.so 2024-12-03 19:32:36.652788 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_event_sw.so.24.0 2024-12-03 19:32:36.652800 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_raw_skeleton.so 2024-12-03 19:32:36.652926 EAL: pmd.raw.skeleton log level changed from disabled to info 2024-12-03 19:32:36.652951 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_baseband_turbo_sw.so 2024-12-03 19:32:36.653057 EAL: pmd.bb.turbo_sw log level changed from disabled to notice 2024-12-03 19:32:36.653071 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_dma_skeleton.so 2024-12-03 19:32:36.653168 EAL: pmd.dma.skeleton log level changed from disabled to info 2024-12-03 19:32:36.653206 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_cxgbe.so.24.0 2024-12-03 19:32:36.653251 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_bus_ifpga.so 2024-12-03 19:32:36.653264 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_dma_idxd.so.24.0 2024-12-03 19:32:36.653414 EAL: Registered [dsa] bus. 2024-12-03 19:32:36.653483 EAL: pmd.dma.idxd log level changed from disabled to warning 2024-12-03 19:32:36.653506 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_crypto_ccp.so.24.0 2024-12-03 19:32:36.653690 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_vmxnet3.so.24.0 2024-12-03 19:32:36.653749 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_igc.so 2024-12-03 19:32:36.653791 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_crypto_null.so.24.0 2024-12-03 19:32:36.653928 EAL: pmd.crypto.null log level changed from disabled to info 2024-12-03 19:32:36.653951 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_dma_skeleton.so.24.0 2024-12-03 19:32:36.653969 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_tap.so 2024-12-03 19:32:36.654111 EAL: pmd.net.tap log level changed from disabled to notice 2024-12-03 19:32:36.654123 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_memif.so 2024-12-03 19:32:36.654246 EAL: pmd.net.memif log level changed from disabled to notice 2024-12-03 19:32:36.654259 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_mempool_bucket.so 2024-12-03 19:32:36.654274 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_avp.so 2024-12-03 19:32:36.654391 EAL: pmd.net.avp.driver log level changed from disabled to notice 2024-12-03 19:32:36.654419 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_raw_skeleton.so.24.0 2024-12-03 19:32:36.654629 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_baseband_fpga_lte_fec.so.24.0 2024-12-03 19:32:36.654786 EAL: pmd.bb.fpga_lte_fec log level changed from disabled to notice 2024-12-03 19:32:36.654802 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_event_skeleton.so 2024-12-03 19:32:36.654922 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_virtio.so.24.0 2024-12-03 19:32:36.655062 EAL: pmd.net.virtio.init log level changed from disabled to notice 2024-12-03 19:32:36.655080 EAL: pmd.net.virtio.driver log level changed from disabled to notice 2024-12-03 19:32:36.655122 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_ark.so.24.0 2024-12-03 19:32:36.655247 EAL: pmd.net.ark log level changed from disabled to notice 2024-12-03 19:32:36.655260 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_dma_idxd.so 2024-12-03 19:32:36.655275 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_dma_ioat.so 2024-12-03 19:32:36.655394 EAL: pmd.dma.ioat log level changed from disabled to info 2024-12-03 19:32:36.655421 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_common_qat.so 2024-12-03 19:32:36.655651 EAL: pmd.qat.general log level changed from disabled to notice 2024-12-03 19:32:36.655675 EAL: pmd.qat.dp log level changed from disabled to notice 2024-12-03 19:32:36.655698 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_bus_cdx.so.24.0 2024-12-03 19:32:36.655826 EAL: Registered [cdx] bus. 2024-12-03 19:32:36.655847 EAL: bus.cdx log level changed from disabled to notice 2024-12-03 19:32:36.655876 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_virtio.so 2024-12-03 19:32:36.655916 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_hinic.so 2024-12-03 19:32:36.656059 EAL: pmd.net.hinic log level changed from disabled to info 2024-12-03 19:32:36.656069 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_ngbe.so.24.0 2024-12-03 19:32:36.656221 EAL: pmd.net.ngbe.init log level changed from disabled to notice 2024-12-03 19:32:36.656235 EAL: pmd.net.ngbe.driver log level changed from disabled to notice 2024-12-03 19:32:36.656263 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_bnx2x.so 2024-12-03 19:32:36.656376 EAL: pmd.net.bnx2x.init log level changed from disabled to notice 2024-12-03 19:32:36.656390 EAL: pmd.net.bnx2x.driver log level changed from disabled to notice 2024-12-03 19:32:36.656396 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_hns3.so.24.0 2024-12-03 19:32:36.656559 EAL: pmd.net.hns3.init log level changed from disabled to notice 2024-12-03 19:32:36.656582 EAL: pmd.net.hns3.driver log level changed from disabled to notice 2024-12-03 19:32:36.656636 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_ena.so.24.0 2024-12-03 19:32:36.656795 EAL: pmd.net.ena.init log level changed from disabled to notice 2024-12-03 19:32:36.656806 EAL: pmd.net.ena.driver log level changed from disabled to notice 2024-12-03 19:32:36.656810 EAL: pmd.net.ena.com log level changed from disabled to warning 2024-12-03 19:32:36.656846 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_raw_ntb.so.24.0 2024-12-03 19:32:36.656875 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_ionic.so 2024-12-03 19:32:36.657033 EAL: pmd.net.ionic log level changed from disabled to notice 2024-12-03 19:32:36.657281 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_bus_vdev.so 2024-12-03 19:32:36.657302 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_common_idpf.so 2024-12-03 19:32:36.657315 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_null.so.24.0 2024-12-03 19:32:36.657523 EAL: pmd.net.null log level changed from disabled to notice 2024-12-03 19:32:36.657546 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_baseband_null.so.24.0 2024-12-03 19:32:36.657675 EAL: pmd.bb.null log level changed from disabled to notice 2024-12-03 19:32:36.657694 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_i40e.so 2024-12-03 19:32:36.657797 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_thunderx.so 2024-12-03 19:32:36.657900 EAL: pmd.net.thunderx.mbox log level changed from disabled to notice 2024-12-03 19:32:36.657924 EAL: pmd.net.thunderx.init log level changed from disabled to notice 2024-12-03 19:32:36.657958 EAL: pmd.net.thunderx.driver log level changed from disabled to notice 2024-12-03 19:32:36.657996 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_event_dsw.so 2024-12-03 19:32:36.658011 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_ring.so.24.0 2024-12-03 19:32:36.658132 EAL: pmd.net.ring log level changed from disabled to notice 2024-12-03 19:32:36.658144 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_netvsc.so 2024-12-03 19:32:36.658337 EAL: pmd.net.netvsc.init log level changed from disabled to notice 2024-12-03 19:32:36.658348 EAL: pmd.net.netvsc.driver log level changed from disabled to notice 2024-12-03 19:32:36.658356 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_iavf.so 2024-12-03 19:32:36.658411 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_event_opdl.so.24.0 2024-12-03 19:32:36.658605 EAL: pmd.event.opdl.driver log level changed from disabled to info 2024-12-03 19:32:36.658645 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_crypto_virtio.so 2024-12-03 19:32:36.658815 EAL: pmd.crypto.virtio.init log level changed from disabled to notice 2024-12-03 19:32:36.658844 EAL: pmd.crypto.virtio.session log level changed from disabled to notice 2024-12-03 19:32:36.658863 EAL: pmd.crypto.virtio.rx log level changed from disabled to notice 2024-12-03 19:32:36.658882 EAL: pmd.crypto.virtio.tx log level changed from disabled to notice 2024-12-03 19:32:36.658902 EAL: pmd.crypto.virtio.driver log level changed from disabled to notice 2024-12-03 19:32:36.658912 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_af_packet.so 2024-12-03 19:32:36.659033 EAL: pmd.net.af_packet log level changed from disabled to notice 2024-12-03 19:32:36.659289 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_common_sfc_efx.so 2024-12-03 19:32:36.659371 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_bus_platform.so.24.0 2024-12-03 19:32:36.659385 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_ark.so 2024-12-03 19:32:36.659398 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_thunderx.so.24.0 2024-12-03 19:32:36.659473 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_null.so 2024-12-03 19:32:36.659565 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_baseband_acc.so 2024-12-03 19:32:36.659736 EAL: pmd.bb.acc log level changed from disabled to notice 2024-12-03 19:32:36.659755 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_vdev_netvsc.so 2024-12-03 19:32:36.659771 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_ice.so 2024-12-03 19:32:36.659855 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_cpfl.so 2024-12-03 19:32:36.659882 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_common_qat.so.24.0 2024-12-03 19:32:36.659896 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_crypto_virtio.so.24.0 2024-12-03 19:32:36.659908 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_vdpa_ifc.so.24.0 2024-12-03 19:32:36.660048 EAL: pmd.vdpa.ifcvf log level changed from disabled to notice 2024-12-03 19:32:36.660074 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_crypto_ccp.so 2024-12-03 19:32:36.660189 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_bnxt.so.24.0 2024-12-03 19:32:36.660201 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_crypto_bcmfs.so.24.0 2024-12-03 19:32:36.660240 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_baseband_turbo_sw.so.24.0 2024-12-03 19:32:36.660272 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_baseband_la12xx.so 2024-12-03 19:32:36.660388 EAL: pmd.bb.la12xx log level changed from disabled to notice 2024-12-03 19:32:36.660413 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_hinic.so.24.0 2024-12-03 19:32:36.660428 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_crypto_openssl.so.24.0 2024-12-03 19:32:36.660495 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_atlantic.so.24.0 2024-12-03 19:32:36.660545 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_ionic.so.24.0 2024-12-03 19:32:36.660559 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_crypto_nitrox.so 2024-12-03 19:32:36.660670 EAL: pmd.crypto.nitrox log level changed from disabled to notice 2024-12-03 19:32:36.660737 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_pcap.so 2024-12-03 19:32:36.660772 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_bus_vmbus.so 2024-12-03 19:32:36.660802 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_vdpa_sfc.so.24.0 2024-12-03 19:32:36.660958 EAL: pmd.vdpa.sfc.driver log level changed from disabled to notice 2024-12-03 19:32:36.660969 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_event_dlb2.so 2024-12-03 19:32:36.661112 EAL: pmd.event.dlb2 log level changed from disabled to notice 2024-12-03 19:32:36.661140 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_common_iavf.so.24.0 2024-12-03 19:32:36.661202 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_af_packet.so.24.0 2024-12-03 19:32:36.661235 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_event_opdl.so 2024-12-03 19:32:36.661277 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_sfc.so 2024-12-03 19:32:36.661323 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_bus_cdx.so 2024-12-03 19:32:36.661356 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_baseband_null.so 2024-12-03 19:32:36.661369 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_ice.so.24.0 2024-12-03 19:32:36.661378 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_bnx2x.so.24.0 2024-12-03 19:32:36.661410 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_vdpa_ifc.so 2024-12-03 19:32:36.661424 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_netvsc.so.24.0 2024-12-03 19:32:36.661467 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_mempool_stack.so.24.0 2024-12-03 19:32:36.661610 EAL: lib.stack log level changed from disabled to notice 2024-12-03 19:32:36.661618 MEMPOOL: Being asked to create mempool ops for : stack 2024-12-03 19:32:36.661623 MEMPOOL: Being asked to create mempool ops for : lf_stack 2024-12-03 19:32:36.661629 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_enic.so.24.0 2024-12-03 19:32:36.661640 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_event_skeleton.so.24.0 2024-12-03 19:32:36.661651 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_dma_hisilicon.so.24.0 2024-12-03 19:32:36.661661 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_common_iavf.so 2024-12-03 19:32:36.661672 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_mempool_stack.so 2024-12-03 19:32:36.661684 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_common_sfc_efx.so.24.0 2024-12-03 19:32:36.661694 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_common_nfp.so.24.0 2024-12-03 19:32:36.661731 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_ena.so 2024-12-03 19:32:36.661749 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_avp.so.24.0 2024-12-03 19:32:36.661761 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_ixgbe.so 2024-12-03 19:32:36.661771 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_gve.so.24.0 2024-12-03 19:32:36.661813 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_baseband_la12xx.so.24.0 2024-12-03 19:32:36.661827 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_i40e.so.24.0 2024-12-03 19:32:36.661869 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_baseband_fpga_5gnr_fec.so.24.0 2024-12-03 19:32:36.661885 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_vdpa_sfc.so 2024-12-03 19:32:36.661898 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_dma_ioat.so.24.0 2024-12-03 19:32:36.661907 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_event_dlb2.so.24.0 2024-12-03 19:32:36.661920 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_vdpa_nfp.so 2024-12-03 19:32:36.661933 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_fm10k.so 2024-12-03 19:32:36.661944 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_ring.so 2024-12-03 19:32:36.661955 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_memif.so.24.0 2024-12-03 19:32:36.661965 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_tap.so.24.0 2024-12-03 19:32:36.661976 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_common_cpt.so 2024-12-03 19:32:36.661990 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_hns3.so 2024-12-03 19:32:36.662024 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_baseband_fpga_lte_fec.so 2024-12-03 19:32:36.662041 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_nfp.so 2024-12-03 19:32:36.662052 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_baseband_acc.so.24.0 2024-12-03 19:32:36.662064 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_ngbe.so 2024-12-03 19:32:36.662097 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_failsafe.so.24.0 2024-12-03 19:32:36.662110 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_txgbe.so 2024-12-03 19:32:36.662155 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_crypto_null.so 2024-12-03 19:32:36.662186 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_axgbe.so 2024-12-03 19:32:36.662203 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_qdma.so 2024-12-03 19:32:36.662212 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_crypto_nitrox.so.24.0 2024-12-03 19:32:36.663930 EAL: Ask a virtual area of 0x7000 bytes 2024-12-03 19:32:36.663962 EAL: Virtual area found at 0x100000000 (size = 0x7000) 2024-12-03 19:32:36.665115 EAL: Multi-process socket /var/run/dpdk/rte/mp_socket 2024-12-03 19:32:36.665395 EAL: Bus vdev wants IOVA as 'DC' 2024-12-03 19:32:36.665417 EAL: Bus pci wants IOVA as 'DC' 2024-12-03 19:32:36.665504 EAL: Bus platform wants IOVA as 'DC' 2024-12-03 19:32:36.665513 EAL: Bus auxiliary wants IOVA as 'DC' 2024-12-03 19:32:36.665548 EAL: Bus dsa wants IOVA as 'DC' 2024-12-03 19:32:36.665580 EAL: Bus cdx wants IOVA as 'DC' 2024-12-03 19:32:36.665587 EAL: Buses did not request a specific IOVA mode. 2024-12-03 19:32:36.665591 EAL: Physical addresses are unavailable, selecting IOVA as VA mode. 2024-12-03 19:32:36.665594 EAL: Selected IOVA mode 'VA' 2024-12-03 19:32:36.666526 EAL: Probing VFIO support... 2024-12-03 19:32:36.666623 EAL: IOMMU type 1 (Type 1) is supported 2024-12-03 19:32:36.666647 EAL: IOMMU type 7 (sPAPR) is not supported 2024-12-03 19:32:36.666667 EAL: IOMMU type 8 (No-IOMMU) is not supported 2024-12-03 19:32:36.666694 EAL: VFIO support initialized 2024-12-03 19:32:36.666732 EAL: Ask a virtual area of 0x2d2000 bytes 2024-12-03 19:32:36.666744 EAL: Virtual area found at 0x100007000 (size = 0x2d2000) 2024-12-03 19:32:36.667924 EAL: Setting up physically contiguous memory... 2024-12-03 19:32:36.667979 EAL: Setting maximum number of open files to 4096 2024-12-03 19:32:36.667999 EAL: Ask a virtual area of 0x301d000 bytes 2024-12-03 19:32:36.668047 EAL: Virtual area found at 0x1002d9000 (size = 0x301d000) 2024-12-03 19:32:36.701033 EAL: Memseg list allocated at socket 0, page size 0x4kB 2024-12-03 19:32:36.701147 EAL: Using memfd for anonymous memory 2024-12-03 19:32:36.701195 EAL: Ask a virtual area of 0xfff00000 bytes 2024-12-03 19:32:36.701215 EAL: Virtual area found at 0x1032f6000 (size = 0xfff00000) 2024-12-03 19:32:36.701229 EAL: VA reserved for memseg list at 0x1032f6000, size fff00000 2024-12-03 19:32:36.724176 EAL: Added 4095M to heap on socket 0 2024-12-03 19:32:37.224865 EAL: TSC frequency is ~13950000 KHz 2024-12-03 19:32:37.225030 EAL: Main lcore 0 is ready (tid=7ffad98fb900;cpuset=[0]) 2024-12-03 19:32:37.225395 EAL: lcore 1 is ready (tid=7ffad76bb640;cpuset=[1]) 2024-12-03 19:32:37.225504 EAL: lcore 2 is ready (tid=7ffad6eba640;cpuset=[2]) 2024-12-03 19:32:37.225553 EAL: lcore 3 is ready (tid=7ffad66b9640;cpuset=[3]) 2024-12-03 19:32:37.226427 TELEMETRY: No legacy callbacks, legacy socket not created 2024-12-03 19:32:37.229113 testpmd: No probed ethernet devices Interactive-mode selected Thanks, alipourm@ciena.com [-- Attachment #2: Type: text/html, Size: 67571 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: rte_mempool_create fails with --no-huge 2024-12-03 19:54 rte_mempool_create fails with --no-huge Alipour, Mehrdad @ 2024-12-04 20:51 ` Dmitry Kozlyuk 2024-12-04 23:05 ` [**EXTERNAL**] " Alipour, Mehrdad 0 siblings, 1 reply; 6+ messages in thread From: Dmitry Kozlyuk @ 2024-12-04 20:51 UTC (permalink / raw) To: Alipour, Mehrdad; +Cc: dev Hi Alipour, It looks suspicious that on the host you don't see logs about loaded drivers, like these ones that you see inside the VM: > 2024-12-03 19:32:36.642042 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_fm10k.so.24.0 > 2024-12-03 19:32:36.642266 EAL: pmd.net.fm10k.init log level changed from disabled to notice > 2024-12-03 19:32:36.642279 EAL: pmd.net.fm10k.driver log level changed from disabled to notice > 2024-12-03 19:32:36.642285 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_qdma.so.24.0 > 2024-12-03 19:32:36.642581 EAL: open shared lib /usr/lib/dpdk/pmds-24.0/librte_net_vhost.so > 2024-12-03 19:32:36.643201 EAL: lib.dmadev log level changed from disabled to info > 2024-12-03 19:32:36.643264 EAL: Registered [vdpa] device class. Can it be that DPDK on the host does not see shared libraries, e.g. it is not installed in the system and LD_LIBRARY_PATH is not set to shared library location? Then mempool driver would just not be loaded to create a mempool. ^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [**EXTERNAL**] Re: rte_mempool_create fails with --no-huge 2024-12-04 20:51 ` Dmitry Kozlyuk @ 2024-12-04 23:05 ` Alipour, Mehrdad 2024-12-05 8:30 ` David Marchand 0 siblings, 1 reply; 6+ messages in thread From: Alipour, Mehrdad @ 2024-12-04 23:05 UTC (permalink / raw) To: Dmitry Kozlyuk; +Cc: dev Hi Dmitry, Your observation is good! But I have the /usr/lib/dpdk/pmds-24.0 in the LD_LIBRARY_PATH but since the host does not have a match glibc, I have to run it with ld-linux-x86-64.so.2 specifying LD_LIBRARY_PATH with equivalent --library-path. Here is the entire cmd I use to run testpmd: sudo /lib/ld-linux-x86-64.so.2 --library-path /lib:/usr/lib:/usr/lib/dpdk:/usr/lib/dpdk/pmds-24.0:/ciena/lib /usr/bin/dpdk-testpmd -c 000F -n 2 --log-level=eal,8 --no-huge -m 4095 --no-pci -- -i --nb-cores=2 --total-num-mbufs=2048 Despite the /lib/dpdk/pmds-24.0 libs being visible, the rte_eal_init does not load any of these shared libs while it does when I run it inside the VM. Would appreciate if you can think of any reasons rte_eal_init does not trigger loading those shared libs in the host run instance. Regards, Mehrdad -----Original Message----- From: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com> Sent: December 4, 2024 3:51 PM To: Alipour, Mehrdad <malipour@ciena.com> Cc: dev@dpdk.org Subject: [**EXTERNAL**] Re: rte_mempool_create fails with --no-huge Hi Alipour, It looks suspicious that on the host you don't see logs about loaded drivers, like these ones that you see inside the VM: > 2024-12-03 19:32:36.642042 EAL: open shared lib > /usr/lib/dpdk/pmds-24.0/librte_net_fm10k.so.24.0 > 2024-12-03 19:32:36.642266 EAL: pmd.net.fm10k.init log level changed > from disabled to notice > 2024-12-03 19:32:36.642279 EAL: pmd.net.fm10k.driver log level > changed from disabled to notice > 2024-12-03 19:32:36.642285 EAL: open shared lib > /usr/lib/dpdk/pmds-24.0/librte_net_qdma.so.24.0 > 2024-12-03 19:32:36.642581 EAL: open shared lib > /usr/lib/dpdk/pmds-24.0/librte_net_vhost.so > 2024-12-03 19:32:36.643201 EAL: lib.dmadev log level changed from > disabled to info > 2024-12-03 19:32:36.643264 EAL: Registered [vdpa] device class. Can it be that DPDK on the host does not see shared libraries, e.g. it is not installed in the system and LD_LIBRARY_PATH is not set to shared library location? Then mempool driver would just not be loaded to create a mempool. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [**EXTERNAL**] Re: rte_mempool_create fails with --no-huge 2024-12-04 23:05 ` [**EXTERNAL**] " Alipour, Mehrdad @ 2024-12-05 8:30 ` David Marchand 2024-12-05 21:28 ` Alipour, Mehrdad 0 siblings, 1 reply; 6+ messages in thread From: David Marchand @ 2024-12-05 8:30 UTC (permalink / raw) To: Alipour, Mehrdad; +Cc: Dmitry Kozlyuk, dev Hello, On Thu, Dec 5, 2024 at 12:05 AM Alipour, Mehrdad <malipour@ciena.com> wrote: > > Hi Dmitry, > > Your observation is good! > But I have the /usr/lib/dpdk/pmds-24.0 in the LD_LIBRARY_PATH but since the host does not have a match glibc, I have to run it with ld-linux-x86-64.so.2 specifying LD_LIBRARY_PATH with equivalent --library-path. "the host does not have a match glibc" Could you clarify? > > Here is the entire cmd I use to run testpmd: > > sudo /lib/ld-linux-x86-64.so.2 --library-path /lib:/usr/lib:/usr/lib/dpdk:/usr/lib/dpdk/pmds-24.0:/ciena/lib /usr/bin/dpdk-testpmd -c 000F -n 2 --log-level=eal,8 --no-huge -m 4095 --no-pci -- -i --nb-cores=2 --total-num-mbufs=2048 > > Despite the /lib/dpdk/pmds-24.0 libs being visible, the rte_eal_init does not load any of these shared libs while it does when I run it inside the VM. /lib ? or /usr/lib ? Do you have a symlink between those directories? Please make sure those paths you listed above do contain DPDK drivers. > Would appreciate if you can think of any reasons rte_eal_init does not trigger loading those shared libs in the host run instance. About the drivers discovery mechanism: by default, dpdk looks for drivers in the RTE_EAL_PMD_PATH directory (this path is constructed in config/meson.build). You can find the value in your build env: $ grep RTE_EAL_PMD_PATH build-mini/rte_build_config.h #define RTE_EAL_PMD_PATH "/usr/local/lib64/dpdk/pmds-25.1" This driver "discovery" is done regardless of the value of LD_LIBRARY_PATH. But still, (and this could be a bit confusing), loading a driver requires that the LD_LIBRARY_PATH gives access to other DPDK shared libraries. A quick check for you, you can try to strace the dpdk process (with strace -f -e trace=file). This is a bit verbose, but here is an example with a mini build of mine. In my case, DPDK is not installed, so I had to set a -d option, but if you installed DPDK on the host, no need for this option. $ LD_LIBRARY_PATH=build-mini/lib strace -f -e trace=file build-mini/app/dpdk-testpmd -c 3 --no-huge -m 40 -d build-mini/drivers -a 0:0.0 --vdev net_null1 --vdev net_null2 --log-level=lib.eal:debug -- --no-mlockall --total-num-mbufs=2048 -ia ... EAL: Detected shared linkage of DPDK newfstatat(AT_FDCWD, "/usr/local/lib64/dpdk/pmds-25.1", 0x7fff01e70590, 0) = -1 ENOENT (No such file or directory) ^^ DPDK tries the default path, first. newfstatat(AT_FDCWD, "build-mini/drivers", {st_mode=S_IFDIR|0755, st_size=8192, ...}, 0) = 0 ^^ Then it tries the path I passed via the -d option. openat(AT_FDCWD, "build-mini/drivers", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0755, st_size=8192, ...}, AT_EMPTY_PATH) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_bus_pci.so", {st_mode=S_IFREG|0755, st_size=227744, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_bus_vdev.so", {st_mode=S_IFREG|0755, st_size=62728, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_net_vhost.so", {st_mode=S_IFREG|0755, st_size=217048, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_bus_pci.so.25.1", {st_mode=S_IFREG|0755, st_size=227744, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_net_null.so.25.1", {st_mode=S_IFREG|0755, st_size=378448, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_bus_platform.so.25.1", {st_mode=S_IFREG|0755, st_size=60888, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_bus_platform.so", {st_mode=S_IFREG|0755, st_size=60888, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_net_null.so", {st_mode=S_IFREG|0755, st_size=378448, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_net_virtio.so", {st_mode=S_IFREG|0755, st_size=1268888, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_mempool_ring.so", {st_mode=S_IFREG|0755, st_size=75880, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_bus_vdev.so.25.1", {st_mode=S_IFREG|0755, st_size=62728, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_mempool_ring.so.25.1", {st_mode=S_IFREG|0755, st_size=75880, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_net_vhost.so.25.1", {st_mode=S_IFREG|0755, st_size=217048, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_net_virtio.so.25.1", {st_mode=S_IFREG|0755, st_size=1268888, ...}, 0) = 0 ^^ And it listed all those drivers accordingly. ... Now that the driver listing is done, DPDK loads each driver, example with the first .so: ... newfstatat(AT_FDCWD, "build-mini/drivers/librte_bus_pci.so", {st_mode=S_IFREG|0755, st_size=227744, ...}, 0) = 0 EAL: open shared lib build-mini/drivers/librte_bus_pci.so getcwd("/home/dmarchan/git/pub/dpdk.org/main", 1024) = 37 readlink("/home/dmarchan/git/pub/dpdk.org/main/build-mini", 0x7fff01e70140, 1023) = -1 EINVAL (Invalid argument) readlink("/home/dmarchan/git/pub/dpdk.org/main/build-mini/drivers", 0x7fff01e70140, 1023) = -1 EINVAL (Invalid argument) readlink("/home/dmarchan/git/pub/dpdk.org/main/build-mini/drivers/librte_bus_pci.so", "librte_bus_pci.so.25", 1023) = 20 readlink("/home/dmarchan/git/pub/dpdk.org/main/build-mini/drivers/librte_bus_pci.so.25", "librte_bus_pci.so.25.1", 1023) = 22 readlink("/home/dmarchan/git/pub/dpdk.org/main/build-mini/drivers/librte_bus_pci.so.25.1", 0x7fff01e70140, 1023) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "/", {st_mode=S_IFDIR|0555, st_size=235, ...}, 0) = 0 newfstatat(AT_FDCWD, "/home", {st_mode=S_IFDIR|0755, st_size=59, ...}, 0) = 0 newfstatat(AT_FDCWD, "/home/dmarchan", {st_mode=S_IFDIR|0711, st_size=12288, ...}, 0) = 0 newfstatat(AT_FDCWD, "/home/dmarchan/git", {st_mode=S_IFDIR|0775, st_size=27, ...}, 0) = 0 newfstatat(AT_FDCWD, "/home/dmarchan/git/pub", {st_mode=S_IFDIR|0775, st_size=4096, ...}, 0) = 0 newfstatat(AT_FDCWD, "/home/dmarchan/git/pub/dpdk.org", {st_mode=S_IFDIR|0775, st_size=4096, ...}, 0) = 0 newfstatat(AT_FDCWD, "/home/dmarchan/git/pub/dpdk.org/main", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 newfstatat(AT_FDCWD, "/home/dmarchan/git/pub/dpdk.org/main/build-mini", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 newfstatat(AT_FDCWD, "/home/dmarchan/git/pub/dpdk.org/main/build-mini/drivers", {st_mode=S_IFDIR|0755, st_size=8192, ...}, 0) = 0 newfstatat(AT_FDCWD, "/home/dmarchan/git/pub/dpdk.org/main/build-mini/drivers/librte_bus_pci.so.25.1", {st_mode=S_IFREG|0755, st_size=227744, ...}, 0) = 0 openat(AT_FDCWD, "/home/dmarchan/git/pub/dpdk.org/main/build-mini/drivers/librte_bus_pci.so.25.1", O_RDONLY|O_CLOEXEC) = 3 newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=227744, ...}, AT_EMPTY_PATH) = 0 openat(AT_FDCWD, "build-mini/lib/glibc-hwcaps/x86-64-v4/librte_pci.so.25", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "build-mini/lib/glibc-hwcaps/x86-64-v3/librte_pci.so.25", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "build-mini/lib/glibc-hwcaps/x86-64-v2/librte_pci.so.25", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "build-mini/lib/librte_pci.so.25", O_RDONLY|O_CLOEXEC) = 3 newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=23224, ...}, AT_EMPTY_PATH) = 0 getcwd("/home/dmarchan/git/pub/dpdk.org/main", 128) = 37 EAL: Registered [pci] bus. EAL: bus.pci log level changed from disabled to notice ... Hope it helps. -- David Marchand ^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [**EXTERNAL**] Re: rte_mempool_create fails with --no-huge 2024-12-05 8:30 ` David Marchand @ 2024-12-05 21:28 ` Alipour, Mehrdad 2024-12-06 7:38 ` David Marchand 0 siblings, 1 reply; 6+ messages in thread From: Alipour, Mehrdad @ 2024-12-05 21:28 UTC (permalink / raw) To: David Marchand, Dmitry Kozlyuk; +Cc: dev Hello David/Dmitry, After adding -d <path_of_drivers>, I can now see all the pmd shared libs loading fine and rte_mempool_create works with --no-huge. Thanks a lot for your support! Regards, Mehrdad -----Original Message----- From: David Marchand <david.marchand@redhat.com> Sent: December 5, 2024 3:30 AM To: Alipour, Mehrdad <malipour@ciena.com> Cc: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>; dev@dpdk.org Subject: Re: [**EXTERNAL**] Re: rte_mempool_create fails with --no-huge Hello, On Thu, Dec 5, 2024 at 12:05 AM Alipour, Mehrdad <malipour@ciena.com> wrote: > > Hi Dmitry, > > Your observation is good! > But I have the /usr/lib/dpdk/pmds-24.0 in the LD_LIBRARY_PATH but since the host does not have a match glibc, I have to run it with ld-linux-x86-64.so.2 specifying LD_LIBRARY_PATH with equivalent --library-path. "the host does not have a match glibc" Could you clarify? > > Here is the entire cmd I use to run testpmd: > > sudo /lib/ld-linux-x86-64.so.2 --library-path > /lib:/usr/lib:/usr/lib/dpdk:/usr/lib/dpdk/pmds-24.0:/ciena/lib > /usr/bin/dpdk-testpmd -c 000F -n 2 --log-level=eal,8 --no-huge -m 4095 > --no-pci -- -i --nb-cores=2 --total-num-mbufs=2048 > > Despite the /lib/dpdk/pmds-24.0 libs being visible, the rte_eal_init does not load any of these shared libs while it does when I run it inside the VM. /lib ? or /usr/lib ? Do you have a symlink between those directories? Please make sure those paths you listed above do contain DPDK drivers. > Would appreciate if you can think of any reasons rte_eal_init does not trigger loading those shared libs in the host run instance. About the drivers discovery mechanism: by default, dpdk looks for drivers in the RTE_EAL_PMD_PATH directory (this path is constructed in config/meson.build). You can find the value in your build env: $ grep RTE_EAL_PMD_PATH build-mini/rte_build_config.h #define RTE_EAL_PMD_PATH "/usr/local/lib64/dpdk/pmds-25.1" This driver "discovery" is done regardless of the value of LD_LIBRARY_PATH. But still, (and this could be a bit confusing), loading a driver requires that the LD_LIBRARY_PATH gives access to other DPDK shared libraries. A quick check for you, you can try to strace the dpdk process (with strace -f -e trace=file). This is a bit verbose, but here is an example with a mini build of mine. In my case, DPDK is not installed, so I had to set a -d option, but if you installed DPDK on the host, no need for this option. $ LD_LIBRARY_PATH=build-mini/lib strace -f -e trace=file build-mini/app/dpdk-testpmd -c 3 --no-huge -m 40 -d build-mini/drivers -a 0:0.0 --vdev net_null1 --vdev net_null2 --log-level=lib.eal:debug -- --no-mlockall --total-num-mbufs=2048 -ia ... EAL: Detected shared linkage of DPDK newfstatat(AT_FDCWD, "/usr/local/lib64/dpdk/pmds-25.1", 0x7fff01e70590, 0) = -1 ENOENT (No such file or directory) ^^ DPDK tries the default path, first. newfstatat(AT_FDCWD, "build-mini/drivers", {st_mode=S_IFDIR|0755, st_size=8192, ...}, 0) = 0 ^^ Then it tries the path I passed via the -d option. openat(AT_FDCWD, "build-mini/drivers", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0755, st_size=8192, ...}, AT_EMPTY_PATH) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_bus_pci.so", {st_mode=S_IFREG|0755, st_size=227744, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_bus_vdev.so", {st_mode=S_IFREG|0755, st_size=62728, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_net_vhost.so", {st_mode=S_IFREG|0755, st_size=217048, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_bus_pci.so.25.1", {st_mode=S_IFREG|0755, st_size=227744, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_net_null.so.25.1", {st_mode=S_IFREG|0755, st_size=378448, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_bus_platform.so.25.1", {st_mode=S_IFREG|0755, st_size=60888, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_bus_platform.so", {st_mode=S_IFREG|0755, st_size=60888, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_net_null.so", {st_mode=S_IFREG|0755, st_size=378448, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_net_virtio.so", {st_mode=S_IFREG|0755, st_size=1268888, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_mempool_ring.so", {st_mode=S_IFREG|0755, st_size=75880, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_bus_vdev.so.25.1", {st_mode=S_IFREG|0755, st_size=62728, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_mempool_ring.so.25.1", {st_mode=S_IFREG|0755, st_size=75880, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_net_vhost.so.25.1", {st_mode=S_IFREG|0755, st_size=217048, ...}, 0) = 0 newfstatat(AT_FDCWD, "build-mini/drivers/librte_net_virtio.so.25.1", {st_mode=S_IFREG|0755, st_size=1268888, ...}, 0) = 0 ^^ And it listed all those drivers accordingly. ... Now that the driver listing is done, DPDK loads each driver, example with the first .so: ... newfstatat(AT_FDCWD, "build-mini/drivers/librte_bus_pci.so", {st_mode=S_IFREG|0755, st_size=227744, ...}, 0) = 0 EAL: open shared lib build-mini/drivers/librte_bus_pci.so getcwd("/home/dmarchan/git/pub/dpdk.org/main", 1024) = 37 readlink("/home/dmarchan/git/pub/dpdk.org/main/build-mini", 0x7fff01e70140, 1023) = -1 EINVAL (Invalid argument) readlink("/home/dmarchan/git/pub/dpdk.org/main/build-mini/drivers", 0x7fff01e70140, 1023) = -1 EINVAL (Invalid argument) readlink("/home/dmarchan/git/pub/dpdk.org/main/build-mini/drivers/librte_bus_pci.so", "librte_bus_pci.so.25", 1023) = 20 readlink("/home/dmarchan/git/pub/dpdk.org/main/build-mini/drivers/librte_bus_pci.so.25", "librte_bus_pci.so.25.1", 1023) = 22 readlink("/home/dmarchan/git/pub/dpdk.org/main/build-mini/drivers/librte_bus_pci.so.25.1", 0x7fff01e70140, 1023) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "/", {st_mode=S_IFDIR|0555, st_size=235, ...}, 0) = 0 newfstatat(AT_FDCWD, "/home", {st_mode=S_IFDIR|0755, st_size=59, ...}, 0) = 0 newfstatat(AT_FDCWD, "/home/dmarchan", {st_mode=S_IFDIR|0711, st_size=12288, ...}, 0) = 0 newfstatat(AT_FDCWD, "/home/dmarchan/git", {st_mode=S_IFDIR|0775, st_size=27, ...}, 0) = 0 newfstatat(AT_FDCWD, "/home/dmarchan/git/pub", {st_mode=S_IFDIR|0775, st_size=4096, ...}, 0) = 0 newfstatat(AT_FDCWD, "/home/dmarchan/git/pub/dpdk.org", {st_mode=S_IFDIR|0775, st_size=4096, ...}, 0) = 0 newfstatat(AT_FDCWD, "/home/dmarchan/git/pub/dpdk.org/main", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 newfstatat(AT_FDCWD, "/home/dmarchan/git/pub/dpdk.org/main/build-mini", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 newfstatat(AT_FDCWD, "/home/dmarchan/git/pub/dpdk.org/main/build-mini/drivers", {st_mode=S_IFDIR|0755, st_size=8192, ...}, 0) = 0 newfstatat(AT_FDCWD, "/home/dmarchan/git/pub/dpdk.org/main/build-mini/drivers/librte_bus_pci.so.25.1", {st_mode=S_IFREG|0755, st_size=227744, ...}, 0) = 0 openat(AT_FDCWD, "/home/dmarchan/git/pub/dpdk.org/main/build-mini/drivers/librte_bus_pci.so.25.1", O_RDONLY|O_CLOEXEC) = 3 newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=227744, ...}, AT_EMPTY_PATH) = 0 openat(AT_FDCWD, "build-mini/lib/glibc-hwcaps/x86-64-v4/librte_pci.so.25", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "build-mini/lib/glibc-hwcaps/x86-64-v3/librte_pci.so.25", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "build-mini/lib/glibc-hwcaps/x86-64-v2/librte_pci.so.25", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "build-mini/lib/librte_pci.so.25", O_RDONLY|O_CLOEXEC) = 3 newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=23224, ...}, AT_EMPTY_PATH) = 0 getcwd("/home/dmarchan/git/pub/dpdk.org/main", 128) = 37 EAL: Registered [pci] bus. EAL: bus.pci log level changed from disabled to notice ... Hope it helps. -- David Marchand ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [**EXTERNAL**] Re: rte_mempool_create fails with --no-huge 2024-12-05 21:28 ` Alipour, Mehrdad @ 2024-12-06 7:38 ` David Marchand 0 siblings, 0 replies; 6+ messages in thread From: David Marchand @ 2024-12-06 7:38 UTC (permalink / raw) To: Alipour, Mehrdad; +Cc: Dmitry Kozlyuk, dev On Thu, Dec 5, 2024 at 10:28 PM Alipour, Mehrdad <malipour@ciena.com> wrote: > > Hello David/Dmitry, > > After adding -d <path_of_drivers>, I can now see all the pmd shared libs loading fine and rte_mempool_create works with --no-huge. Adding -d should be unneeded with a properly installed DPDK. You should double check what I mentionned (esp. RTE_EAL_PMD_PATH must match the pmd install path on your host). -- David Marchand ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-12-06 7:38 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2024-12-03 19:54 rte_mempool_create fails with --no-huge Alipour, Mehrdad 2024-12-04 20:51 ` Dmitry Kozlyuk 2024-12-04 23:05 ` [**EXTERNAL**] " Alipour, Mehrdad 2024-12-05 8:30 ` David Marchand 2024-12-05 21:28 ` Alipour, Mehrdad 2024-12-06 7:38 ` David Marchand
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).