On Fri, 16 Dec 2022 at 12:57, Ferruh Yigit <ferruh.yi...@amd.com> wrote:
>
> 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>
> ---
> Cc: Daxue Gao <daxuex....@intel.com>
>
> Cc: Christian Ehrhardt <christian.ehrha...@canonical.com>
> This also needs to be backported to v19.11 LTS
> ---
>  linux/igb_uio/igb_uio.c | 8 +-------
>  1 file changed, 1 insertion(+), 7 deletions(-)

Tested-by: Luca Boccassi <bl...@debian.org>

Reply via email to