<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 - [21.11.5] iavf driver stuck in rte_eal_alarm_cancel"
href="https://bugs.dpdk.org/show_bug.cgi?id=1337">1337</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[21.11.5] iavf driver stuck in rte_eal_alarm_cancel
</td>
</tr>
<tr>
<th>Product</th>
<td>DPDK
</td>
</tr>
<tr>
<th>Version</th>
<td>21.11
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</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>ktraynor@redhat.com
</td>
</tr>
<tr>
<th>Target Milestone</th>
<td>---
</td>
</tr></table>
<p>
<div class="bz_comment_block">
<pre class="bz_comment_text">With iavf device in OVS and dpdk 21.11.5.
OVS main thread is calling rte_eth_dev_configure()...iavf_queues_req_reset()
and is getting stuck in rte_eal_alarm_cancel() waiting for alarms to be
cancelled.
eal-intr-thread is stuck in application callback as it is requesting
reconfiguration and waiting for current configure to be completed in the main
thread.
The issue was introduced with the patch below. There are some related patches
in this area that were not previously backported and newer ones to come.
commit b965aceffdb9dd8d2501314c174716617371d752
Author: Mingjin Ye <<a href="mailto:mingjinx.ye@intel.com">mingjinx.ye@intel.com</a>>
Date: Wed Jun 14 09:53:03 2023 +0000
net/iavf: fix abnormal disable HW interrupt
[ upstream commit 675a104e2e940ec476e8b469725e8465d01c0098 ]
For command VIRTCHNL_OP_REQUEST_QUEUES, polling access to the admin
queue has the issue of access overruns after disabling interrupt. That
results in FW disabling HW interrupt for protection purposes.
The updates/changes in this patch:
1. Remove the polling admin queue processing and use the generic interrupt
processing instead.
2. Release redundant queue resource before stopping processing interrupt
events.
Fixes: 22b123a36d07 ("net/avf: initialize PMD")
Fixes: ef807926e148 ("net/iavf: support requesting additional queues from
PF")
Fixes: 84108425054a ("net/iavf: support asynchronous virtual channel
message")
Signed-off-by: Mingjin Ye <<a href="mailto:mingjinx.ye@intel.com">mingjinx.ye@intel.com</a>>
Acked-by: Qi Zhang <<a href="mailto:qi.z.zhang@intel.com">qi.z.zhang@intel.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=1337">
<meta itemprop="name" content="View bug">
</div>
<meta itemprop="description" content="Bugzilla bug update notification">
</div>
</body>
</html>