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 DF0E442DAA; Tue, 4 Jul 2023 17:55:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AF85840E03; Tue, 4 Jul 2023 17:55:35 +0200 (CEST) Received: from mail-oo1-f49.google.com (mail-oo1-f49.google.com [209.85.161.49]) by mails.dpdk.org (Postfix) with ESMTP id C9D9340042 for ; Tue, 4 Jul 2023 17:55:33 +0200 (CEST) Received: by mail-oo1-f49.google.com with SMTP id 006d021491bc7-55e04a83465so3966197eaf.3 for ; Tue, 04 Jul 2023 08:55:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1688486133; x=1691078133; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=+vFgbkxiioDAdUKh8ihq+RVlmuUqgA4PfgrM9AvTZOU=; b=P2e7V93tEQy76T74b2I86fZJN1j9Dlc/qCoo+mjDit75Pf2OCulBhFPq7ysgOx6dDA 4Mern2/tcKkuh7vAPjLzBVH3slVenc9cwhkPJsWLYN2K5IPAcI9rysx1a0AlAYNByQVv GRa7A7kaKA9mJIXEwGPS+bBofQT3EYkSNFoja39VIKeNrxLbE4uzMcb6TDCNlGVcMu2M tT060ZLR9jln351igAa63+u7dys6cFY6kfUS6N84J6eZdOwjTaBJHy7YfdEIj2fE1RqH umOY/87VSRyjByH6EIas4IJe22unci8lffTldavu6E6JutQu+T7x0JmaB1n4FvHgFZWK opsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688486133; x=1691078133; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+vFgbkxiioDAdUKh8ihq+RVlmuUqgA4PfgrM9AvTZOU=; b=Bg2Y64IRzlGdh2vViy2ns5B5sObJcRd1Ek11KXyt80O2XJ55DR6mVS6g4hJ7b5LSAs zO0CYKC8d8dQgbuIZ20mpDkkEYaeZTBoK9hUq2KHdTT+3OJC1S7cf80HB2EbdtRLF5wY QDT+a9ZHWLUW9INTEc3nz5IYLKOqwWGET3PvXMqLbhC8HDui+0Q1zZsgNFF2ug/LXFbH kxOw+VYdrz+NyH6WEE31R88LefIZs1X7aN9/jq9esanTTzUGhfqo0U1+PlmQd9mV0Agb W8TDVrLxHRnYlm9ajqGgPZcHb/ZOkCZ/w4VTaMpQP0Px/JYX6CwA/rkXrKdhAKYywQdu NMIw== X-Gm-Message-State: ABy/qLbIEVRlGMHDLmRH0AB+GgqxsCHY6OgSmZPNnPrzCGX5RLqc8OA6 gVwXEVvtVLzQkANCEZuSjJslgA== X-Google-Smtp-Source: APBJJlFZ5K9Fd4A0Cx1VJruUIWrfMDSt8i1lI8f+SY5QNKS6/o2Bi3XBNi5iaMuVkLZvZb6qCYzP2g== X-Received: by 2002:a05:6358:700e:b0:134:d336:a1e8 with SMTP id 14-20020a056358700e00b00134d336a1e8mr8273844rwo.19.1688486132847; Tue, 04 Jul 2023 08:55:32 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id y6-20020a1709029b8600b001b682336f66sm17359158plp.55.2023.07.04.08.55.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jul 2023 08:55:32 -0700 (PDT) Date: Tue, 4 Jul 2023 08:55:30 -0700 From: Stephen Hemminger To: Vladimir Ratnikov Cc: hkalra@marvell.com, dev@dpdk.org, Junfeng Guo , Simei Su , qi.z.zhang@intel.com, Thomas Monjalon Subject: Re: [PATCH] eal/interrupts: Allow UIO interrupts when using igb_uio Message-ID: <20230704085530.1cf47bc7@hermes.local> In-Reply-To: References: <20230614134018.2344-1-vratnikov@netgate.com> <20230614094638.2649366f@hermes.local> <8278146.NyiUUSuA9g@thomas> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Tue, 4 Jul 2023 12:45:54 +0200 Vladimir Ratnikov wrote: > Sorry for a long reply, sure. > > Stephen, > am I right that the most concern is about a place where interrupt > capabilities check appears for non MSI-X support? > What if having dedicated rte_intr_cap_single analog when there's no support > for MSI-X and just do the same(check capability, allocate interrupt vector > etc) ? > > > Regards, > -Vladimir With single interrupt, only link state interrupt is possible. Does that work with igb_uio? It should, if not then yes rte_intr_cap_single or something like that is needed.