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 52E6B41EAC; Thu, 16 Mar 2023 09:59:34 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3285E40FDF; Thu, 16 Mar 2023 09:59:34 +0100 (CET) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id DC9B040EF1; Thu, 16 Mar 2023 09:59:32 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 36C2C5C00B6; Thu, 16 Mar 2023 04:59:32 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 16 Mar 2023 04:59:32 -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=fm2; t=1678957172; x=1679043572; bh=7ZyH0fBXjY 0EqJ0+Xlj9QhLC4+xUIzUuu+HIPROtHGo=; b=E0gIHWji/I1AXTEXUwxPSiOuL3 kWIuWBKKhRg8KgXQFIHbkJkpyDQP00S6s/eAXhNp82bDg6agY9U4HoKsF6BlmtXP muvKGvGxBLAPQMdNd5kK8en27jcbAe1HLP8OAzqRRKnBc2ex5un0oJb/pnMnw5Kv AAWyHteyeBrLqDWZAP5BU/SjxOuSSjNfh7VwuMoBHo2KLnfwNuhngOta/WmMlinH Y0VvWAVFg87hbcV9/83UvOspx3aXWBUNB5L4rVXe2zGL5xOfL/W72zQx1r8Ra7b9 BDY83YN4P4gWl59aJi3CSBc3UqBzYIRz8cy2N1CXPeZqwJEu6OVaS0+6tSkw== 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=fm2; t=1678957172; x=1679043572; bh=7ZyH0fBXjY0Eq J0+Xlj9QhLC4+xUIzUuu+HIPROtHGo=; b=uEyVqNqY8qUgITA0SstXizikNtR6a XSYyhpOZhn5/px5CTXLfxx9oAbKc7l3N4x2D5ZqFleGK1jwKgvv4uOUz2K8g6jMy APffM+KCXuM0IlrGUUn7DQ3b3rlJKVnujqbmtYSYQwUDWwvAdhWTJ7Ie8Xk+753Q hGHTUosJkRNXN/5jJRpzRlNwdNsQ4ap4sjVKlsTIvClXMpB85ht2jip8qEN/wTz4 e3PNTZO6tyCtCw2GGVToByUScEfR2J4ITqj+KMqkq+cmgnuVhyboZwpzeWRYpFvq pW29Dc7E153hbbTasHoJCkK8fpseaw4+dKJdNvssdlPpzeprnyaK6r7WQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvddvledguddvjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepveevfeevieeihfetudekgeekleeigeffueekveduteeuffeiudev teeiudekfeelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 16 Mar 2023 04:59:31 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: stable@dpdk.org, David Marchand , Elena Agostini Subject: [PATCH] gpudev: export header file for external drivers Date: Thu, 16 Mar 2023 09:59:19 +0100 Message-Id: <20230316085919.46500-1-thomas@monjalon.net> X-Mailer: git-send-email 2.39.1 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 In DPDK 21.05, the option driver_sdk_headers was introduced to export required headers to allow building out-of-tree drivers. In DPDK 21.11, the gpudev driver class was introduced, without this out-of-tree compatibility. It is fixed by exporting gpudev_driver.h as part of the driver SDK. Fixes: 8b8036a66e3d ("gpudev: introduce GPU device class library") Cc: stable@dpdk.org Reported-by: David Marchand Signed-off-by: Thomas Monjalon --- lib/gpudev/meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/gpudev/meson.build b/lib/gpudev/meson.build index 89a118f357..40dd6c0ffc 100644 --- a/lib/gpudev/meson.build +++ b/lib/gpudev/meson.build @@ -5,6 +5,10 @@ headers = files( 'rte_gpudev.h', ) +driver_sdk_headers = files( + 'gpudev_driver.h' +) + sources = files( 'gpudev.c', ) -- 2.39.1