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 14257A0A02; Mon, 5 Apr 2021 11:15:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A50A6140E37; Mon, 5 Apr 2021 11:15:19 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id AD3F6140E23 for ; Mon, 5 Apr 2021 11:15:17 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 5AEFD5C00AA; Mon, 5 Apr 2021 05:15:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 05 Apr 2021 05:15:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=ywGjQX9SO8BhW KxeDZOiPLxEN5Mqf1NLAAw0jCjm7R8=; b=AkNJs8CSZUhQLKSKZc78hUbJcylG8 rqJKOPU+bVFM7s9p5GiGEaEQN6AobeOkTMFfBGuHN7v19hUSJb/65YAn2z7pkftx zdfEq/JWFaQ9IhNHSc4sWdLwq1h5tpEeLnFAIiqEmtiBKy73j/tWYpgIdxzOodXO x0oE8OMTW1GbL5CTKQW9PVi/bi4ZNgzFIsALnbYH+pvwFOVqjxu0tou62HOdEctf yZujsVjMV2m9ViH7xc6WXFtOGRg7HeGu3XrM6tG61iykGNnOtTLQPFcs89abjPfB XyIbvvZlxr09tAuorqpCC4GywJUZ8mEwf1sfGqMI7iuuDJohyExhG6UYw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=ywGjQX9SO8BhWKxeDZOiPLxEN5Mqf1NLAAw0jCjm7R8=; b=TazBBKB5 xZZZspgIwYQhLEGiouyDmqKN6xAczIvKKyFjL5Pqdxr/mNsfhPNU2DW+yVsUOXBk 9j56Jj07BBStajmgaiHAoRbg++T8etNl53haUzbFvJOJGZa0jlspStus4azpMT3/ G/VIQVPYGG5Qbhk7yB8g2NO3zdwPgaVs6j9vo0pdAL/GTBfHtQcKYUcYpIzmspIf 7+E9HztW9Zz+KPhpA5ufZh4UWR9b0PWJB0yiyRX+frSkMgq741rCc1WbprSZnRmz U2FMf29wz6yybjRFIfU70c8bbrsRSnK5wHR5Qb8Cf4xyXdKmSE8Ur6IrG3so2prE 26UVuy0fQo1oyA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudejvddgudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshes mhhonhhjrghlohhnrdhnvghtqeenucggtffrrghtthgvrhhnpedvhefgiedvjeegtdevhe efhfetleefgfeivefgffevfeejgedtgfeutdehtdegveenucfkphepjeejrddufeegrddv tdefrddukeegnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth 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 id E173B240054 for ; Mon, 5 Apr 2021 05:15:16 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Date: Mon, 5 Apr 2021 11:15:05 +0200 Message-Id: <20210405091506.562830-3-thomas@monjalon.net> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210405091506.562830-1-thomas@monjalon.net> References: <20210331223423.2089467-1-thomas@monjalon.net> <20210405091506.562830-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 2/2] bus/pci: rename probe/remove operation types 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" The names of the prototypes pci_probe_t and pci_remove_t are missing a prefix rte_. These function types are simply renamed. No compatibility break is expected for the applications because it is considered as an internal name in the driver interface. Signed-off-by: Thomas Monjalon --- drivers/bus/pci/rte_bus_pci.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/bus/pci/rte_bus_pci.h b/drivers/bus/pci/rte_bus_pci.h index 3a092bc6d5..64886b4731 100644 --- a/drivers/bus/pci/rte_bus_pci.h +++ b/drivers/bus/pci/rte_bus_pci.h @@ -112,12 +112,12 @@ struct rte_pci_device { /** * Initialisation function for the driver called during PCI probing. */ -typedef int (pci_probe_t)(struct rte_pci_driver *, struct rte_pci_device *); +typedef int (rte_pci_probe_t)(struct rte_pci_driver *, struct rte_pci_device *); /** * Uninitialisation function for the driver called during hotplugging. */ -typedef int (pci_remove_t)(struct rte_pci_device *); +typedef int (rte_pci_remove_t)(struct rte_pci_device *); /** * Driver-specific DMA mapping. After a successful call the device @@ -164,8 +164,8 @@ struct rte_pci_driver { TAILQ_ENTRY(rte_pci_driver) next; /**< Next in list. */ struct rte_driver driver; /**< Inherit core driver. */ struct rte_pci_bus *bus; /**< PCI bus reference. */ - pci_probe_t *probe; /**< Device Probe function. */ - pci_remove_t *remove; /**< Device Remove function. */ + rte_pci_probe_t *probe; /**< Device probe function. */ + rte_pci_remove_t *remove; /**< Device remove function. */ pci_dma_map_t *dma_map; /**< device dma map function. */ pci_dma_unmap_t *dma_unmap; /**< device dma unmap function. */ const struct rte_pci_id *id_table; /**< ID table, NULL terminated. */ -- 2.31.1