Bug 1917215 - [dpdk20.11] dpdk-testpmd encoutered "EAL: Error disabling MSI-X interrupts for fd 538" and stucked
Summary: [dpdk20.11] dpdk-testpmd encoutered "EAL: Error disabling MSI-X interrupts fo...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: DPDK
Version: RHEL 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Flavio Leitner
QA Contact: liting
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-18 03:43 UTC by Jiying Qiu
Modified: 2023-07-13 07:25 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-1031 0 None None None 2021-09-09 16:23:51 UTC

Description Jiying Qiu 2021-01-18 03:43:06 UTC
Description of problem:
After output "EAL: Error disabling MSI-X interrupts for fd 538" ,dpdk-testpmd stucked . 

Version-Release number of selected component (if applicable):
dpdk-20.11-1.el8fdb.3.x86_64

How reproducible:
always

Steps to Reproduce:
1. start a guest with command:
        virt-install \
                 --name g1 \
                 --machine q35 \
                 --qemu-commandline='-M q35,kernel-irqchip=split -device intel-iommu,device-iotlb=on,intremap=on,caching-mode=true' \
                 --vcpus=5 \
                 --ram=8192 \
                 --disk path=/var/lib/libvirt/images/g1.qcow2,device=disk,bus=virtio,format=qcow2 \
                 --network bridge=ovsbr0,mac="00:de:ad:01:01:08",model=virtio,virtualport_type=openvswitch,address.type=pci,address.domain=0x0000,address.bus=0x0,address.slot=0x7,address.function=0x0 \
                 --network bridge=ovsbr0,mac="00:de:ad:01:01:09",model=virtio,virtualport_type=openvswitch,address.type=pci,address.domain=0x0000,address.bus=0x0,address.slot=0x8,address.function=0x0 \
                 --network bridge=virbr0,model=virtio \
                 --boot hd \
                 --accelerate \
                 --force \
                 --graphics none \
                 --os-type=linux \
                 --noautoconsole

2. install dpdk-20.11-1.el8fdb.3.x86_64 and driverctl ,bind nic to dpdk, setup hugepage
# cat /proc/cmdline 
BOOT_IMAGE=(hd0,msdos1)/vmlinuz-4.18.0-232.el8.x86_64 root=UUID=59af1883-6ac7-4674-a1cf-2eca1d93c125 ro rhgb quiet crashkernel=auto resume=UUID=e4c6e9dc-106d-4f5a-b986-f093f9673bbc console=ttyS0,115200 nohz=on nohz_full=1-8 rcu_nocbs=1-8 tuned.non_isolcpus=00000001 intel_pstate=disable nosoftlockup intel_iommu=on default_hugepagesz=2M hugepagesz=2M hugepages=800

# cat /proc/meminfo |grep -i huge
AnonHugePages:     10240 kB
ShmemHugePages:        0 kB
HugePages_Total:    2048
HugePages_Free:     1536
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:         4194304 kB

# driverctl -v list-devices | grep vfio-pci
0000:00:07.0 vfio-pci [*] (Virtio network device)
0000:00:08.0 vfio-pci [*] (Virtio network device)

3. start dpdk-testpmd with command:
dpdk-testpmd -l 0,1,2 -w 0000:00:07.0 -w 0000:00:08.0  -n4 --socket-mem 1024 -- --burst=64 -i --nb-cores=2 --rxq=1 --txq=1

Actual results:
EAL: Detected 5 lcore(s)
EAL: Detected 1 NUMA nodes
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   Invalid NUMA socket, default to 0
EAL: Probe PCI driver: net_virtio (1af4:1000) device: 0000:00:07.0 (socket 0)
EAL:   using IOMMU type 1 (Type 1)
EAL: Ignore mapping IO port bar(0)
EAL:   Invalid NUMA socket, default to 0
EAL: Probe PCI driver: net_virtio (1af4:1000) device: 0000:00:08.0 (socket 0)
EAL: Ignore mapping IO port bar(0)
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=163456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 0)
EAL: Error disabling MSI-X interrupts for fd 538

the software stucked.

Expected results:dpdk-testpmd start success

Additional info:


Note You need to log in before you can comment on or make changes to this bug.