用DPDK编程FPGA [英] Programming FPGA with DPDK

查看:144
本文介绍了用DPDK编程FPGA的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我面临一个问题:需要创建一个简单的防火墙,以直接在FPGA上剪切不需要的数据包.基本上,该想法是使用规则共享表.该表旨在从FPGA进行访问以检查是否传递数据包,并由用户空间中的应用填充.

I'm facing a problem: there is a need to create a simple firewall to cut unwanted packets directly on FPGA. Basically the idea is to have a shared table with rules. This table is meant to be accessed from FPGA to check whether to pass a packet or not and it's populated by an app from userspace.

我听说过可以处理数据包处理的DPDK项目.但是我找不到如何使它在FPGA上工作的任何信息.是否可以?有解决问题的建议吗?

I've heard of DPDK project that can handle packet processing. But I couldn't find any info how to make it work on FPGA. Is it possible? Are there any recommendations on solving the problem?

推荐答案

DPDK库未打包任何RTL图像作为参考代码.在当前情况下,没有内联或后备模式的防火墙RTL映像.

DPDK libraries does not pack any RTL images as reference code. In the current case, there are no firewall RTL images either in inline or lookaside mode.

几个使用嵌入式FPGA和以太网的FPGA变体是英特尔 N3000 ,其中装有英特尔 Arria 10 Fortville X710 和英特尔 Arkville数据移动器.在相同的DPDK峰会上的谈话链接是 https://www.dpdk.org/wp-content/uploads/sites/35/2018/12/PetrKastovsky-AcceleratingDPDKviaviaP4-programmableFPGA-basedSmartNICs.pdf https://www.bittware.com/fpga/arkville/.DPDK IFPGA RAW PMD允许从设备管理和接收RX-TX数据包.链接 https://doc.dpdk.org/guides-18.05/rawdevs/ifpga_rawdev.html .

A couple of FPGA variant which uses inline FPGA with Ethernet are Intel N3000 which houses Intel Arria 10 and Fortville X710 and Intel Arkville Data Mover. Link to talk in DPDK summit of the same is https://www.dpdk.org/wp-content/uploads/sites/35/2018/12/PetrKastovsky-AcceleratingDPDKviaP4-programmableFPGA-basedSmartNICs.pdf, and https://www.bittware.com/fpga/arkville/ . While DPDK IFPGA RAW PMD allows managing and RX-TX packets out from the device. Links https://doc.dpdk.org/guides-18.05/rawdevs/ifpga_rawdev.html.

因此,期望DPDK为防火墙创建FPGA RTL映像并对正在使用的FPGA进行编程是不正确的.

hence the expectation of having DPDK to create FPGA RTL image for Firewall and program the FPGA in use is not true.

注意:可以将自己添加到Intel的Netwrok Builder程序中,并获得几个样本参考(RTL图像),这些参考用于类似ACL防火墙的类似用例.

note: One can add themselves to Netwrok Builder program from Intel and get couple sample references (RTL images) which are used for similar use case like ACL firewall.

这篇关于用DPDK编程FPGA的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆