[dpdk-stable] [PATCH 1/1] kni: fix build with kernel 5.3
Luca Boccassi
bluca at debian.org
Thu Oct 24 10:05:44 CEST 2019
On Thu, 2019-10-24 at 09:31 +0200, Christian Ehrhardt wrote:
> The include of kni_fifo should be local as kni provides it.
> With newer kernels build systems this will run into an issue on
> external module compilation.
>
> /var/lib/dkms/dpdk-rte-kni/17.11.6/build/kni_net.c:40:10:
> fatal error: kni_fifo.h: No such file or directory
> #include <kni_fifo.h>
> ^~~~~~~~~~~~
>
> Like the includes to kni_dev.h this should be local as well.
>
> Signed-off-by: Christian Ehrhardt <
> christian.ehrhardt at canonical.com
> >
> ---
> lib/librte_eal/linuxapp/kni/kni_net.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/librte_eal/linuxapp/kni/kni_net.c
> b/lib/librte_eal/linuxapp/kni/kni_net.c
> index db9f48989..1802f9d0b 100644
> --- a/lib/librte_eal/linuxapp/kni/kni_net.c
> +++ b/lib/librte_eal/linuxapp/kni/kni_net.c
> @@ -37,7 +37,7 @@
> #include <linux/delay.h>
>
> #include <exec-env/rte_kni_common.h>
> -#include <kni_fifo.h>
> +#include "kni_fifo.h"
>
> #include "compat.h"
> #include "kni_dev.h"
>
Acked-by: Luca Boccassi <bluca at debian.org>
--
Kind regards,
Luca Boccassi
More information about the stable
mailing list