用户手册:https://doc.dpdk.org/guides/testpmd_app_ug/index.html

还不错的入门:http://syswift.com/188.html

我的运行情况:

root@ubuntu:/home/chang/dpdk/build/app# ./testpmd -l 0-7 -n 4 -- -i
EAL: Detected 8 lcore(s)
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Multi-process socket /var/run/.rte_unix
EAL: Probing VFIO support...
EAL: PCI device 0000:02:01.0 on NUMA socket -1
EAL: Invalid NUMA socket, default to 0
EAL: probe driver: 8086:100f net_e1000_em
EAL: PCI device 0000:02:02.0 on NUMA socket -1
EAL: Invalid NUMA socket, default to 0
EAL: probe driver: 8086:100f net_e1000_em
EAL: PCI device 0000:02:03.0 on NUMA socket -1
EAL: Invalid NUMA socket, default to 0
EAL: probe driver: 8086:100f net_e1000_em
EAL: PCI device 0000:02:04.0 on NUMA socket -1
EAL: Invalid NUMA socket, default to 0
EAL: probe driver: 8086:100f net_e1000_em
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=203456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 0)
Port 0: 00:0C:29:F7:4D:25
Configuring Port 1 (socket 0)
Port 1: 00:0C:29:F7:4D:2F
Checking link statuses...
Done
testpmd> start
io packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP over anonymous pages disabled
Logical Core 1 (socket 0) forwards packets on 2 streams:
RX P=0/Q=0 (socket 0) -> TX P=1/Q=0 (socket 0) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00 io packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0:
CRC stripping disabled
RX queues=1 - RX desc=1024 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX queues=1 - TX desc=1024 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX RS bit threshold=0 - TXQ offloads=0x0
port 1:
CRC stripping disabled
RX queues=1 - RX desc=1024 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX queues=1 - TX desc=1024 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX RS bit threshold=0 - TXQ offloads=0x0
testpmd> stop
Telling cores to stop...
Waiting for lcores to finish... ---------------------- Forward statistics for port 0 ----------------------
RX-packets: 142171 RX-dropped: 0 RX-total: 142171
TX-packets: 164636 TX-dropped: 0 TX-total: 164636
---------------------------------------------------------------------------- ---------------------- Forward statistics for port 1 ----------------------
RX-packets: 164642 RX-dropped: 0 RX-total: 164642
TX-packets: 142165 TX-dropped: 0 TX-total: 142165
---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 306813 RX-dropped: 0 RX-total: 306813
TX-packets: 306801 TX-dropped: 0 TX-total: 306801
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done.
testpmd>

最新文章

  1. Linux 服务器 安装 memcached
  2. Mantis搭建步骤
  3. a版本冲刺第一天
  4. WP8.1 RT 生命周期详解‏‏‏‏‏‏‏‏‏‏‏‏‏
  5. WindowsForm公共控件--2016年12月5日
  6. CSS3 HSL()详解:
  7. GridView获取CheckBox的值及所在列的ID
  8. System Sounds: Alerts and Sound Effects
  9. Oracle查询索引碎片及数据表空间使用情况
  10. 转 SVN 在vs中的使用
  11. 《深入Java虚拟机学习笔记》- 第12章 整数运算
  12. 简洁判断一个byte中有多少位为1的bit?
  13. Visual Studio的.NET内存分配分析器解析
  14. centos git 升级应用
  15. jqGrid添加详细按钮,单击弹出窗体
  16. 新安装的linux(linux mint 或则ubuntu)系统中安装postgresql-xc安装的包
  17. JavaSE(四)之接口、访问控制
  18. 在C#中,Windows Console控制台 设置控制台标题、禁用关闭按钮、关闭快速编辑模式、插入模式
  19. spring data jpa 查询自定义字段,转换为自定义实体
  20. macOS Sierra10.12.5 显示允许任何来源

热门文章

  1. jQuery 基础与运用
  2. Redis之Redis安装(Mac OS版本)
  3. CTF-Bugku-分析-信息提取
  4. 【HNOI2015】实验比较
  5. pathon之多线程详解
  6. 利用BlockingCollection实现生产者和消费者队列,实现写文本
  7. 【赛后补题】Lucky Probability(CodeForces 110D)
  8. C# 连接MongoDB,含用户验证
  9. css学习杂记
  10. canvas高效绘制10万图形,你必须知道的高效绘制技巧