09 2022 档案
摘要:1、编写简单的xdp程序 #include <linux/bpf.h> #ifndef __section # define __section(NAME) \ __attribute__((section(NAME), used)) #endif __section("prog") int xdp
阅读全文
摘要:在编译rdma-core的时候,发现这个工程有个奇葩的事情,它不像普通的开源软件,使用configure --prefix= /make/make install 就可以完成安装了,看他的readme文件,也是没有涉及相关的命令。 但它有个简单的编译脚本build.sh,可以直接编译出对应的二进制。
阅读全文

浙公网安备 33010602011771号