DPDK patches and discussions
 help / color / mirror / Atom feed
* [DPDK/other Bug 1418] ice: no way to disable lsc-interrupts
@ 2024-04-23 11:08 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2024-04-23 11:08 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 1815 bytes --]

https://bugs.dpdk.org/show_bug.cgi?id=1418

            Bug ID: 1418
           Summary: ice: no way to disable lsc-interrupts
           Product: DPDK
           Version: 24.03
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: other
          Assignee: dev@dpdk.org
          Reporter: robin@jarry.cc
                CC: ktraynor@redhat.com
  Target Milestone: ---

Hi all,

Apparently, the ice driver does not allow disabling lsc interrupts. Starting
testpmd with --no-lsc-interrupt gives this in the console:

testpmd> ice_interrupt_handler(): OICR: link state change event
Port 0: link state change event
ice_interrupt_handler(): OICR: link state change event
Port 1: link state change event

I tested with version 22.11 which seems not to have the issue. I found a
suspicious commit introduced in 24.03 which may be the culprit:

commit 4e5dc111464e83e9a55fa466d8f682f0027b721e
Author: Qi Zhang <qi.z.zhang@intel.com>
Date:   Thu Dec 14 03:40:54 2023 -0500

    net/ice: fix link update

    The ice_aq_get_link_info function is not thread-safe. However,
    it is possible to simultaneous invocations during both the dev_start
    and the LSC interrupt handler, potentially leading to unexpected adminq
    errors. This patch addresses the issue by introducing a thread-safe
    wrapper that utilizes a spinlock.

    Fixes: cf911d90e366 ("net/ice: support link update")
    Cc: stable@dpdk.org

    Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
    Acked-by: Qiming Yang <qiming.yang@intel.com>

https://git.dpdk.org/dpdk/commit/?id=4e5dc111464e83e9a55fa466d8f682f0027b721e

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #2: Type: text/html, Size: 4068 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-23 11:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-23 11:08 [DPDK/other Bug 1418] ice: no way to disable lsc-interrupts bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).