<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 - virtio_xmit_cleanup failed when vm rx/tx queues from 1024 to 4096"
   href="https://bugs.dpdk.org/show_bug.cgi?id=1716">1716</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>virtio_xmit_cleanup failed when vm rx/tx queues from 1024 to 4096
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>22.11
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>major
          </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>updoing@sina.com
          </td>
        </tr>

        <tr>
          <th>Target Milestone</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div class="bz_comment_block">
          <pre class="bz_comment_text">Created <span class=""><a href="attachment.cgi?id=319&action=diff" name="attach_319" title="viritio patch">attachment 319</a> <a href="attachment.cgi?id=319&action=edit" title="viritio patch">[details]</a></span>
viritio patch

In a virtual machine scenario running a DPDK application with virtio drivers,
when the host machine adjusted the guest VM's transmit/receive queue size from
1024 to 4096, the DPDK application's allocated 2048 mbufs became insufficient.
After this adjustment, the condition vq->vq_nentries - vq->vq_free_thresh was
never triggered, resulting in the cleanup operation not occurring.

virtio_dev_rx_queue_setup the third param nb_desc is not used when
vq->vq_free_cnt great then nb_desc. vq->vq_free_cnt is assigned a value through
vq->n_nentries when virtio driver has inited. i40e driver vq has a nb_rx_desc
value, our dpdk app nb_desc setup 2048, malloc 2048 mbufs, so our dpdk app
rx/tx burst is failed on the line.
          </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=1716">
          <meta itemprop="name" content="View bug">
        </div>
        <meta itemprop="description" content="Bugzilla bug update notification">
      </div>
    </body>
</html>