Re: [PATCH dpdk-kmod] linux/igb_uio: fix build with kernel 5.18

2023-02-05 Thread Thomas Monjalon
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. > > Repla

Re: [PATCH dpdk-kmod] linux/igb_uio: fix build with kernel 5.18

2022-12-22 Thread Luca Boccassi
On Fri, 16 Dec 2022 at 12:57, Ferruh Yigit 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

Re: [PATCH dpdk-kmod] linux/igb_uio: fix build with kernel 5.18

2022-12-18 Thread Ferruh Yigit
On 12/16/2022 5:33 PM, Stephen Hemminger wrote: > On Fri, 16 Dec 2022 11:57:32 + > Ferruh Yigit 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 men

Re: [PATCH dpdk-kmod] linux/igb_uio: fix build with kernel 5.18

2022-12-16 Thread Stephen Hemminger
On Fri, 16 Dec 2022 11:57:32 + Ferruh Yigit 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 AP

[PATCH dpdk-kmod] linux/igb_uio: fix build with kernel 5.18

2022-12-16 Thread 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 Li