[PATCH dpdk-kmod] linux/igb_uio: fix build with kernel 5.18
Luca Boccassi
bluca at debian.org
Thu Dec 22 16:35:48 CET 2022
On Fri, 16 Dec 2022 at 12:57, Ferruh Yigit <ferruh.yigit at 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.yigit at amd.com>
> ---
> Cc: Daxue Gao <daxuex.gao at intel.com>
>
> Cc: Christian Ehrhardt <christian.ehrhardt at 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 <bluca at debian.org>
More information about the dev
mailing list