电子科技 ›› 2021, Vol. 34 ›› Issue (2): 27-32.doi: 10.16180/j.cnki.issn1007-7820.2021.02.005

• • 上一篇    下一篇

软件可编程的FPGA网络测量引擎技术实现

晏子杰,王京梅,陈卓,刘宇   

  1. 电子科技大学 电子科学与工程学院,四川 成都 610054
  • 收稿日期:2019-11-27 出版日期:2021-02-15 发布日期:2021-01-22
  • 作者简介:晏子杰(1994-),男,硕士研究生。研究方向:网络通信与数字电路设计。|王京梅(1968-),女,副教授。研究方向:电路与系统。
  • 基金资助:
    中国博士后科学基金(2018M640908)

Implementation of Software Programmable FPGA Network Measurement Engine Technology

YAN Zijie,WANG Jingmei,CHEN Zhuo,LIU Yu   

  1. School of Electronic Science and Engineering,University of Electronic Science and Technology of China,Chengdu 610054,China
  • Received:2019-11-27 Online:2021-02-15 Published:2021-01-22
  • Supported by:
    Chinese Postdoctoral Science Foundation(2018M640908)

摘要:

为解决现有网络传输及交换性能监测方案中资源开销大和粒度粗糙等问题,文中提出了一种软件可编程的FPGA网络测量引擎技术实现方案。该方案首先通过测量控制器对输入规则进行预处理并编译成自定义指令集下发给各个网络节点中的数据采集点,然后数据采集点以流水线的方式处理接收到的指令从而实现对网络流进行测量。该方案涉及网络流测量规则预处理和可编程硬件测量规则的流水线高速处理引擎等关键技术,可对现有以太网进行复杂规则定义的高效测量。通过向系统中注入不同参数网络流的方式进行板级验证,结果表明所设计的系统能够正确接收并处理由测量控制器下发的自定义指令集,从而实现测量功能。

关键词: 流量测量, FPGA, MAC, 规则预处理, 流水线处理引擎, 指令集

Abstract:

In order to solve the problems of large resource overhead and rough granularity in the existing network transmission and switching performance monitoring schemes, an implementation of software programmable FPGA network measurement engine technology scheme is proposed. First, this solution preprocesses the input rules by the measurement controller and compiles them into a custom instruction set, and sends them to the data collection points in each network node. Then, the data collection point processes the received instructions in a pipelined manner to measure the network flow. The proposed solution involves key technologies such as measurement rules pre-processing of network flow, pipeline high-speed processing engine with programmable hardware measurement rules, and can be used for efficient measurement of existing rules with complex rule definitions. Board-level verification is performed by injecting different parameter network flows into the system. The verification results show that the designed system can correctly receive and process the custom instruction set issued by the measurement controller to achieve the measurement function.

Key words: flow measurement, FPGA, MAC, rules preprocessing, pipeline processing engine, instruction set

中图分类号: 

  • TN91
Baidu
map