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 085CB43070; Tue, 15 Aug 2023 15:19:50 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9210A41611; Tue, 15 Aug 2023 15:19:49 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 729BF40F17 for ; Tue, 15 Aug 2023 15:19:47 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 596CA43071; Tue, 15 Aug 2023 15:19:47 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 1274] [20.11 LTS] MPRQ parameters are incorrectly adjusted and not applied properly Date: Tue, 15 Aug 2023 13:19:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: ethdev X-Bugzilla-Version: 20.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alialnu@nvidia.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=16921055870.b8ACf05a.11385 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 --16921055870.b8ACf05a.11385 Date: Tue, 15 Aug 2023 15:19:47 +0200 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=3D1274 Bug ID: 1274 Summary: [20.11 LTS] MPRQ parameters are incorrectly adjusted and not applied properly Product: DPDK Version: 20.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: alialnu@nvidia.com Target Milestone: --- To reproduce: """ $ dpdk-testpmd -n 4 -a 0000:08:00.0,dv_xmeta_en=3D1,rxqs_min_mprq=3D4,mprq_en=3D1,mprq_max_memcpy_= len=3D1606,mprq_log_stride_size=3D7,mprq_log_stride_num=3D10,txq_inline_max= =3D472,txq_inline_mpw=3D401,txqs_min_inline=3D12,hp_buf_log_sz=3D17,represe= ntor=3D[0,1] --iova-mode=3D"va" -- --mbcache=3D512 -i --nb-cores=3D8 --rxq=3D8 --txq=3D8= --txd=3D2048 --rxd=3D2048 --burst=3D64 --enable-scatter --tx-offloads=3D0x8000 [..] Configuring Port 0 (socket 0) mlx5_pci: Port 0 Rx queue 0 size of a stride for Multi-Packet RQ is adjuste= d to match the mbuf size (1646) [..] Port 0: 10:70:FD:D9:0F:C8 Configuring Port 1 (socket 0) mlx5_pci: Port 1 Rx queue 0 size of a stride for Multi-Packet RQ is adjuste= d to match the mbuf size (1646) [..] Port 1: A6:68:00:C8:79:FD Configuring Port 2 (socket 0) mlx5_pci: Port 2 Rx queue 0 size of a stride for Multi-Packet RQ is adjuste= d to match the mbuf size (1646) [..] Port 2: C6:8F:13:5B:6B:F0 Checking link statuses... Done testpmd> port stop all Stopping ports... Checking link statuses... Done testpmd> port config all max-pkt-len 4096 testpmd> port start all Configuring Port 0 (socket 0) mlx5_pci: Port 0 Rx queue 0 size of a stride for Multi-Packet RQ is adjuste= d to match the mbuf size (4224) [..] Port 0: 10:70:FD:D9:0F:C8 Configuring Port 1 (socket 0) mlx5_pci: Port 1 Rx queue 0 size of a stride for Multi-Packet RQ is adjuste= d to match the mbuf size (4224) [..] Port 1: A6:68:00:C8:79:FD Configuring Port 2 (socket 0) mlx5_pci: Port 2 Rx queue 0 size of a stride for Multi-Packet RQ is adjuste= d to match the mbuf size (4224) [..] mlx5_pci: port 2 failed to allocate a mempool for Multi-Packet RQ, count=3D= 1280, size=3D526016 mlx5_pci: port 2 Rx queue allocation failed: Cannot allocate memory Fail to start port 2 Please stop the ports first """ OS: Ubuntu 20.04 DPDK: 20.11.9-rc1 Device: ConnectX-6 DX MLNX_OFED: 23.04-1.1.3.0 Firmware: 22.37.1014 --=20 You are receiving this mail because: You are the assignee for the bug.= --16921055870.b8ACf05a.11385 Date: Tue, 15 Aug 2023 15:19:47 +0200 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 1274
Summary [20.11 LTS] MPRQ parameters are incorrectly adjusted and not = applied properly
Product DPDK
Version 20.11
Hardware All
OS All
Status UNCONFIRMED
Severity normal
Priority Normal
Component ethdev
Assignee dev@dpdk.org
Reporter alialnu@nvidia.com
Target Milestone ---

To reproduce:

"""
$ dpdk-testpmd -n 4 -a
0000:08:00.0,dv_xmeta_en=3D1,rxqs_min_mprq=3D4,mprq_en=3D1,mprq_max_memcpy_=
len=3D1606,mprq_log_stride_size=3D7,mprq_log_stride_num=3D10,txq_inline_max=
=3D472,txq_inline_mpw=3D401,txqs_min_inline=3D12,hp_buf_log_sz=3D17,represe=
ntor=3D[0,1]
--iova-mode=3D"va" -- --mbcache=3D512 -i --nb-cores=3D8 --rxq=3D8=
 --txq=3D8 --txd=3D2048
--rxd=3D2048 --burst=3D64 --enable-scatter --tx-offloads=3D0x8000
[..]
Configuring Port 0 (socket 0)
mlx5_pci: Port 0 Rx queue 0 size of a stride for Multi-Packet RQ is adjuste=
d to
match the mbuf size (1646)
[..]
Port 0: 10:70:FD:D9:0F:C8
Configuring Port 1 (socket 0)
mlx5_pci: Port 1 Rx queue 0 size of a stride for Multi-Packet RQ is adjuste=
d to
match the mbuf size (1646)
[..]
Port 1: A6:68:00:C8:79:FD
Configuring Port 2 (socket 0)
mlx5_pci: Port 2 Rx queue 0 size of a stride for Multi-Packet RQ is adjuste=
d to
match the mbuf size (1646)
[..]
Port 2: C6:8F:13:5B:6B:F0
Checking link statuses...
Done
testpmd> port stop all
Stopping ports...
Checking link statuses...
Done
testpmd> port config all max-pkt-len 4096
testpmd> port start all
Configuring Port 0 (socket 0)
mlx5_pci: Port 0 Rx queue 0 size of a stride for Multi-Packet RQ is adjuste=
d to
match the mbuf size (4224)
[..]
Port 0: 10:70:FD:D9:0F:C8
Configuring Port 1 (socket 0)
mlx5_pci: Port 1 Rx queue 0 size of a stride for Multi-Packet RQ is adjuste=
d to
match the mbuf size (4224)
[..]
Port 1: A6:68:00:C8:79:FD
Configuring Port 2 (socket 0)
mlx5_pci: Port 2 Rx queue 0 size of a stride for Multi-Packet RQ is adjuste=
d to
match the mbuf size (4224)
[..]
mlx5_pci: port 2 failed to allocate a mempool for Multi-Packet RQ, count=3D=
1280,
size=3D526016
mlx5_pci: port 2 Rx queue allocation failed: Cannot allocate memory
Fail to start port 2
Please stop the ports first
"""

OS: Ubuntu 20.04
DPDK: 20.11.9-rc1
Device: ConnectX-6 DX
MLNX_OFED: 23.04-1.1.3.0
Firmware: 22.37.1014
          


You are receiving this mail because:
  • You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
= --16921055870.b8ACf05a.11385--