<html>
    <head>
      <base href="https://bugs.dpdk.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8" class="bz_new_table">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Broadcom doesn't receive network packets via RX Interrupt (infinite lock rte_epoll_wait)"
   href="https://bugs.dpdk.org/show_bug.cgi?id=1564">1564</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Broadcom doesn't receive network packets via RX Interrupt (infinite lock rte_epoll_wait)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DPDK
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>24.07
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>critical
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>ethdev
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dev@dpdk.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>lucas@easy-way.app
          </td>
        </tr>

        <tr>
          <th>Target Milestone</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div class="bz_comment_block">
          <pre class="bz_comment_text">The rte_epoll_wait function is never 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: 
<a href="https://docs.broadcom.com/docs/NXE_Linux_niccli_231.0.162.1">https://docs.broadcom.com/docs/NXE_Linux_niccli_231.0.162.1</a>

Command: 
./niccli -i 1 install -online

Online Tutorial:
<a href="https://techdocs.broadcom.com/us/en/storage-and-ethernet-connectivity/ethernet-nic-controllers/bcm957xxx/adapters/software-installation/updating-the-firmware/updating-the-firmware-online.html">https://techdocs.broadcom.com/us/en/storage-and-ethernet-connectivity/ethernet-nic-controllers/bcm957xxx/adapters/software-installation/updating-the-firmware/updating-the-firmware-online.html</a>

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):
<a href="https://pastebin.com/VH6PLiTU">https://pastebin.com/VH6PLiTU</a>

5. Run the binary generated by the previous compilation

You will see the error, if you remove rte epoll_wait the ping works normally,
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. 

I can also provide access to the VNC console to access the server even after
starting the application.
          </pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
      <div itemscope itemtype="http://schema.org/EmailMessage">
        <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
          
          <link itemprop="url" href="https://bugs.dpdk.org/show_bug.cgi?id=1564">
          <meta itemprop="name" content="View bug">
        </div>
        <meta itemprop="description" content="Bugzilla bug update notification">
      </div>
    </body>
</html>