numam-dpdk/lib/librte_eal
Ferruh Yigit d965af9e8a kni: increase kernel version requirement for VA
A build error reported related to the selected 'get_user_pages_remote()'
kernel API:

.../kernel/linux/kni/kni_dev.h:113:8:
  error: too few arguments to function ‘get_user_pages_remote’
  ret = get_user_pages_remote(tsk, tsk->mm, iova, 1
        ^~~~~~~~~~~~~~~~~~~~~

Currently there are three versions of the 'get_user_pages_remote()'
supported, based on kernel version < 4.9, = 4.9, > 4.9.

These version based checks are not working fine with the distro kernels
which is the cause of reported build error. The error reported by the
kernel version 4.8, but it is using API defined in > 4.9.

To be able to take control of this, and possible more, related build
error, increasing the minimum supported kernel version for iova=va with
KNI to kernel version 4.9.

This leaves us with single version of the kernel API and more manageable.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
2019-11-21 00:18:02 +01:00
..
common net/memif: support zero-copy slave 2019-11-20 17:36:06 +01:00
freebsd build: remove individual library versions 2019-11-20 23:05:39 +01:00
linux kni: increase kernel version requirement for VA 2019-11-21 00:18:02 +01:00
windows/eal eal: make lcore config private 2019-10-27 10:35:11 +01:00
Makefile build/freebsd: rename macro BSDPAPP to FREEBSD 2019-03-12 23:01:14 +01:00
meson.build build: remove individual library versions 2019-11-20 23:05:39 +01:00
rte_eal_exports.def build: add module definition files for Windows 2019-04-03 01:21:31 +02:00
rte_eal_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00