From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A87B3A09FF; Wed, 6 Jan 2021 09:23:10 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CB56316089B; Wed, 6 Jan 2021 09:23:00 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mails.dpdk.org (Postfix) with ESMTP id BD6E51606D8 for ; Wed, 6 Jan 2021 09:22:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1609921379; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=mXcpvhgGxtWWjt+hDCwMBUdLx+eKeN86cKzu3O4j4Ic=; b=B1fGr3KXVtZKZ2QoU5rZthhSOm5r8mcPrP7kTJn3Qu67yBR0/dWZ9+m1AEsNfcCs0ukdzf onW9nwziSZAZwL1a3RUjeLaaAVn3xdDvh/bbdlyWhM2VIprRU41KXSQozv6/ddGE62p6Ny bM6XBkA7sQWd8DHb6CUMSSkLLty13SU= Received: from mail-vk1-f199.google.com (mail-vk1-f199.google.com [209.85.221.199]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-258-DxPmboh6OrufnkEavIpcHg-1; Wed, 06 Jan 2021 03:22:57 -0500 X-MC-Unique: DxPmboh6OrufnkEavIpcHg-1 Received: by mail-vk1-f199.google.com with SMTP id n24so1144869vkm.2 for ; Wed, 06 Jan 2021 00:22:57 -0800 (PST) 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=mXcpvhgGxtWWjt+hDCwMBUdLx+eKeN86cKzu3O4j4Ic=; b=jG+1qzLFo9pnXiUIDayb49RxyVXedF//dxcFz196XuMur+3pNQgVY9wyVPNuJm/1ru XgY7Vp1FhC9LcgJhhJeDigvy+a85GA3qfJZrLAdcNrpMaHe5cAYPiCNxUOj30hLsPiWF mP6a4zV0vZTkTwtsKmA1p7KxQ2I9LtlICMI46+JulkuQsXkwql9XjxJbOfRTlUM25JIs tRz8LQANbL54KkemN+LYxqtx+JEGmgZQ2t22jX29ai9h+ahdOKE3MSgctNllaNipmJ7+ 5636C/Pwbq7eX4a3M5w2c+f3zLJyqrTtQ6H3nG1f4RNazqk7dGkc1FjQHXYln4cYw5EK s6sA== X-Gm-Message-State: AOAM5308ftadc6vceN1X6bUOo3/hbbouFrcDUx9owR1Aki7/tt+oH/jY ExxtpRBJDdQqVTux9cIRUqSKtO67vu2/6Cu4rtC7esrZ1fZEeZEwThNegsgIzHGXaYm9y0AJNVC dUNxQTWma/WmRCJRIPbk= X-Received: by 2002:a1f:9e83:: with SMTP id h125mr2683187vke.18.1609921377105; Wed, 06 Jan 2021 00:22:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJzgfSzO2uqJuNWM8/PFuIZVJSM8j3nDOvkekU9U/CpyLw8kRn7jJY2I44L4my/3AmwahpKaWLjCpW8mzrxamiM= X-Received: by 2002:a1f:9e83:: with SMTP id h125mr2683178vke.18.1609921376887; Wed, 06 Jan 2021 00:22:56 -0800 (PST) MIME-Version: 1.0 References: <20201220211405.313012-1-maxime.coquelin@redhat.com> <20201220211405.313012-8-maxime.coquelin@redhat.com> In-Reply-To: <20201220211405.313012-8-maxime.coquelin@redhat.com> From: David Marchand Date: Wed, 6 Jan 2021 09:22:45 +0100 Message-ID: To: Maxime Coquelin Cc: dev , "Xia, Chenbo" , Olivier Matz , Adrian Moreno Zapata Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH 07/40] net/virtio: move MSIX detection to PCI ethdev 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 Sender: "dev" On Sun, Dec 20, 2020 at 10:14 PM Maxime Coquelin wrote: > > There is no point it detecting whether we can use MSIX > every time the interrupt is enabled/disabled/masked. > > Let's do it once for all at PCI device init time. > > Signed-off-by: Maxime Coquelin Is this a rework/fix of fe19d49cb525 ("net/virtio: fix Rx interrupt with VFIO") ? -- David Marchand