P4TG is a hardware-based traffic generator (TG) running on the Intel Tofino 1 ASIC and was programmed using the programming language P4. In its initial version, P4TG could generate up to 10x100 Gb/s of traffic and directly measure rates, packet loss, and other metrics in the data plane. Many researchers and industrial partners requested new features to be incorporated into P4TG since its publication in 2023. With the recently added features, P4TG supports the generation of packets encapsulated with a customizable VLAN, QinQ, VxLAN, MPLS, and SRv6 header. Further, generation of IPv6 traffic is added and P4TG is ported to the Intel Tofino 2 platform enabling a generation capability of up to 10x400 Gb/s. The improvement in user experience focuses on ease of operation. Features like automated ARP replies, improved visualization, report generation, and automated testing based on the IMIX distribution and RFC 2544 are added. Future work on P4TG includes NDP to facilitate IPv6 traffic, and a NETCONF integration to further ease the configuration.
翻译:P4TG是一种基于硬件的流量生成器(TG),运行于英特尔Tofino 1专用集成电路之上,并使用P4编程语言进行开发。在其初始版本中,P4TG能够生成高达10×100 Gb/s的流量,并直接在数据平面测量速率、丢包率及其他指标。自2023年发布以来,众多研究机构与产业合作伙伴要求为P4TG增加新功能。通过近期引入的功能增强,P4TG现已支持生成具有可定制VLAN、QinQ、VxLAN、MPLS及SRv6封装的报文。此外,系统新增了IPv6流量生成能力,并将P4TG移植至英特尔Tofino 2平台,使其生成能力提升至10×400 Gb/s。在用户体验方面的改进主要聚焦于操作便捷性,新增了自动化ARP应答、增强的可视化功能、报告生成以及基于IMIX分布与RFC 2544的自动化测试等功能。P4TG的未来工作包括支持NDP以促进IPv6流量生成,以及集成NETCONF以进一步简化配置流程。