<html>
<head>
<base href="https://bugs.dpdk.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:weix.ling@intel.com" title="lingwei (weix.ling@intel.com)"> <span class="fn">lingwei</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [dpdk-23.03]virtio_user_as_exceptional_path/vhost_exception_path_with_virtio_user: launch testpmd as virtio-user failed"
href="https://bugs.dpdk.org/show_bug.cgi?id=1161">bug 1161</a>
<br>
<table border="1" cellspacing="0" cellpadding="8" class="bz_diff_table">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>IN_PROGRESS
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div class="bz_comment_block">
<b class="bz_comment_head"><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [dpdk-23.03]virtio_user_as_exceptional_path/vhost_exception_path_with_virtio_user: launch testpmd as virtio-user failed"
href="https://bugs.dpdk.org/show_bug.cgi?id=1161#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [dpdk-23.03]virtio_user_as_exceptional_path/vhost_exception_path_with_virtio_user: launch testpmd as virtio-user failed"
href="https://bugs.dpdk.org/show_bug.cgi?id=1161">bug 1161</a>
from <span class="vcard"><a class="email" href="mailto:weix.ling@intel.com" title="lingwei (weix.ling@intel.com)"> <span class="fn">lingwei</span></a>
</span>
</b>
<pre class="bz_comment_text">Patch have merged into the DPDK main branch.
Verified PASSED.
OS: Ubuntu 22.04.1 LTS/Linux 5.15.45-051545-generic
NIC hardware: Intel Ethernet Controller XL710 for 40GbE QSFP+ 1583
Driver/NIC firmware: i40e-2.22.8/firmware-version: 9.10 0x8000d01e 1.3295.0
commit be26e898ffb3a1719c88bf025d45a847d3a60ffc
Author: Maxime Coquelin <<a href="mailto:maxime.coquelin@redhat.com">maxime.coquelin@redhat.com</a>>
Date: Fri Feb 17 13:31:19 2023 +0100
net/virtio-user: fix vhost-kernel initialization
This patch fixes a regression causing devices with
Vhost-kernel backends initialization to fail.
Indeed, Vhost-kernel backend init expects
dev->max_queue_pairs to be set at setup time, while its
assignment was moved after backend setup when adding
control queue support for Vhost-vdpa backends.
It is safe to set dev->max_queue_pairs early for
Vhost-kernel backends as if the backend does not support
multiqueue, its setup will fail.
Bugzilla ID: 1161
Fixes: 7be724856315 ("net/virtio-user: get max number of queue pairs from
device")
Reported-by: Wei Ling <<a href="mailto:weix.ling@intel.com">weix.ling@intel.com</a>>
Signed-off-by: Maxime Coquelin <<a href="mailto:maxime.coquelin@redhat.com">maxime.coquelin@redhat.com</a>>
</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=1161#c3">
<meta itemprop="name" content="View bug">
</div>
<meta itemprop="description" content="Bugzilla bug update notification">
</div>
</body>
</html>