摘要: run_in_rx_core的工作主要是将绑定到本port端的网络节点数据接收后转发到dpdk发送,工作流程如下图所示 flowchart LR subgraph CRxCore start --> _do_start _do_start --> cold_state_loop _do_start 阅读全文
posted @ 2022-05-23 18:11 staylight 阅读(87) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-05-09 15:40 staylight 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 在markdown文档中,可以利用mermaid插件来画时序图 以如下图为例: sequenceDiagram Alice->John: Hello John, how are you? loop Every minute John-->Alice: Great! end 效果图如下: sequen 阅读全文
posted @ 2022-05-04 20:59 staylight 阅读(661) 评论(0) 推荐(0) 编辑
摘要: 先查看当前系统时间 root@ubuntu:/# date -R 结果时区是:-0500我需要的是东八区,这儿显示不是,所以需要设置一个时区 1.运行tzselect root@ubuntu:/# tzselect 在这里我们选择亚洲 Asia,确认之后选择中国(China),最后选择北京(Beij 阅读全文
posted @ 2022-04-26 09:41 staylight 阅读(611) 评论(0) 推荐(1) 编辑
摘要: 如何利用trex-emu中rtsp客户端模块测试iptv功能 测试环境 采用虚拟机搭建的环境,配置如下: sudo cat /etc/trex_cfg.yaml ### Config file generated by dpdk_setup_ports.py ### - version: 2 int 阅读全文
posted @ 2022-04-22 14:13 staylight 阅读(225) 评论(0) 推荐(0) 编辑
摘要: trex在service模式下提供了几种抓包分析的方式,其抓包原理如下图所示: 通过console的方式来抓包 方式一: trex>service Enabling service mode on port(s): [0, 1] [SUCCESS] 6.72 [ms] trex(service)>c 阅读全文
posted @ 2022-04-22 10:22 staylight 阅读(837) 评论(0) 推荐(0) 编辑
摘要: 如何编译支持gdb调试的golang程序 首先,gdb的版本要高于7.1 其次,在编译golang程序时,需要注意以下2点 When compiling Go programs, the following points require particular attention: 1. Using 阅读全文
posted @ 2022-04-16 11:04 staylight 阅读(453) 评论(0) 推荐(0) 编辑
摘要: 编译 使用私有代码库 ./b configure --with-ffmpeg ./b build --with-ffmpeg 操作 trex_cfg.yml配置 - version: 2 interfaces: ['02:02.0', '02:03.0'] low_end: true stack: 阅读全文
posted @ 2022-03-31 15:19 staylight 阅读(157) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-03-14 10:39 staylight 阅读(29) 评论(0) 推荐(0) 编辑
摘要: trex-bird原理 TRex-Bird架构图 trex 结合bird服务是采用linux上的veth及网络命名空间的技术: bird运行在trex-a-bird-ns 网络namespace里,创建veth虚接口对bird-0-0-T和bird-0-0-L; veth接口对bird-0-0-L接 阅读全文
posted @ 2022-03-04 09:32 staylight 阅读(380) 评论(0) 推荐(0) 编辑