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编程语言进行开发。其初始版本能够生成最高10×100 Gb/s的流量,并直接在数据平面测量速率、丢包率等指标。自2023年发布以来,众多研究机构与产业合作伙伴提出了新增功能需求。通过近期增强,P4TG现已支持生成带有可定制VLAN、QinQ、VxLAN、MPLS及SRv6封装报文的流量。此外,系统新增了IPv6流量生成功能,并成功移植至英特尔Tofino 2平台,使流量生成能力提升至最高10×400 Gb/s。在用户体验方面,改进聚焦于操作便捷性:新增了自动化ARP应答、增强可视化、报告生成以及基于IMIX分布与RFC 2544的自动化测试等功能。P4TG的未来工作包括支持NDP协议以优化IPv6流量处理,以及集成NETCONF以进一步简化配置流程。