From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7903843C14; Wed, 28 Feb 2024 04:22:18 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4D3AD402AE; Wed, 28 Feb 2024 04:22:18 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id DB5EC402AC for ; Wed, 28 Feb 2024 04:22:17 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id D3D2C43C15; Wed, 28 Feb 2024 04:22:17 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [DPDK/examples Bug 1387] [dpdk24.03] cbdma: Failed to launch dpdk-dma app Date: Wed, 28 Feb 2024 03:22:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: examples X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yux.jiang@intel.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: multipart/alternative; boundary=17090905370.aD2fea.3497642 Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --17090905370.aD2fea.3497642 Date: Wed, 28 Feb 2024 04:22:17 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All https://bugs.dpdk.org/show_bug.cgi?id=3D1387 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:=20 92c0ad70ca (HEAD -> main, tag: v24.03-rc1, origin/main, origin/HEAD) versio= n: 24.03-rc1 Other software versions: name/version for QEMU, OVS, etc. Repeat as require= d. 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=3Dgcc meson -Denable_kmods=3DTrue -Dlibdir=3Dlib --default-library=3Dst= atic x86_64-native-linuxapp-gcc ninja -C x86_64-native-linuxapp-gcc -j 100 meson configure -Dexamples=3Ddma 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=3Dvfio-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=3Dcbdma_690149_20240219131328=20=20=20=20=20 --proc-type=3Dprimary -- -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=3Dcbdma_690149_20240219131328=20=20=20=20=20 --proc-type=3Dprimary -- -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=3Dcbdma_690149_20240219131= 328=20=20=20 --proc-type=3Dprimary -- -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_sock= et 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]=20 [Expected Result] Launch app successfully [Regression] Is this issue a regression: (Y/N) Y Version the regression was introduced:=20 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 --=20 You are receiving this mail because: You are the assignee for the bug.= --17090905370.aD2fea.3497642 Date: Wed, 28 Feb 2024 04:22:17 +0100 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All
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:=20
92c0ad70ca (HEAD -> main, tag: v24.03-rc1, origin/main, origin/HEAD) ver=
sion:
24.03-rc1
Other software versions: name/version for QEMU, OVS, etc. Repeat as require=
d.
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=3Dgcc meson -Denable_kmods=3DTrue -Dlibdir=3Dlib  --default-library=3Dst=
atic
x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc -j 100  meson configure -Dexamples=3Ddma
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=3Dvfio-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=3Dcbdma_690149_20240219131328=20=20=20=20=20
--proc-type=3Dprimary  -- -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=3Dcbdma_690149_20240219131328=20=20=20=20=20
--proc-type=3Dprimary  -- -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=3Dcbdma_690149_20240219131=
328=20=20=20
  --proc-type=3Dprimary  -- -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_sock=
et
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]=20


[Expected Result]
Launch app successfully


[Regression]
Is this issue a regression: (Y/N) Y

Version the regression was introduced:=20

commit 8d85afb19af706de662e7ee686e6e437f835c6e3
Author: Chengwen Feng <fe=
ngchengwen@huawei.com>
Date:   Fri Jan 26 06:10:13 2024 +0000

    examples/dma: replace getopt with argparse

    Replace getopt with argparse.

    Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
          


You are receiving this mail because:
  • You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
= --17090905370.aD2fea.3497642--