2022年(3)
发布时间:2022-04-29 11:21:41
rte_eal_pci_init点击(此处)折叠或打开intrte_eal_pci_init(void){ /* for debug purposes, PCI can be disabled */ if (internal_config.no_pci).........【阅读全文】
发布时间:2022-04-29 11:12:52
dpdk rte_memzone_reserve实现 ——lvyilong316 这个函数的功能是创建一个rte_memzone(代码参考dpdk 16.11)。我们上一篇(http://blog.chinaunix.net/uid-28541347-id-5775056.html)讲rte_malloc分配的实际上是一个malloc_elem,而rte_memzone也是描述内存块的一种结构,本质上是一个malloc_elem的封装。rte_m.........【阅读全文】
发布时间:2022-04-29 11:11:04
dpdk内存管理——rte_malloc实现 ——lvyilong316 DPDK以两种方式对外提供内存管理方法,一个是rte_mempool,主要用于网卡数据包的收发;一个是rte_malloc,主要为应用程序提供内存使用接口。这里我们主要讲一下rte_malloc函数。 rte_malloc实现的大体流程如下图所示。.........【阅读全文】