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.yi...@amd.com>
The patch from Georg is doing the same and was sent earlier: https://patches.dpdk.org/project/dpdk/patch/20221006185136.1634218-1-georgmuel...@gmx.net/