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 39D4D431AD; Thu, 19 Oct 2023 17:41:42 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B33B14021F; Thu, 19 Oct 2023 17:41:41 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id A574240150 for ; Thu, 19 Oct 2023 17:41:39 +0200 (CEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 21BD95C013A; Thu, 19 Oct 2023 11:41:37 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 19 Oct 2023 11:41:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm3; t=1697730097; x=1697816497; bh=NFBJtV26fU +vibmsBsxhLxK+3TWIym+knMrdRjwB9Zc=; b=KCm62DFsEeuUCNLpNQuZEs694m tCjyTgfkZYJzXrDuDQcOEMB58HaUmbXtbvN85MxQmMh0ICyBZ4Bn+cAxCWHW+cmX EoN+ucvkVkfkItlHSo1gIdCtvYQxO1ceoj7fwHDwLPtrVqJjeI0GsRLitSwqY/1m vrxMMWkoE3++2zy9q5kOBDsoY5t9J47P0rRub5VTog9k5pHL0JZJe38U8Pwo/Rnl 2GNj+c5YM18MmEtZUH/9TJHE19ua12/xDv19uLcU8Ir+HlIYEtdPimzm4PgYKGOc ApLzfkamHU3a8/BFY2mDUFJ3GacH+YsSFSl7AKt2cUgURP4g2KCeMihmC8Yg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1697730097; x=1697816497; bh=NFBJtV26fU+vi bmsBsxhLxK+3TWIym+knMrdRjwB9Zc=; b=bbyKhVBMmBUYk7Vt9MD5/Eu3eIUqq 3zo7rJdFuW+sT+ogGA4g45HhXzAd4EVHZq8VBukzASakSFZzU3tNmAoMDXKdFmro u+zCGYsozg6urYFeRD9vzeTztCnAq2oHoO1k3RxXuRUBd55Az6sBRr/5GliRzaJj IKpISrsBToT/tXaNnHYY79NGX5guxcv/nbUGskQ4Lh5hglTtZrlLizgLJjptohG4 x9TM1GR5yf+36G0bvvSTSI3EZgRrvjrY7GeDoGjzva7xopnF6uXKI+xJXqBvPpOd AOnT6QLFYkRQ5JNuJ+5jQaJDpVt2ubOd37KeanVYC45n8cqFUr8qTNKcA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrjeeigdeltdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgrshcu ofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecuggftrf grthhtvghrnhepveevfeevieeihfetudekgeekleeigeffueekveduteeuffeiudevteei udekfeelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 19 Oct 2023 11:41:36 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: David Marchand , chenbox@nvidia.com Subject: [PATCH 0/2] small cleanup - use PCI lib Date: Thu, 19 Oct 2023 17:31:51 +0200 Message-ID: <20231019154125.308002-1-thomas@monjalon.net> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Some drivers could use more the PCI lib facilities. Thomas Monjalon (2): drivers: use macro for PCI address format drivers: use function to compare PCI addresses drivers/event/skeleton/skeleton_eventdev.c | 2 +- drivers/net/ena/ena_ethdev.c | 2 +- drivers/net/enic/enic.h | 3 +-- drivers/net/enic/enic_ethdev.c | 2 +- drivers/net/enic/enic_vf_representor.c | 2 +- drivers/net/hinic/hinic_pmd_ethdev.c | 4 ++-- drivers/net/mana/mana.c | 6 ++---- drivers/net/mlx4/mlx4.c | 5 +---- drivers/net/mlx5/linux/mlx5_os.c | 7 ++----- drivers/net/thunderx/nicvf_ethdev.c | 2 +- 10 files changed, 13 insertions(+), 22 deletions(-) -- 2.42.0