[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

 

posted on 2018-07-17 17:55  toong  阅读(291)  评论(0编辑  收藏  举报