2020年9月2日

摘要: Then to get the ids, use: $ lspci -v -n -s 03:00.0 03:00.0 0280: 8086:0085 (rev 34) Subsystem: 8086:1311 Flags: bus master, fast devsel, latency 0, IR 阅读全文
posted @ 2020-09-02 20:20 tycoon3 阅读(1584) 评论(0) 推荐(0)
摘要: Igb_uio内核驱动 Igb_uio驱动主要做的就是注册一个pci设备。但是igbuio_pci_driver对应的保存pci设备信息的id_table指针为空,这样在内核注册此pci设备时,会找不到匹配的设备,就不会调用igb_uio驱动中的探测probe函数,只会在/sys目录下创建Igb_u 阅读全文
posted @ 2020-09-02 19:57 tycoon3 阅读(3587) 评论(0) 推荐(0)
摘要: /sys/class/net /sys/devices /sy/bus/pci https://access.redhat.com/discussions/895293 [root@localhost rules.d]# lspci -v | grep -i ether -B 4 Capabilit 阅读全文
posted @ 2020-09-02 17:00 tycoon3 阅读(564) 评论(0) 推荐(0)
摘要: build/app/TestMalloc -n 4 --proc-type=primary mz addr: 100012838, mz->addr :13febc780 , mz->addr_64 : 13febc780 arr addr: ffffe7739ad8 arr addr: 13feb 阅读全文
posted @ 2020-09-02 16:15 tycoon3 阅读(169) 评论(0) 推荐(0)
摘要: (gdb) p arr $8 = (struct rte_fbarray *) 0x1000000b0 (gdb) p *arr $9 = {name = '\000' <repeats 63 times>, count = 0, len = 0, elt_sz = 0, data = 0x0, r 阅读全文
posted @ 2020-09-02 15:31 tycoon3 阅读(4388) 评论(0) 推荐(0)
摘要: rte_fbarray_init eal_get_fbarray_path(path, sizeof(path), name); /* * Each fbarray is unique to process namespace, i.e. the * filename depends on proc 阅读全文
posted @ 2020-09-02 15:27 tycoon3 阅读(569) 评论(0) 推荐(0)
摘要: 转载 https://blog.csdn.net/jsh13417/article/details/107285384 两种数据结构体介绍 Malloc 库内部使用了两种数据结构类型(可以参考dpdk官方文档3.4.4章节介绍): struct malloc_heap:用于在每个 CPU Socke 阅读全文
posted @ 2020-09-02 12:53 tycoon3 阅读(736) 评论(0) 推荐(0)
摘要: [root@localhost dpdk-19.11]# cat /sys/devices/system/node/node*/hugepages/hugepages-2048kB/nr_hugepages 0 0 0 0 [root@localhost dpdk-19.11]# cat /sys/ 阅读全文
posted @ 2020-09-02 12:03 tycoon3 阅读(984) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <string.h> #include <stdint.h> #include <errno.h> #include <sys/queue.h> #include <rte_memory.h> #include <rte_launch.h> # 阅读全文
posted @ 2020-09-02 11:35 tycoon3 阅读(741) 评论(0) 推荐(0)
摘要: 更详细的内容见man page。这里举例说明: nm -u hello.o 显示hello.o 中的未定义符号,需要和其他对象文件进行链接. nm -A /usr/lib/* 2>/dev/null | grep "T memset" 在 /usr/lib/ 目录下找出哪个库文件定义了memset函 阅读全文
posted @ 2020-09-02 11:32 tycoon3 阅读(2138) 评论(0) 推荐(0)
摘要: [root@localhost yum.repos.d]# debuginfo-install glibc-2.17-307.el7.1.aarch64 libgcc-4.8.5-39.el7.aarch64 numactl-libs-2.0.12-5.el7.aarch64 -bash: debu 阅读全文
posted @ 2020-09-02 10:36 tycoon3 阅读(1682) 评论(0) 推荐(0)

导航