From patchwork Sun May 2 20:15:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 92625 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0E557A0524; Sun, 2 May 2021 22:16:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8352A40150; Sun, 2 May 2021 22:16:22 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id 66BCE40142 for ; Sun, 2 May 2021 22:16:20 +0200 (CEST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id D90A75C0117; Sun, 2 May 2021 16:16:19 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sun, 02 May 2021 16:16:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=SkpAap3nD+KXgh1VgZg8SIGljg UsQhBizYSvQAmNpUM=; b=EY2pyMK/rFBAusptLK5DIUxgXwXCNCzHH3/eAeEh09 QgQCNohZvluC2R7CvKPno9PBmnkY46wrW3eZbzh4m7mdcaZnXYefpa4q0Dn3B6yw xC1OOr4ECNE9z2qjWM1LX+KQRFa6kFkkn99J0kkWmWJeTsX9m50Q2oqkcVIa9BMx OORWPBFJc4bz1Aa4KpWtFb/KMzdDOHmau69mHZNSo+gqDotdJdCQ84CpAjUw1wix ryvrP0/6Wr/dZkuXs/I3EwQ5rKaCFEDVo40Z/x96WuJKA73UZKNABk1ew2nBPF+c ejpU0LxClAqhKC6kZVi7qhiOz/XeKbUrTBdsN8hIOvCw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=SkpAap3nD+KXgh1Vg Zg8SIGljgUsQhBizYSvQAmNpUM=; b=g2pHYyrLGh3Z+O6cvx8zkJg/oI55Ox0E/ FHynwzy5MM2XMTJMW1B34owqjrzApjv1V41mHvLHxIyLkjqVnQnV298ERDrWkQtj 2Dx77xwBAc8e2CrR8y0y4nn0Wlg/kBDir1wNc2hmaamnYrqLEc7HqTjv/w/jJisJ ePSnl8L0pRehVsn6COkTpUWa4rVHgk6NhEokfo5qAbwvKa4vEEzMSCDWvnznmGdw wW/OisOmiIPY08IfcGShQPPlNtMCwAfuNuBMmQcJlphhR1isTe8PfDK68BGs08Mc BYEXcBqGmlBLCZyzUpJSDA6tQZx7qeiiwVgXL7BsxfLjXNslxC8Uw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdefvddgheegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgrshcu ofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecuggftrf grthhtvghrnhepvdelvdduhedvudduveeuvdevheegudelgeeigfejheduhedttdegudff jeeihffgnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhn rdhnvght X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 2 May 2021 16:16:18 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: Anatoly Burakov Date: Sun, 2 May 2021 22:15:52 +0200 Message-Id: <20210502201552.443813-1-thomas@monjalon.net> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH] bus/pci: update files description 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" Some files were starting with some outdated introductions. Signed-off-by: Thomas Monjalon Reviewed-by: David Marchand --- drivers/bus/pci/bsd/pci.c | 9 +-------- drivers/bus/pci/linux/pci.c | 6 +----- drivers/bus/pci/linux/pci_vfio.c | 2 +- drivers/bus/pci/rte_bus_pci.h | 3 +-- 4 files changed, 4 insertions(+), 16 deletions(-) diff --git a/drivers/bus/pci/bsd/pci.c b/drivers/bus/pci/bsd/pci.c index 4b8a208781..d189bff311 100644 --- a/drivers/bus/pci/bsd/pci.c +++ b/drivers/bus/pci/bsd/pci.c @@ -45,14 +45,7 @@ /** * @file - * PCI probing under BSD - * - * This code is used to simulate a PCI probe by parsing information in - * sysfs. Moreover, when a registered driver matches a device, the - * kernel driver currently using it is unloaded and replaced by - * nic_uio module, which is a very minimal userland driver for Intel - * network card, only providing access to PCI BAR to applications, and - * enabling bus master. + * PCI probing under BSD. */ extern struct rte_pci_bus rte_pci_bus; diff --git a/drivers/bus/pci/linux/pci.c b/drivers/bus/pci/linux/pci.c index 0dc99e9cb2..eb12d2ff70 100644 --- a/drivers/bus/pci/linux/pci.c +++ b/drivers/bus/pci/linux/pci.c @@ -21,11 +21,7 @@ /** * @file - * PCI probing under linux - * - * This code is used to simulate a PCI probe by parsing information in sysfs. - * When a registered device matches a driver, it is then initialized with - * IGB_UIO driver (or doesn't initialize, if the device wasn't bound to it). + * PCI probing using Linux sysfs. */ extern struct rte_pci_bus rte_pci_bus; diff --git a/drivers/bus/pci/linux/pci_vfio.c b/drivers/bus/pci/linux/pci_vfio.c index 07706f7338..a024269140 100644 --- a/drivers/bus/pci/linux/pci_vfio.c +++ b/drivers/bus/pci/linux/pci_vfio.c @@ -29,7 +29,7 @@ /** * @file - * PCI probing under linux (VFIO version) + * PCI probing using Linux VFIO. * * This code tries to determine if the PCI device is bound to VFIO driver, * and initialize it (map BARs, set up interrupts) if that's the case. diff --git a/drivers/bus/pci/rte_bus_pci.h b/drivers/bus/pci/rte_bus_pci.h index 64886b4731..cfc804ea10 100644 --- a/drivers/bus/pci/rte_bus_pci.h +++ b/drivers/bus/pci/rte_bus_pci.h @@ -8,8 +8,7 @@ /** * @file - * - * RTE PCI Bus Interface + * PCI device & driver interface */ #ifdef __cplusplus