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 F380A43255; Tue, 31 Oct 2023 18:17:31 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BC2A6402CB; Tue, 31 Oct 2023 18:17:31 +0100 (CET) Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by mails.dpdk.org (Postfix) with ESMTP id 528024029E for ; Tue, 31 Oct 2023 18:17:30 +0100 (CET) Received: by mail-pg1-f174.google.com with SMTP id 41be03b00d2f7-577fff1cae6so22764a12.1 for ; Tue, 31 Oct 2023 10:17:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698772649; x=1699377449; darn=dpdk.org; 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=gKPBGeO5fHJzrKfw99lNX59RCk7lN0k41Zny/gc4iGg=; b=M2UPy+nwY09pJXzUQASKFGsVqaMcdgFpcMO4Nw3pgU5k3PyKwmbThuLHu7csDaXRJN UPJIPw791r55XcN31CV3EO6G4EAKmRqWtfBFt746UHzw6xW227aExUErvHd7oFR+Q0M4 Q4RSUAVQ03HtgJAbTFsu6mNEubx7MfCy8lKnQaOM+2QvOZD/4CeUU9VcfzBwC4UpwPBr Q2/ngFgrskFwGmgLdOQOj7PKO/72ff0oMNfK3mh2h+ff/7hTqN3PUO4M5kB83f5fqFlb EZXvVlf/iIq7jvvy52dDA/QinGh+tJDm3I2SLy3OTg5FoZWEbWm1i6aVNo4OuohP5iHC 3XNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698772649; x=1699377449; 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=gKPBGeO5fHJzrKfw99lNX59RCk7lN0k41Zny/gc4iGg=; b=CMI4iuUbz5QJf+kANfseJlVnqq9TBU1y3mPWMfs2i90ZgIuY47D49K+yv/GyVAEelA W1NewKSQwaKBIviQ4+txqGFiaoOeU1qm724WXkhf0iEux9kiu+1FmLOQ3YRTSXcABwGl G0kHzOBTlcpIjhxLpz/zml+CzqNsvmOWrDexZ/d/gXpmliNlZln0Y1uK8jqBuUvs3gET GDsAXhxghzBdgQdZCiwnPmRa9g6FybH9ssYujflDHEQlz8r1VWyGwdiIl0laWYxaC+6I jF0lnXIxdH2JH0tROf/t068AGlk5Q3IqfQ1DKh5Yw7baySiYDhxe70SYUGASL5FQ1es8 iIaw== X-Gm-Message-State: AOJu0YzWFLKIJFHTtalbL+Y3sI7C9csJqxlC5rnvFq6xMfVAG6QZoxSn /d8wZ1KEDTEc5BYqh3Ij4hKuoA== X-Google-Smtp-Source: AGHT+IEccC4UXXInBnVklX7w2UDsiRvFRBebxMLaDfZxMNwmAIrYk3kX4FK5K9i5qxpJQglCyyPnBQ== X-Received: by 2002:a05:6a20:7f99:b0:17b:a34d:5b56 with SMTP id d25-20020a056a207f9900b0017ba34d5b56mr4416545pzj.19.1698772649458; Tue, 31 Oct 2023 10:17:29 -0700 (PDT) Received: from fedora ([38.142.2.14]) by smtp.gmail.com with ESMTPSA id t9-20020a63a609000000b005b92ba3938dsm1275165pge.77.2023.10.31.10.17.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 10:17:29 -0700 (PDT) Date: Tue, 31 Oct 2023 10:17:24 -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: <20231031101724.199674bb@fedora> In-Reply-To: References: <20230614134018.2344-1-vratnikov@netgate.com> <20230614094638.2649366f@hermes.local> <8278146.NyiUUSuA9g@thomas> <20230704085530.1cf47bc7@hermes.local> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-redhat-linux-gnu) 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 20:19:05 +0200 Vladimir Ratnikov wrote: > On systems with I225 interfaces it works in interrupt mode(rx), so not only > LSE interrupts are supported. > I could try add rte_intr_cap_single functionality and recheck it twice(if > several interfaces works in rx_mode=interrupt) > But actually it worked with changes above(CPU utilization close to the > zero, data passes through the interface etc) If you want to use interrupts please use VFIO where it is possible to support MSI-X correctly. In the past, there was a proposed patch to handle multiple IRQ vectors with igb_uio but it needed other kernel changes to work. These changes were rejected upstream and led to the changes to VFIO to work without IOMMU. That is a better and supported upstream.