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 3433E45B1F; Sat, 12 Oct 2024 23:40:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0868840281; Sat, 12 Oct 2024 23:40:10 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 0228840268 for ; Sat, 12 Oct 2024 23:40:09 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id E8EBF45B21; Sat, 12 Oct 2024 23:40:08 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [DPDK/ethdev Bug 1564] Broadcom doesn't receive network packets via RX Interrupt (infinite lock rte_epoll_wait) Date: Sat, 12 Oct 2024 21:40:08 +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.07 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: lucas@easy-way.app 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=17287692080.20a210a44.1018306 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 --17287692080.20a210a44.1018306 Date: Sat, 12 Oct 2024 23:40:08 +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=3D1564 Bug ID: 1564 Summary: Broadcom doesn't receive network packets via RX Interrupt (infinite lock rte_epoll_wait) Product: DPDK Version: 24.07 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: critical Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: lucas@easy-way.app Target Milestone: --- The rte_epoll_wait function is never returning, I believe that the interrup= ts are not being properly configured for the bnxt_en driver after upgrade. Bug NIC: Broadcom NetXtreme-E BCM57508 It is important to note that the same code works on Mellanox NIC, more precisely Mellanox ConnectX-5 Ex MT28800 Steps to reproduce: 1. Update the NIC firmware using niccli utility Download:=20 https://docs.broadcom.com/docs/NXE_Linux_niccli_231.0.162.1 Command:=20 ./niccli -i 1 install -online Online Tutorial: https://techdocs.broadcom.com/us/en/storage-and-ethernet-connectivity/ether= net-nic-controllers/bcm957xxx/adapters/software-installation/updating-the-f= irmware/updating-the-firmware-online.html 2. Change IP 67.159.40.18/24 to your network IP 3. Change IP 67.159.40.17 to your default gateway 4. Compile the code below The final C++ code (cpp): https://pastebin.com/VH6PLiTU 5. Run the binary generated by the previous compilation You will see the error, if you remove rte epoll_wait the ping works normall= y, but if you use rte_epoll_wait it will never return If necessary, I can provide access to my dedicated server that uses this specific Broadcom NIC.=20 I can also provide access to the VNC console to access the server even after starting the application. --=20 You are receiving this mail because: You are the assignee for the bug.= --17287692080.20a210a44.1018306 Date: Sat, 12 Oct 2024 23:40:08 +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 1564
Summary Broadcom doesn't receive network packets via RX Interrupt (in= finite lock rte_epoll_wait)
Product DPDK
Version 24.07
Hardware x86
OS Linux
Status UNCONFIRMED
Severity critical
Priority Normal
Component ethdev
Assignee dev@dpdk.org
Reporter lucas@easy-way.app
Target Milestone ---

The rte_epoll_wait function is nev=
er returning, I believe that the interrupts
are not being properly configured for the bnxt_en driver after upgrade.

Bug NIC: Broadcom NetXtreme-E BCM57508

It is important to note that the same code works on Mellanox NIC, more
precisely Mellanox ConnectX-5 Ex MT28800

Steps to reproduce:
1. Update the NIC firmware using niccli utility
Download:=20
htt=
ps://docs.broadcom.com/docs/NXE_Linux_niccli_231.0.162.1

Command:=20
./niccli -i 1 install -online

Online Tutorial:
https://techdocs.broa=
dcom.com/us/en/storage-and-ethernet-connectivity/ethernet-nic-controllers/b=
cm957xxx/adapters/software-installation/updating-the-firmware/updating-the-=
firmware-online.html

2. Change IP 67.159.40.18/24 to your network IP

3. Change IP 67.159.40.17 to your default gateway

4. Compile the code below

The final C++ code (cpp):
https://pastebin.com/VH6PLiTU

5. Run the binary generated by the previous compilation

You will see the error, if you remove rte epoll_wait the ping works normall=
y,
but if you use rte_epoll_wait it will never return

If necessary, I can provide access to my dedicated server that uses this
specific Broadcom NIC.=20

I can also provide access to the VNC console to access the server even after
starting the application.
          


You are receiving this mail because:
  • You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
= --17287692080.20a210a44.1018306--