摘要: 增加swapfile sudo /sbin/mkswap /dev/sdb1 sudo mkswap /dev/sdb1 build trex support dpdk and bird sudo apt-get install -y autoconf flex bison binutils g++ 阅读全文
posted @ 2022-03-01 10:21 staylight 阅读(409) 评论(1) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-02-22 11:21 staylight 阅读(13) 评论(0) 推荐(0) 编辑
摘要: ** 以支持dpdk的版本为例 编译 cd trex-core/linux_dpdk ./b configure --with-bird ./b build 阅读全文
posted @ 2022-02-21 11:04 staylight 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 目前比较流行的几种适合网络传输的视频编码有:MPEG4、H263、H264。下面简要介绍下这些编码。 (1)MPEG4:MPEG-4标准主要应用于视像电话(Video Phone),视像电子邮件(Video Email)和电子新闻(Electronic News)等,其传输速率要求较低,在4800- 阅读全文
posted @ 2022-01-27 14:59 staylight 阅读(1497) 评论(0) 推荐(0) 编辑
摘要: trex-emu中的plugin是各个协议处理rpc请求及相应协议数据的模块 trex-emu server 架构图 每个TRex emulation的Thread包含多个Namespaces,而每个Namespaces只能对应到一个Thread上 每个Namespaces必须有独一无二的tuple 阅读全文
posted @ 2022-01-25 17:29 staylight 阅读(336) 评论(0) 推荐(0) 编辑
摘要: TRex架构图 TRex-EMU can receive commands (RPC via JSON-RPC) from a Python client and send/receive packets via a ZMQ channel that connects it to the TRex 阅读全文
posted @ 2022-01-25 17:18 staylight 阅读(581) 评论(0) 推荐(0) 编辑
摘要: scapy rpc client主体代码 #!/usr/bin/env python # simple scapy server tests # pip install pcapy scapy zmq nose # to run use nosetests scapy_test.py import 阅读全文
posted @ 2022-01-25 10:38 staylight 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-01-13 19:02 staylight 阅读(154) 评论(0) 推荐(0) 编辑
摘要: trex配置文件 trex_cfg.yaml - port_limit : 2 version : 2 #List of interfaces. Change to suit your setup. Use ./dpdk_setup_ports.py -s to see available opti 阅读全文
posted @ 2022-01-13 11:10 staylight 阅读(374) 评论(0) 推荐(0) 编辑