[dpdk][kni] dpdk kernel network interface

文档:https://doc.dpdk.org/guides/prog_guide/kernel_nic_interface.html

摘要:

The KNI kernel loadable module provides support for two types of devices:
    A Miscellaneous device (/dev/kni) that:
    Net device:

API:https://doc.dpdk.org/api/rte__kni_8h.html

特别注意: 看下源码,就理解了。。。。。 懒得解释了。。。。  

int rte_kni_handle_request    (    struct rte_kni *     kni    )    

例子:~/Src/thirdparty/dpdk.git/examples/kni/main.c

原文地址:https://www.cnblogs.com/hugetong/p/9324716.html