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 4BEC8A0562; Thu, 4 Mar 2021 08:15:03 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CCD9240684; Thu, 4 Mar 2021 08:15:02 +0100 (CET) Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) by mails.dpdk.org (Postfix) with ESMTP id C1EE340147 for ; Thu, 4 Mar 2021 08:15:01 +0100 (CET) Received: by mail-lf1-f46.google.com with SMTP id q25so21261367lfc.8 for ; Wed, 03 Mar 2021 23:15:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=A/DKVVFn/EGtOL2XhBwxailjhxO0h1VClIczUACi4Kg=; b=cBF+1EHVV9vzLoIz/W340bZqp5Z7V3W1Y2iteG/OtbwQgY0CfHmEVZCbwJ7ogfBDyF f2V1A/mPk5+ecQOTnBFSUHcjYj439pDm8ESCmsutKfrDaijU9CCCIN1MIFf2hzTmqYsS o+FjY2vieZ+wZlQcavDcUe9rsSUjV3HW4t+mEsxZeuA1dYVepdUfkCGMafg5ycEC++dh ECwB5Fuwo0vo5VUZBnxUdTB9zM9JyItT3s+xDft4g3bYlAClqFaVyQUWXdLRdOHB3eEZ TF7QLEw/btXmhrDiur2gIy1rl4WbHtqlYNuVLJlWWbTNobQn7hh6lgjyhAkRCe6MdAHU b27Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=A/DKVVFn/EGtOL2XhBwxailjhxO0h1VClIczUACi4Kg=; b=Z8Dws9/mviFREceRfdDsyvRxbOeYqKP7TXuACxp3CXaJD8dm6jtFUiz9WGYlGLMvZF NsrASU8FxeoQcc8MeHuKWk/xn9RBsQb4YRFbOb3bFWyLp5WjI2PbK3uUhlj0sj4flgjB fwVhinBhIpu1RtvUsUlQUADEMqLm/7f9lmCsSQbUDEPzDt0iH0HI7q3Ov+x3sUU+D+gf srHPcpBLS7jZYbjf63MGNbJVMSCPjPHF0yPQqdcUcU4eDL0n1CgLjB9653CQNJ8BUmxI ffMv5tPNvLOvStBNyt+sqJ8KNKmUvBkq6WRyyUFEtTykkj0fRrzwv90J0F6QlMPpRn3V gG9Q== X-Gm-Message-State: AOAM5308jtH+ouEYTWskBkc2+//W6t4unUIh+7xcl8R1w5y8Q7ywglsF FOQl3fdLcwbwEYoO+IIcz94= X-Google-Smtp-Source: ABdhPJy8SBVMuXdrPh115r59EzumJNAbbvcTZ4w8wffWmp+N2HJogBqQun0/pWdIdMCNeyIYSr1hSw== X-Received: by 2002:a05:6512:1094:: with SMTP id j20mr1602643lfg.442.1614842101348; Wed, 03 Mar 2021 23:15:01 -0800 (PST) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id l7sm1869691lje.30.2021.03.03.23.15.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 23:15:00 -0800 (PST) Date: Thu, 4 Mar 2021 10:14:59 +0300 From: Dmitry Kozlyuk To: Khoa To Cc: dev@dpdk.org, pallavi.kadam@intel.com Message-ID: <20210304101459.4fad16f0@sovereign> In-Reply-To: <20210301065241.237-1-khot@linux.microsoft.com> References: <20210301062208.1904-1-khot@linux.microsoft.com> <20210301065241.237-1-khot@linux.microsoft.com> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v4] bus/pci/windows: support for PCI scan allowed and blocked lists 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" 2021-02-28 22:52, Khoa To: > EAL -a and -b options are used to specify which PCI devices are > explicitly allowed or blocked during PCI bus scan. This evaluation > is missing in the Windows implementation of rte_pci_scan. > > This patch provides this missing functionality, so that apps can specify > which NetUIO devices to ignore during PCI bus scan. > > Signed-off-by: Khoa To > --- > v4: > * Fix coding style warning with unaligned comments > v3: > * Move the check inside pci_scan_one > * Small change to pci_scan_one to malloc only after checks succeeded > v2: > * Truncate commit description lines to 75 charaters or less > > drivers/bus/pci/windows/pci.c | 23 ++++++++++++++++------- > 1 file changed, 16 insertions(+), 7 deletions(-) Acked-by: Dmitry Kozlyuk