numam-dpdk/lib/librte_kni
Ferruh Yigit de480bbf13 kni: fix build with Linux 4.9.x
The 'get_user_pages_remote()' API is updated in kernel 4.10.0 [1],
but the check added as > 4.9.0,
this logic is broken for kernels 4.9.x, because they justify
> 4.9.0 check but have the old API.

Fixing the check as >= 4.10.0

[1]
commit 5b56d49fc31d ("mm: add locked parameter to get_user_pages_remote()")

Fixes: d965af9e8a ("kni: increase kernel version requirement for VA")

Reported-by: Andrew Rybchenko <arybchenko@solarflare.com>
Suggested-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Tested-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
2019-11-28 14:48:24 +01:00
..
Makefile build: remove individual library versions 2019-11-20 23:05:39 +01:00
meson.build build: remove individual library versions 2019-11-20 23:05:39 +01:00
rte_kni_fifo.h kni: fix kernel crash with multi-segments 2019-07-15 22:48:20 +02:00
rte_kni_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
rte_kni.c kni: fix build with Linux 4.9.x 2019-11-28 14:48:24 +01:00
rte_kni.h kni: add ability to set min/max MTU 2019-10-27 11:07:43 +01:00