https://bugs.dpdk.org/show_bug.cgi?id=1387 Bug ID: 1387 Summary: [dpdk24.03] cbdma: Failed to launch dpdk-dma app Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: examples Assignee: dev@dpdk.org Reporter: yux.jiang@intel.com Target Milestone: --- [Environment] DPDK version: 92c0ad70ca (HEAD -> main, tag: v24.03-rc1, origin/main, origin/HEAD) version: 24.03-rc1 Other software versions: name/version for QEMU, OVS, etc. Repeat as required. OS: Ubuntu 22.04.3 LTS/5.15.0-92-generic Compiler: gcc version 11.4.0 Hardware platform: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz NIC hardware: Ethernet Controller E810-C for QSFP 1592 NIC firmware: driver: ice version: 1.13.7 firmware-version: 4.40 0x8001c967 1.3534.0 [Test Setup] Steps to reproduce List the steps to reproduce the issue. 1, Build app rm -rf x86_64-native-linuxapp-gcc CC=gcc meson -Denable_kmods=True -Dlibdir=lib --default-library=static x86_64-native-linuxapp-gcc ninja -C x86_64-native-linuxapp-gcc -j 100 meson configure -Dexamples=dma x86_64-native-linuxapp-gcc ninja -C x86_64-native-linuxapp-gcc ls x86_64-native-linuxapp-gcc/examples/dpdk-dma 2, Bind nic and dma to vfio-pci ./usertools/dpdk-devbind.py --force --bind=vfio-pci 0000:4b:00.0 0000:00:01.0 3, Launch app x86_64-native-linuxapp-gcc/examples/dpdk-dma -l 5-6 -n 8 -a 0000:4b:00.0 -a 0000:00:01.0 --file-prefix=cbdma_690149_20240219131328 --proc-type=primary -- -p 0x1 -q 1 --mac-updating -c hw Show the output from the previous commands: x86_64-native-linuxapp-gcc/examples/dpdk-dma -l 5-6 -n 8 -a 0000:4b:00.0 -a 0000:00:01.0 --file-prefix=cbdma_690149_20240219131328 --proc-type=primary -- -p 0x1 -q 1 --mac-updating -c hw Exception happened in [x86_64-native-linuxapp-gcc/examples/dpdk-dma -l 5-6 -n 8 -a 0000:4b:00.0 -a 0000:00:01.0 --file-prefix=cbdma_690149_20240219131328 --proc-type=primary -- -p 0x1 -q 1 --mac-updating -c hw] and output is [EAL: Detected CPU lcores: 80 EAL: Detected NUMA nodes: 2 EAL: Detected static linkage of DPDK EAL: Multi-process socket /var/run/dpdk/cbdma_690149_20240219131328/mp_socket EAL: Selected IOVA mode 'VA' EAL: 4096 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size EAL: VFIO support initialized EAL: Using IOMMU type 1 (Type 1) EAL: Ignore mapping IO port bar(1) EAL: Probe PCI driver: dmadev_ioat (8086:0b00) device: 0000:00:01.0 (socket 0) IOAT: ioat_dmadev_probe(): Init 0000:00:01.0 on NUMA node 0 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.36.0, ICE OS Default Package (double VLAN mode) Invalid max frame size, 0. EAL: Error - exiting with code: 1 Cause: Invalid DMA arguments IOAT: ioat_dmadev_remove(): Closing 0000:00:01.0 on NUMA node 0] [Expected Result] Launch app successfully [Regression] Is this issue a regression: (Y/N) Y Version the regression was introduced: commit 8d85afb19af706de662e7ee686e6e437f835c6e3 Author: Chengwen Feng Date: Fri Jan 26 06:10:13 2024 +0000 examples/dma: replace getopt with argparse Replace getopt with argparse. Signed-off-by: Chengwen Feng -- You are receiving this mail because: You are the assignee for the bug.