Bug 1536589
Summary: | fatal error: rte_kni.h: No such file or directory | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Leonardo Amaral <contato> |
Component: | dpdk | Assignee: | Neil Horman <nhorman> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 27 | CC: | aconole, contato, federicoalves, linville, nhorman |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-01-22 12:17:56 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Leonardo Amaral
2018-01-19 17:12:28 UTC
An additional info: This issue also happens with rawride version Another example I have here: leonardo@deodora:~$ LANG=C gcc -Wp,-MD,./.ans_kni.o.d.tmp -m64 -pthread -fPIC -march=corei7 -DRTE_MACHINE_CPUFLAG_SSE -DRTE_MACHINE_CPUFLAG_SSE2 -DRTE_MACHINE_CPUFLAG_SSE3 -DRTE_MACHINE_CPUFLAG_SSSE3 -DRTE_MACHINE_CPUFLAG_SSE4_1 -DRTE_MACHINE_CPUFLAG_SSE4_2 -I/usr/src/dpdk-ans/ans/build/include -I/usr/share/dpdk/x86_64-default-linuxapp-gcc/include -include /usr/share/dpdk/x86_64-default-linuxapp-gcc/include/rte_config.h -O3 -std=gnu99 -o /tmp/kni_test.bin /usr/share/dpdk/examples/kni/main.c /usr/share/dpdk/examples/kni/main.c:72:10: fatal error: rte_kni.h: No such file or directory #include <rte_kni.h> ^~~~~~~~~~~ compilation terminated. Since its an example from dpdk source, how did this passed in compilation tests? The Fedora version of the DPDK package is compiled without kni support, as using kni requires out-of-kernel-tree modules, which Fedora does not support. If you would like this fixed, the upstream dpdk project needs to submit the kni modules built from lib/librte_eal/linuxapp/kni/ in the dpdk source tree to the upstream kernel community for inclusion. Hello Neil! Thanks for you answer! I understand clearly you point and agree with it. For this reason, I've opened a upstream issue at https://dpdk.org/tracker/show_bug.cgi?id=12 and I do not intent to turn this out the NOTABUG status. I'm not a developer, so I'm sorry not contributing too much with this but as a Network Engineer/Researcher, I'll do the possible to help the upstream insertion to happen. Just a question about fedora packaging itself: The kmod or dkms structure cannot be used at least as optional package to help system that demands KNI do not mess with kernel tree/packaging tree? There is at least a .spec that I can compile here, preventing I have untracked modules and allowing seamless kernel update? Thanks! I need to know what is the latest version of the kernel that supports rte_kni. And if by any chance anybody knows why it has not been possible so far in 2020 to get this module into the kernel. There are some apps that require accelerated packet processing, namely routers, etc. |