From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 8BB8F42DC3;
	Mon,  3 Jul 2023 17:32:42 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 1094740EF0;
	Mon,  3 Jul 2023 17:32:42 +0200 (CEST)
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com
 [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id E7DAF40ED5
 for <dev@dpdk.org>; Mon,  3 Jul 2023 17:32:40 +0200 (CEST)
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.nyi.internal (Postfix) with ESMTP id 8828D5C0145;
 Mon,  3 Jul 2023 11:32:40 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute5.internal (MEProxy); Mon, 03 Jul 2023 11:32:40 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 cc:cc:content-transfer-encoding:content-type:content-type:date
 :date:from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:sender:subject:subject:to:to; s=fm2; t=
 1688398360; x=1688484760; bh=aOpgWtAM4xhb+qmYcUJeCfintOehhzolN4H
 wvBOGIuU=; b=XgGtwOriuJ9CvDF82JjGF2x9namGfegps9ZpE8SADh/CO6dsiyN
 j2yJommbcpntaj6RtKNjeKjRAsRcSNZcwQM1wJh1y/02jPYGt43hmJv39ppfTeJi
 YyheAFgZ4s8tF2dbR66MnJDylaWvtMWJRGrrwhoUWNIlSm3LgxISyi11ZJWG5ewp
 5dhSDnY/QDkq/ZwrXV9w27jH+EJGX+GD/os7vKj/9S/R/wr9LrvYjnuqwFf7J89a
 a3jTCSxswXy+889tfwInAkS2vZi8Jz89qdW9SP7eaa7Vb03DRz3ozJfqzvuwOsyL
 QaCUQEkyDKaeVYN1h3j/5OWWIY0HDxCWDLg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:content-type:date:date:feedback-id:feedback-id
 :from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:sender:subject:subject:to:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=
 1688398360; x=1688484760; bh=aOpgWtAM4xhb+qmYcUJeCfintOehhzolN4H
 wvBOGIuU=; b=pjXcstXQUyf5UjP+ncPiXLwMWUM1pN17D1Ob1LGfd4oy18Mbgei
 jxvbUcNO+OrOE+95s6lV5NSzgi8ZdMFGAInj3Ql7T7DVmQAA2ek7O1rBpfEWYQy5
 DiRe4lRUw3L2jFBSBM4VmXSqfBFbIAh6qMek6NAGFcMqLi55JY6hBqOzGqjULo5i
 KpPxMhQsMJxZumMCl1wCeUwKf7zEFVvDkvJqs9xNPKMIe2EKkAnAHHzCi4ojZcgM
 LAan98egXYZNZLWEtPTFyvO52t59VdILNfmhZPO3lNaoZE0D8Y1mCiSJAjAIg/Mz
 Vrd7TrT/zONeFZlbXMiIi1VS3Emo9xf1V+g==
X-ME-Sender: <xms:GOqiZFVir_AZtnhkaYfx_5WaFIEfDMilq_ENqqPcDfrtYBODR6ltmA>
 <xme:GOqiZFlYV7Gfb16OzchU2Bj7O4VJwgbHqRA6Mh4m8RMV-8lqVxg1FuxGPflrmqN7C
 0CamyF1wwzjYX8CZA>
X-ME-Received: <xmr:GOqiZBbs_JKn4LdedXt3NQGnNAqSOAwO-pKVvMddx_ESIKu2N7wcLAbWFTE7-IT1MjSdIFlxTRzcRBRS1mq1R4o7lw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedruddvgdekkecutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc
 fjughrpefhvfevufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr
 shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg
 ftrfgrthhtvghrnheptdejieeifeehtdffgfdvleetueeffeehueejgfeuteeftddtieek
 gfekudehtdfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh
 homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth
X-ME-Proxy: <xmx:GOqiZIW1985vBftwKjzt92csT8fAfa5F27ycb60NMHOH7eE1WsG8bQ>
 <xmx:GOqiZPmLbZX8yO4f16i3aBQAPC3hFTfTvS0CBshn8OWj-BWABfclxg>
 <xmx:GOqiZFfr2IN7NKWfcgh5_Yjaw3loiAXrNM6FnMWlYoVaDgF0_IMxBw>
 <xmx:GOqiZKs_lafd5woaPvY0nU8xMIdD3iNm7U7TmQ7kxiZULsBSowlBxw>
Feedback-ID: i47234305:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon,
 3 Jul 2023 11:32:39 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: Vladimir Ratnikov <vratnikov@netgate.com>, hkalra@marvell.com
Cc: dev@dpdk.org, Stephen Hemminger <stephen@networkplumber.org>,
 Junfeng Guo <junfeng.guo@intel.com>, Simei Su <simei.su@intel.com>,
 qi.z.zhang@intel.com
Subject: Re: [PATCH] eal/interrupts: Allow UIO interrupts when using igb_uio
Date: Mon, 03 Jul 2023 17:32:37 +0200
Message-ID: <8278146.NyiUUSuA9g@thomas>
In-Reply-To: <20230614094638.2649366f@hermes.local>
References: <20230614134018.2344-1-vratnikov@netgate.com>
 <20230614094638.2649366f@hermes.local>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

14/06/2023 18:46, Stephen Hemminger:
> On Wed, 14 Jun 2023 13:40:18 +0000
> Vladimir Ratnikov <vratnikov@netgate.com> wrote:
> 
> >  Some drivers and devices(ex: igc + i225/i226) use
> > RTE_INTR_HANDLE_UIO handler when captured under igb_uio
> > so just let them use it.
> > 
> > Signed-off-by: Vladimir Ratnikov <vratnikov@netgate.com>
> 
> This doesn't look right.
> 
> With UIO only a single interrupt is possible, there is no MSI-X support.

Please Vladimir, could you reply to Stephen?
I think he is suggesting a better fix in the igc driver.