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 23F7C45E1D; Tue, 3 Dec 2024 14:16:51 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D04AE40272; Tue, 3 Dec 2024 14:16:50 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 1B62940264 for ; Tue, 3 Dec 2024 14:16:49 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 0FBB545E1E; Tue, 3 Dec 2024 14:16:49 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [DPDK/ethdev Bug 1591] MLX5 Windows : Issue with Packet Loss When Setting Descriptors Above 1<<14 on ConnectX6-DX Date: Tue, 03 Dec 2024 13:16:48 +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: 24.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: a.pollenus@deltacast.tv 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=17332318080.FbCCc.3427843 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 --17332318080.FbCCc.3427843 Date: Tue, 3 Dec 2024 14:16:48 +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=3D1591 Bug ID: 1591 Summary: MLX5 Windows : Issue with Packet Loss When Setting Descriptors Above 1<<14 on ConnectX6-DX Product: DPDK Version: 24.11 Hardware: x86 OS: Windows Status: UNCONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: a.pollenus@deltacast.tv Target Milestone: --- I am encountering an issue with the ConnectX6-DX on Windows. When I set the number of descriptors to a value greater than 1<<14, all my packets are dro= pped (imissed), except for the first one. The root cause is unclear, but I obser= ved that the maximum number of descriptors reported by rte_eth_dev_info_get() is 32768 (rx_desc_lim.nb_max), which I believe indicates that the number of descriptors should be set to this value or lower. Here are some test results using testpmd that demonstrate the issue: TEST 1 : 4096 descriptors ./dpdk-testpmd -l 2-3 -n 4 -a 0000:03:00.0 --log-level=3D8 --log-level=3Dpmd.common.mlx5:8 --log-level=3Dpmd.net.mlx5:8 -- --socket-nu= m=3D0 --burst=3D64 --txd=3D4096 --rxd=3D4096 --mbcache=3D512 --rxq=3D4 --txq=3D4 = --nb-cores=3D1 --txpkts=3D1500 -i --forward-mode=3Drxonly --flow-isolate-all testpmd> show port stats 0 ######################## NIC statistics for port 0 #####################= ### RX-packets: 1626632 RX-missed: 0 RX-bytes: 2152490218 RX-errors: 0 RX-nombuf: 0 TX-packets: 0 TX-errors: 0 TX-bytes: 0 Throughput (since last show) Rx-pps: 246876 Rx-bps: 2613496560 Tx-pps: 0 Tx-bps: 0 #########################################################################= ### TEST 2 : 16384 descriptors ./dpdk-testpmd -l 2-3 -n 4 -a 0000:03:00.0 --log-level=3D8 --log-level=3Dpmd.common.mlx5:8 --log-level=3Dpmd.net.mlx5:8 -- --socket-nu= m=3D0 --burst=3D64 --txd=3D4096 --rxd=3D16384 --mbcache=3D512 --rxq=3D4 --txq=3D4= --nb-cores=3D1 --txpkts=3D1500 -i --forward-mode=3Drxonly --flow-isolate-all testpmd> show port stats 0 ######################## NIC statistics for port 0 #####################= ### RX-packets: 2923021 RX-missed: 0 RX-bytes: 3867975188 RX-errors: 0 RX-nombuf: 0 TX-packets: 0 TX-errors: 0 TX-bytes: 0 Throughput (since last show) Rx-pps: 246881 Rx-bps: 2613540240 Tx-pps: 0 Tx-bps: 0 #########################################################################= ### TEST 3 : 20480 descriptors ./dpdk-testpmd -l 2-3 -n 4 -a 0000:03:00.0 --log-level=3D8 --log-level=3Dpmd.common.mlx5:8 --log-level=3Dpmd.net.mlx5:8 -- --socket-nu= m=3D0 --burst=3D64 --txd=3D4096 --rxd=3D20480 --mbcache=3D512 --rxq=3D4 --txq=3D4= --nb-cores=3D1 --txpkts=3D1500 -i --forward-mode=3Drxonly --flow-isolate-all testpmd> show port stats 0 ######################## NIC statistics for port 0 #####################= ### RX-packets: 1 RX-missed: 2732098 RX-bytes: 1328 RX-errors: 0 RX-nombuf: 0 TX-packets: 0 TX-errors: 0 TX-bytes: 0 Throughput (since last show) Rx-pps: 0 Rx-bps: 0 Tx-pps: 0 Tx-bps: 0 #########################################################################= ### TEST 4 : 32768 descriptors ./dpdk-testpmd -l 2-3 -n 4 -a 0000:03:00.0 --log-level=3D8 --log-level=3Dpmd.common.mlx5:8 --log-level=3Dpmd.net.mlx5:8 -- --socket-nu= m=3D0 --burst=3D64 --txd=3D4096 --rxd=3D32768 --mbcache=3D512 --rxq=3D4 --txq=3D4= --nb-cores=3D1 --txpkts=3D1500 -i --forward-mode=3Drxonly --flow-isolate-all testpmd> show port stats 0 ######################## NIC statistics for port 0 #####################= ### RX-packets: 1 RX-missed: 1129806 RX-bytes: 1328 RX-errors: 0 RX-nombuf: 0 TX-packets: 0 TX-errors: 0 TX-bytes: 0 Throughput (since last show) Rx-pps: 0 Rx-bps: 0 Tx-pps: 0 Tx-bps: 0 #########################################################################= ### I was able to reproduce this issue on versions 24.11 and 23.11, using DevX version 24.10.26603. Thank you in advance for your help, Please let me know if you need further information. Thank you. --=20 You are receiving this mail because: You are the assignee for the bug.= --17332318080.FbCCc.3427843 Date: Tue, 3 Dec 2024 14:16:48 +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 1591
Summary MLX5 Windows : Issue with Packet Loss When Setting Descriptor= s Above 1<<14 on ConnectX6-DX
Product DPDK
Version 24.11
Hardware x86
OS Windows
Status UNCONFIRMED
Severity normal
Priority Normal
Component ethdev
Assignee dev@dpdk.org
Reporter a.pollenus@deltacast.tv
Target Milestone ---

I am encountering an issue with th=
e ConnectX6-DX on Windows. When I set the
number of descriptors to a value greater than 1<<14, all my packets a=
re dropped
(imissed), except for the first one. The root cause is unclear, but I obser=
ved
that the maximum number of descriptors reported by rte_eth_dev_info_get() is
32768 (rx_desc_lim.nb_max), which I believe indicates that the number of
descriptors should be set to this value or lower.

Here are some test results using testpmd that demonstrate the issue:

TEST 1 : 4096 descriptors

./dpdk-testpmd -l 2-3 -n 4 -a 0000:03:00.0 --log-level=3D8
--log-level=3Dpmd.common.mlx5:8 --log-level=3Dpmd.net.mlx5:8 -- --socket-nu=
m=3D0
--burst=3D64 --txd=3D4096 --rxd=3D4096 --mbcache=3D512 --rxq=3D4 --txq=3D4 =
--nb-cores=3D1
--txpkts=3D1500 -i --forward-mode=3Drxonly --flow-isolate-all

testpmd> show port stats 0

  ######################## NIC statistics for port 0  #####################=
###
  RX-packets: 1626632    RX-missed: 0          RX-bytes:  2152490218
  RX-errors: 0
  RX-nombuf:  0
  TX-packets: 0          TX-errors: 0          TX-bytes:  0

  Throughput (since last show)
  Rx-pps:       246876          Rx-bps:   2613496560
  Tx-pps:            0          Tx-bps:            0
  #########################################################################=
###


TEST 2 : 16384 descriptors
./dpdk-testpmd -l 2-3 -n 4 -a 0000:03:00.0 --log-level=3D8
--log-level=3Dpmd.common.mlx5:8 --log-level=3Dpmd.net.mlx5:8 -- --socket-nu=
m=3D0
--burst=3D64 --txd=3D4096 --rxd=3D16384 --mbcache=3D512 --rxq=3D4 --txq=3D4=
 --nb-cores=3D1
--txpkts=3D1500 -i --forward-mode=3Drxonly --flow-isolate-all
testpmd> show port stats 0

  ######################## NIC statistics for port 0  #####################=
###
  RX-packets: 2923021    RX-missed: 0          RX-bytes:  3867975188
  RX-errors: 0
  RX-nombuf:  0
  TX-packets: 0          TX-errors: 0          TX-bytes:  0

  Throughput (since last show)
  Rx-pps:       246881          Rx-bps:   2613540240
  Tx-pps:            0          Tx-bps:            0
  #########################################################################=
###

TEST 3 : 20480 descriptors
./dpdk-testpmd -l 2-3 -n 4 -a 0000:03:00.0 --log-level=3D8
--log-level=3Dpmd.common.mlx5:8 --log-level=3Dpmd.net.mlx5:8 -- --socket-nu=
m=3D0
--burst=3D64 --txd=3D4096 --rxd=3D20480 --mbcache=3D512 --rxq=3D4 --txq=3D4=
 --nb-cores=3D1
--txpkts=3D1500 -i --forward-mode=3Drxonly --flow-isolate-all

testpmd> show port stats 0

  ######################## NIC statistics for port 0  #####################=
###
  RX-packets: 1          RX-missed: 2732098    RX-bytes:  1328
  RX-errors: 0
  RX-nombuf:  0
  TX-packets: 0          TX-errors: 0          TX-bytes:  0

  Throughput (since last show)
  Rx-pps:            0          Rx-bps:            0
  Tx-pps:            0          Tx-bps:            0
  #########################################################################=
###

TEST 4 : 32768 descriptors

./dpdk-testpmd -l 2-3 -n 4 -a 0000:03:00.0 --log-level=3D8
--log-level=3Dpmd.common.mlx5:8 --log-level=3Dpmd.net.mlx5:8 -- --socket-nu=
m=3D0
--burst=3D64 --txd=3D4096 --rxd=3D32768 --mbcache=3D512 --rxq=3D4 --txq=3D4=
 --nb-cores=3D1
--txpkts=3D1500 -i --forward-mode=3Drxonly --flow-isolate-all
testpmd> show port stats 0

  ######################## NIC statistics for port 0  #####################=
###
  RX-packets: 1          RX-missed: 1129806    RX-bytes:  1328
  RX-errors: 0
  RX-nombuf:  0
  TX-packets: 0          TX-errors: 0          TX-bytes:  0

  Throughput (since last show)
  Rx-pps:            0          Rx-bps:            0
  Tx-pps:            0          Tx-bps:            0
  #########################################################################=
###


I was able to reproduce this issue on versions 24.11 and 23.11, using DevX
version 24.10.26603.

Thank you in advance for your help,

Please let me know if you need further information.

Thank you.
          


You are receiving this mail because:
  • You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
= --17332318080.FbCCc.3427843--