|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1, v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2, v21.11-rc1 |
|
| #
c28e2165 |
| 19-Oct-2021 |
Aman Singh <[email protected]> |
kni: fix build for SLES15-SP3
As suse version numbering is inconsistent to determine Linux kernel API to be used. In this patch we check parameter of 'ndo_tx_timeout' API directly from the kernel so
kni: fix build for SLES15-SP3
As suse version numbering is inconsistent to determine Linux kernel API to be used. In this patch we check parameter of 'ndo_tx_timeout' API directly from the kernel source. This is done only for suse build.
Bugzilla ID: 812 Cc: [email protected]
Signed-off-by: Aman Singh <[email protected]> Acked-by: Ferruh Yigit <[email protected]> Tested-by: Longfeng Liang <[email protected]>
show more ...
|
|
Revision tags: v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1, v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2, v21.02-rc1, v20.11 |
|
| #
95e08719 |
| 26-Nov-2020 |
Olivier Matz <[email protected]> |
kni: fix build on RHEL 8.3
Like what was done for mainline kernel in commit 38ad54f3bc76 ("kni: fix build with Linux 5.6"), a new parameter 'txqueue' has to be added to 'ndo_tx_timeout' ndo on RHEL
kni: fix build on RHEL 8.3
Like what was done for mainline kernel in commit 38ad54f3bc76 ("kni: fix build with Linux 5.6"), a new parameter 'txqueue' has to be added to 'ndo_tx_timeout' ndo on RHEL 8.3 kernel.
Cc: [email protected]
Signed-off-by: Olivier Matz <[email protected]> Tested-by: Christophe Grosse <[email protected]> Tested-by: David Marchand <[email protected]> Acked-by: Ferruh Yigit <[email protected]>
show more ...
|
|
Revision tags: v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2, v20.11-rc1 |
|
| #
87efaea6 |
| 17-Aug-2020 |
Ferruh Yigit <[email protected]> |
kni: fix build with Linux 5.9
Starting from Linux 5.9 'get_user_pages_remote()' API doesn't get 'struct task_struct' parameter: commit 64019a2e467a ("mm/gup: remove task_struct pointer for all gup c
kni: fix build with Linux 5.9
Starting from Linux 5.9 'get_user_pages_remote()' API doesn't get 'struct task_struct' parameter: commit 64019a2e467a ("mm/gup: remove task_struct pointer for all gup code")
The change reflected to the KNI with version check.
Cc: [email protected]
Signed-off-by: Ferruh Yigit <[email protected]>
show more ...
|
|
Revision tags: v20.08, v20.08-rc4, v20.08-rc3, v20.08-rc2, v20.08-rc1, v20.05, v20.05-rc4, v20.05-rc3, v20.05-rc2, v20.05-rc1, v20.02, v20.02-rc4, v20.02-rc3 |
|
| #
38ad54f3 |
| 12-Feb-2020 |
Ferruh Yigit <[email protected]> |
kni: fix build with Linux 5.6
With the following Linux commit a new parameter 'txqueue' has been added to 'ndo_tx_timeout' ndo: commit 0290bd291cc0 ("netdev: pass the stuck queue to the timeout hand
kni: fix build with Linux 5.6
With the following Linux commit a new parameter 'txqueue' has been added to 'ndo_tx_timeout' ndo: commit 0290bd291cc0 ("netdev: pass the stuck queue to the timeout handler")
The change reflected to the KNI with version check.
Cc: [email protected]
Signed-off-by: Ferruh Yigit <[email protected]> Acked-by: David Marchand <[email protected]>
show more ...
|
|
Revision tags: v20.02-rc2, v20.02-rc1, v19.11 |
|
| #
de480bbf |
| 28-Nov-2019 |
Ferruh Yigit <[email protected]> |
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.
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: d965af9e8ae1 ("kni: increase kernel version requirement for VA")
Reported-by: Andrew Rybchenko <[email protected]> Suggested-by: David Marchand <[email protected]> Signed-off-by: Ferruh Yigit <[email protected]> Tested-by: Andrew Rybchenko <[email protected]> Reviewed-by: David Marchand <[email protected]>
show more ...
|
|
Revision tags: v19.11-rc4, v19.11-rc3 |
|
| #
d965af9e |
| 20-Nov-2019 |
Ferruh Yigit <[email protected]> |
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
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 <[email protected]> Reviewed-by: David Marchand <[email protected]>
show more ...
|
| #
e73831dc |
| 17-Nov-2019 |
Vamsi Attunuru <[email protected]> |
kni: support userspace VA
Patch adds support for kernel module to work in IOVA = VA mode by providing address translation routines to convert userspace VA to kernel VA.
KNI performance using PA is
kni: support userspace VA
Patch adds support for kernel module to work in IOVA = VA mode by providing address translation routines to convert userspace VA to kernel VA.
KNI performance using PA is not changed by this patch. But comparing KNI using PA to KNI using VA, the latter will have lower performance due to the cost of the added translation.
This translation is implemented only with kernel versions starting 4.6.0.
Signed-off-by: Vamsi Attunuru <[email protected]> Signed-off-by: Kiran Kumar K <[email protected]> Reviewed-by: Jerin Jacob <[email protected]>
show more ...
|
|
Revision tags: v19.11-rc2, v19.11-rc1, v19.08, v19.08-rc4, v19.08-rc3, v19.08-rc2, v19.08-rc1, v19.05, v19.05-rc4, v19.05-rc3, v19.05-rc2, v19.05-rc1 |
|
| #
ff1e35fb |
| 26-Mar-2019 |
Liron Himi <[email protected]> |
kni: calculate MTU from mbuf size
- mbuf_size and mtu are now being calculated according to the given mb-pool.
- max_mtu is now being set according to the given mtu
the above two changes provide t
kni: calculate MTU from mbuf size
- mbuf_size and mtu are now being calculated according to the given mb-pool.
- max_mtu is now being set according to the given mtu
the above two changes provide the ability to work with jumbo frames
Signed-off-by: Liron Himi <[email protected]> Acked-by: Ferruh Yigit <[email protected]>
show more ...
|
|
Revision tags: v19.02, v19.02-rc4, v19.02-rc3, v19.02-rc2, v19.02-rc1 |
|
| #
3d5501d5 |
| 21-Dec-2018 |
David Zeng <[email protected]> |
kni: fix build on RHEL8 for arm and Power9
Signed-off-by: David Zeng <[email protected]> Acked-by: Ferruh Yigit <[email protected]>
|
| #
4c820b22 |
| 19-Dec-2018 |
Xiao Liang <[email protected]> |
kni: fix build on RHEL 8
'ndo_change_mtu_rh74' was changed to 'ndo_change_mtu' in RHEL8.
Build error log: /home/dpdk-18.11/kernel/linux/kni/compat.h:107:24: error: ‘const struct net_device_ops’ has
kni: fix build on RHEL 8
'ndo_change_mtu_rh74' was changed to 'ndo_change_mtu' in RHEL8.
Build error log: /home/dpdk-18.11/kernel/linux/kni/compat.h:107:24: error: ‘const struct net_device_ops’ has no member named ‘ndo_change_mtu_rh74’; did you mean ‘ndo_change_mtu’? #define ndo_change_mtu ndo_change_mtu_rh74 ^~~~~~~~~~~~~~~~~~~
Cc: [email protected]
Signed-off-by: Xiao Liang <[email protected]> Acked-by: Ferruh Yigit <[email protected]>
show more ...
|
|
Revision tags: v18.11, v18.11-rc5, v18.11-rc4, v18.11-rc3, v18.11-rc2, v18.11-rc1, v18.08, v18.08-rc3, v18.08-rc2, v18.08-rc1, v18.05, v18.05-rc6, v18.05-rc5, v18.05-rc4, v18.05-rc3, v18.05-rc2, v18.05-rc1 |
|
| #
7aa838bc |
| 09-Apr-2018 |
Hemant Agrawal <[email protected]> |
kernel: add missing SPDX license identifiers
Signed-off-by: Hemant Agrawal <[email protected]>
|
| #
37d477b6 |
| 01-Mar-2018 |
Lee Roberts <[email protected]> |
kni: fix build on RHEL 7.5
Signed-off-by: Lee Roberts <[email protected]> Acked-by: Ferruh Yigit <[email protected]>
|
| #
acaa9ee9 |
| 22-Feb-2018 |
Hemant Agrawal <[email protected]> |
move kernel modules directories
This patch moves the kernel modules code from EAL to a common place. - Separate the kernel module code from user space code.
Signed-off-by: Hemant Agrawal <hemant.a
move kernel modules directories
This patch moves the kernel modules code from EAL to a common place. - Separate the kernel module code from user space code.
Signed-off-by: Hemant Agrawal <[email protected]> Tested-by: Bruce Richardson <[email protected]>
show more ...
|