https://bugs.dpdk.org/show_bug.cgi?id=1128

            Bug ID: 1128
           Summary: [dpdk22.11-rc3]failed to start testpmd with the
                    mbuf-size parameter
           Product: DPDK
           Version: 22.11
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: dev@dpdk.org
          Reporter: yingyax....@intel.com
  Target Milestone: ---

[Test Setup]
Steps to reproduce
List the steps to reproduce the issue.

1. Use the following command to build DPDK: 
CC=gcc meson -Denable_kmods=True -Dlibdir=lib --default-library=static
x86_64-native-linuxapp-gcc/ 
ninja -C x86_64-native-linuxapp-gcc/ 

2. bind ports to vfio-pci
 ./usertools/dpdk-devbind.py -b vfio-pci 17:00.0 4b:00.0 

3.start testpmd
./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 5,6 -n 8
--force-max-simd-bitwidth=64 -- -i --portmask=0x3 --rxq=1 --txq=1 --txd=1024
--rxd=1024 --nb-cores=1 --mbuf-size=2048,2048
EAL: Detected CPU lcores: 128
EAL: Detected NUMA nodes: 2
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: VFIO support initialized
EAL: Using IOMMU type 1 (Type 1)
EAL: Ignore mapping IO port bar(1)
EAL: Ignore mapping IO port bar(4)
EAL: Probe PCI driver: net_ice (8086:1592) device: 0000:31:00.0 (socket 0)
ice_load_pkg_type(): Active package is: 1.3.30.0, ICE OS Default Package
(single VLAN mode)
EAL: Ignore mapping IO port bar(1)
EAL: Ignore mapping IO port bar(4)
EAL: Probe PCI driver: net_ice (8086:1592) device: 0000:4b:00.0 (socket 0)
ice_load_pkg_type(): Active package is: 1.3.30.0, ICE OS Default Package
(single VLAN mode)
TELEMETRY: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2048, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_0_1>: n=155456, size=2048, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 0)
Too many Rx mempools 2 vs maximum 0
Fail to configure port 0 rx queues
EAL: Error - exiting with code: 1
  Cause: Start ports failed
Segmentation fault (core dumped)


4.DPDK bad commit.
commit 4f04edcda769770881832f8036fd209e7bb6ab9a
Author: Hanumanth Pothula <hpoth...@marvell.com>
Date:   Thu Nov 10 15:46:31 2022 +0530
   app/testpmd: support multiple mbuf pools per Rx queue

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to