摘要: 代码部分 ~~~ / SPDX License Identifier: BSD 3 Clause Copyright(c) 2017 Intel Corporation / include include include include include include include include 阅读全文
posted @ 2018-07-18 17:48 畅畅1 阅读(1264) 评论(0) 推荐(0) 编辑
摘要: DPDK flow_classify.c的一段代码: ~~~ size = RTE_CACHE_LINE_ROUNDUP(sizeof(struct flow_classifier_acl)); ~~~ 这个宏定义 不清楚是什么意思,也不知道在哪个文件中。得知一个宏定义的方法(DPDK的代码在 li 阅读全文
posted @ 2018-07-18 16:03 畅畅1 阅读(502) 评论(0) 推荐(0) 编辑
摘要: 官方手册:http://pktgen dpdk.readthedocs.io/en/latest/getting_started.html 过程 1. 开机(重启) 2. 把DPDK那一套流程走一遍(环境变量设置、设置userspace I/O态、挂载大页、绑定网卡) 3. 按照官方手册上编译。pk 阅读全文
posted @ 2018-07-18 14:52 畅畅1 阅读(7479) 评论(4) 推荐(0) 编辑
摘要: pktgen 操作手册:http://pktgen dpdk.readthedocs.io/en/latest/getting_started.html 执行到这一步时: ~~~ $ cd /tools $ ./run.py s default ~~~ 运行 run.py 后系统提示我没有对应的 c 阅读全文
posted @ 2018-07-18 13:45 畅畅1 阅读(1274) 评论(0) 推荐(0) 编辑