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 168CA43723; Wed, 20 Dec 2023 11:45:58 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DFE2440649; Wed, 20 Dec 2023 11:45:57 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 1E6B740291 for ; Wed, 20 Dec 2023 11:45:57 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 0F30143728; Wed, 20 Dec 2023 11:45:57 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 1337] [21.11.5] iavf driver stuck in rte_eal_alarm_cancel Date: Wed, 20 Dec 2023 10:45:57 +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: 21.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktraynor@redhat.com 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=17030691560.1d69dB.3221092 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 --17030691560.1d69dB.3221092 Date: Wed, 20 Dec 2023 11:45:56 +0100 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=3D1337 Bug ID: 1337 Summary: [21.11.5] iavf driver stuck in rte_eal_alarm_cancel Product: DPDK Version: 21.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: ktraynor@redhat.com Target Milestone: --- 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 ma= in thread. The issue was introduced with the patch below. There are some related patch= es in this area that were not previously backported and newer ones to come. commit b965aceffdb9dd8d2501314c174716617371d752 Author: Mingjin Ye 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 interr= upt 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 fr= om PF") Fixes: 84108425054a ("net/iavf: support asynchronous virtual channel message") Signed-off-by: Mingjin Ye Acked-by: Qi Zhang --=20 You are receiving this mail because: You are the assignee for the bug.= --17030691560.1d69dB.3221092 Date: Wed, 20 Dec 2023 11:45:56 +0100 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 1337
Summary [21.11.5] iavf driver stuck in rte_eal_alarm_cancel
Product DPDK
Version 21.11
Hardware All
OS All
Status UNCONFIRMED
Severity normal
Priority Normal
Component ethdev
Assignee dev@dpdk.org
Reporter ktraynor@redhat.com
Target Milestone ---

With iavf device in OVS and dpdk 2=
1.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 ma=
in
thread.

The issue was introduced with the patch below. There are some related patch=
es
in this area that were not previously backported and newer ones to come.

commit b965aceffdb9dd8d2501314c174716617371d752
Author: Mingjin Ye <mingjin=
x.ye@intel.com>
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 interr=
upt
    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 queu=
es from
PF")
    Fixes: 84108425054a ("net/iavf: support asynchronous virtual chann=
el
message")

    Signed-off-by: Mingjin Ye <mingjinx.ye@intel.com>
    Acked-by: Qi Zhang <qi.z=
.zhang@intel.com>
          


You are receiving this mail because:
  • You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
= --17030691560.1d69dB.3221092--