From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C5A44A04B5; Sun, 1 Dec 2019 19:17:15 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E716A4C99; Sun, 1 Dec 2019 19:17:13 +0100 (CET) Received: from mail-qt1-f171.google.com (mail-qt1-f171.google.com [209.85.160.171]) by dpdk.org (Postfix) with ESMTP id 57F652C58 for ; Sun, 1 Dec 2019 19:17:12 +0100 (CET) Received: by mail-qt1-f171.google.com with SMTP id j5so13700594qtq.9 for ; Sun, 01 Dec 2019 10:17:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=f1U/M1PBNV30+ape9DI2ywGRbLDfJmmLadcUnJ5xeV8=; b=n3QE8Wrc6uUeev/zQDYox7AmUcOkiCl57WXq+if1T+Ur27CXyxDd4AiqiKbmsqF/l2 uXl/8EEhyyATAoWQFQCTTXQISUAVJz3ufYHHCZGi3SMDSZtNkF20KkzEe/1JvTA1uKjK vX6i2EgPEz4cfHtlirhBr6ORqVR7zRgz64p4WwY9IuRqN4IWER6xrcOasWEOjlwrNnNi WMqdYQcmwCX89Wt4d1MOroOy8ZJyuQgU2MWu6mNhM06+Seo1y5ZQdNVCEEiAeULqazgS I+pxjMUHglOHXcYcrZ8YTyYoOqpcSSDGJvVXqOCD8Ca6MNL6/JQRrLFuu5Iu4jeZsHb1 5arQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=f1U/M1PBNV30+ape9DI2ywGRbLDfJmmLadcUnJ5xeV8=; b=stnnWCkGXlY7sAGXMZ5GEpgnGdb1FGWxaJZljIuL4DJ9Eo4jwVEn8dg+sIIKWZnQi3 UKhQ/QFf30D5JHgpUmTvsE/f73m84lRZNbFqx4P9cUNOjHeGSZsEy1f0MFYOjxNX9xzk Amg+RpY/2POdyxn3pSJk56dTat3eMQ8sIc9bMiv5Ngfy7XEUzLRaTTs/Jr2m1ryj1ftp VZDT46zD3Jz2Ab1onpFyPH98ncfgkdc+Hi1NNdAHtpche/0P54tRx1a5wQoWKn2/BivO wLi3/Tkej3tBjEHP4pP2SHiwBgQen+hmlEoSIZTHsU8rQ094fO2wg5qcDV7L9aFiqjnz oFSg== X-Gm-Message-State: APjAAAUsQ/iIzbOxr8EzsoLArlZgX/S18+129TC6oBvENqWPeN8z8fiN V2T1Pi3CwbWJ+IE9HVbuvDGJu9eZ4iGejmOLzHo= X-Google-Smtp-Source: APXvYqyVzm5iTYMJJ4JsvAL8+SRFB/9rMcLil9fTqwONzrJ+o/tS1vxa9Uuy/k9d3NVX7dj7AcysehO/NwX/aHLemG0= X-Received: by 2002:ac8:1851:: with SMTP id n17mr7159970qtk.305.1575224231215; Sun, 01 Dec 2019 10:17:11 -0800 (PST) MIME-Version: 1.0 References: <20191130085103.261db7ef@hermes.lan> <20191201090707.450b6a4f@hermes.lan> In-Reply-To: <20191201090707.450b6a4f@hermes.lan> From: Ranran Date: Sun, 1 Dec 2019 20:16:59 +0200 Message-ID: To: Stephen Hemminger Cc: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] Interrupt is catched in kernel, but not handled X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" =D7=91=D7=AA=D7=90=D7=A8=D7=99=D7=9A =D7=99=D7=95=D7=9D =D7=90=D7=B3, 1 =D7= =91=D7=93=D7=A6=D7=9E=D7=B3 2019, 19:07, =D7=9E=D7=90=D7=AA Stephen Hemming= er =E2=80=8F< stephen@networkplumber.org>: > On Sat, 30 Nov 2019 19:49:16 +0200 > Ranran wrote: > > > > > > > > > I also verified that there are no additional irq numbered 23 except > > > > for our device. > > > > > > > > How can it be that irq is catched, but not delivered to userspace ? > > > > Any suggestion is much appreciated, > > > > > > > > ran > > > > > > UIO PCI generic does not support interrupts. > > > You need to use VFIO (preferred) or igb_uio > > > > > Actually UIO PCI generic does support interrupts but only legacy INTx, > it does not support MSI or MSI-x modes. > Right. The device I work with is FPGA xilinx which should support INTx. Yet, even though irqhandler is called, it does not pass pci_check_and_mask_intx, and therefore irq is not handled, as I written in the original post. Thanks >