Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.

Bug 1917215

Summary: [dpdk20.11] dpdk-testpmd encoutered "EAL: Error disabling MSI-X interrupts for fd 538" and stucked
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Jiying Qiu <jiqiu>
Component: DPDKAssignee: Flavio Leitner <fleitner>
DPDK sub component: other QA Contact: liting <tli>
Status: CLOSED EOL Docs Contact:
Severity: unspecified    
Priority: unspecified CC: ctrautma, jhsiao, ktraynor, yama
Version: RHEL 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-10-08 17:49:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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:

Comment 2 ovs-bot 2024-10-08 17:49:14 UTC
This bug did not meet the criteria for automatic migration and is being closed.
If the issue remains, please open a new ticket in https://issues.redhat.com/browse/FDP