Feature: adding rte_kni kernel module as dkms
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpdk (Ubuntu) |
Fix Released
|
Medium
|
Christian Ehrhardt |
Bug Description
Hello,
It would be quite interesting to have a package for installing rte_kni.ko as a dkms module.
To explain the purpose of the kni module, here is a quote from the dpdk documentation:
"
The DPDK Kernel NIC Interface (KNI) allows userspace applications access to the Linux* control plane.
The benefits of using the DPDK KNI are:
- Faster than existing Linux TUN/TAP interfaces (by eliminating system calls and copy_to_
- Allows management of DPDK ports using standard Linux net tools such as ethtool, ifconfig and tcpdump.
- Allows an interface with the kernel network stack.
"
I'm not aware of any package in ubuntu or debian official repos which are using this module but a least there is my application (https:/
There is also some dpdk examples which require it to run, and it may be a dependency for other dpdk libraries in further dpdk versions.
Note: I would be happy to propose my application as a package if I have this .deb available (it is a hard dependency in my case).
Hi,
as we already worked a bit on the base of the mail thread.
I don't mind enabling rte_kni as dkms module.
While most I cared about so far worked well with the pure userspace drivers there is no reason to not have it available the way it comes from upstream dpdk that comes to my mind.
As we discussed, next steps are:
- I already got it building
- I already added an adt test for it to make sure it doesn't break by kernel/upstream changes without us knowing
- You'll attach your own patch set here so I can find if I should pick some of that into mine
- I'll provide a ppa for you to test it more thoroughly