From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 9C97641BDD;
	Sun,  5 Feb 2023 18:41:12 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 4010E40A89;
	Sun,  5 Feb 2023 18:41:12 +0100 (CET)
Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com
 [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id 4418A40A7D
 for <dev@dpdk.org>; Sun,  5 Feb 2023 18:41:11 +0100 (CET)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.46])
 by mailout.nyi.internal (Postfix) with ESMTP id D7B1E5C01D1;
 Sun,  5 Feb 2023 12:41:10 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute2.internal (MEProxy); Sun, 05 Feb 2023 12:41:10 -0500
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:in-reply-to:message-id:mime-version:references
 :reply-to:sender:subject:subject:to:to; s=fm3; t=1675618870; x=
 1675705270; bh=NtQbO7MGCVUjdcM/DXtDItm4wq38MIJ8eeT01Nza/JM=; b=F
 a1wFX+o4+RFBop2x8lLsv0x9kIusuR2FhE1aRrhCc6ERZO8ST4zDA5GL+C0Yr8wf
 J7lpiBuZn+SU3yuAo3d368ifEdb4xevr8YMZfqEHYCdonJFvUPSc7gu5TKx1J3WR
 dJOGi7Vtojb/9/6B2b3+2eqzHy95j9uozHBE2RuMebmwzsVqMruw7r3u8Lu7FUQp
 T5n9D8m65q059qXO8a7BQHMbNxGERUkpiyzXA5ad7P/pExtGsX/SLr6iuZ+tKWu/
 /ix9iKHGsdHv4qzvll1N9L1sdVRBqjC+MFWcf7sX2gK3P4wVYHyjuJPZh5IImXOs
 /xZ61QxzKL27H9TAhRbkg==
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:in-reply-to:message-id:mime-version:references
 :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=1675618870; x=
 1675705270; bh=NtQbO7MGCVUjdcM/DXtDItm4wq38MIJ8eeT01Nza/JM=; b=q
 ERHdfLKR6+0Aeb5vLAc2UgM5eNvDd77uUGIlL8Wl1hxLkGXP1N6yVqgBSF7H7qSH
 9gz1mIdrsgqy3PHG0/BWWVxC6krGHBY9wHq3iMSrqLUJ2my3XPP2OwwnDfKoAYso
 var5Hl7QJyew5/EQPMG8AahL1qdtjnJnDoUE6ZAV+y5tUcPkkpRU7q7sfKelBT6g
 DdnCiHekBCH5Rd0BHNDhbchiDuxWpwnRo/TsboK4zT8I9/Oq7w722jr8+vE2BbIG
 MYZxbj57xXw0g6myXqEOclXlz1npH4yHwlFhThK7DmKh5+Tcl+6hmq2He1DpnWnU
 ZFzyW5Gk6AB3YVccByfMA==
X-ME-Sender: <xms:NurfY1lEt2PS11Dt3B1kTdrXSX3ReDj6FkARiSbGWno31E0H74Vzaw>
 <xme:NurfYw0scpTWhQF9PoQSsBnlnVQKWXgYhkJHux12SRRPWSLpBAAHrHDdOhG67vxj0
 FV9WRDbPTXQLJ3Ing>
X-ME-Received: <xmr:NurfY7rHjKHPZjoJTWmlCheow0P1Mgm0i173e8KVjkM3MBaI4NmrEfEBPPTMJQivbiAP4sTU2B09ht0iI2KIOt4qgg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeggedguddtgecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
 enucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhho
 mhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqne
 cuggftrfgrthhtvghrnhepjeejffffgfffkeefffelgfekleetjeffleeludeghfehleff
 teehveduffdugfdvnecuffhomhgrihhnpeguphgukhdrohhrghenucevlhhushhtvghruf
 hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl
 ohhnrdhnvght
X-ME-Proxy: <xmx:NurfY1mSvfQOh5GOGjo7Xffxy8eHBXF7N8Nl20djLqPnhLXcVNpBJg>
 <xmx:NurfYz0Kg9qPHZC-ZhVnDt3LlYAxuygKVXsd2CNr6yVgNJUSYShgjg>
 <xmx:NurfY0vGIJzR_CJTyxOBr0AGs8oF90gJNKMhNzo86-F-Kx5Ot-BGeQ>
 <xmx:NurfY0yK4Z5eV0e_KJqOZ21bYtj9sjMSPxwou4bLJmHu3IbGlgEQ3Q>
Feedback-ID: i47234305:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun,
 5 Feb 2023 12:41:09 -0500 (EST)
From: Thomas Monjalon <thomas@monjalon.net>
To: Ferruh Yigit <ferruh.yigit@amd.com>
Cc: dev@dpdk.org, David Marchand <david.marchand@redhat.com>,
 Daxue Gao <daxuex.gao@intel.com>,
 Christian Ehrhardt <christian.ehrhardt@canonical.com>
Subject: Re: [PATCH dpdk-kmod] linux/igb_uio: fix build with kernel 5.18
Date: Sun, 05 Feb 2023 18:41:03 +0100
Message-ID: <45288920.fMDQidcC6G@thomas>
In-Reply-To: <20221216115732.3552650-1-ferruh.yigit@amd.com>
References: <20221216115732.3552650-1-ferruh.yigit@amd.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

16/12/2022 12:57, Ferruh Yigit:
> In Linux kernel v5.18, "pci-dma-compat.h" wrapper file is removed [1].
> 
> Some APIs in that wrapper file were used by igb_uio kernel module and
> kernel module build fails after mentioned commit.
> 
> Fixed build for v5.18 by replacing APIs in igb_uio.
> 
> Replaced APIs are available in Linux v4.4 (minimum Linux kernel version
> supported by DPDK), so no Linux version check is needed.
> 
> [1]
> Commit 7968778914e5 ("PCI: Remove the deprecated "pci-dma-compat.h" API")
> 
> Bugzilla ID: 1142
> 
> Signed-off-by: Ferruh Yigit <ferruh.yigit@amd.com>

The patch from Georg is doing the same and was sent earlier:
https://patches.dpdk.org/project/dpdk/patch/20221006185136.1634218-1-georgmueller@gmx.net/