The P4-based traffic generator (P4TG) is a hardware-based traffic generator (TG) running on the Intel Tofino 1 ASIC. The TG can generate up to 1 Tb/s of traffic and directly measures rates, packet loss, and other metrics in the data plane. Many researchers and industrial partners have used it since its publication in 2023 and new features have been requested to be incorporated into P4TG. In this work, we provide an overview of the recently added features of P4TG. These enhancements include new traffic generation capabilities including IPv6 and segment routing v6 (SRv6) support and various encapsulation protocols such as VLAN, QinQ, VxLAN, and MPLS. Further, P4TG is ported to the Intel Tofino 2 platform enabling a generation capability of up to 4 Tb/s. The enhancements to P4TG also provide an improved user experience facilitating automated testing based on RFC 2544, report generation, and visualization.
翻译:基于P4的流量生成器(P4TG)是一款运行在Intel Tofino 1 ASIC上的硬件流量生成器。该流量生成器可产生高达1 Tb/s的流量,并直接在数据平面测量速率、丢包率等指标。自2023年发布以来,众多研究机构与产业合作伙伴已采用该系统,并提出了集成新功能的需求。本文概述了P4TG近期新增的功能特性。这些增强包括新的流量生成能力——支持IPv6与段路由v6(SRv6),以及多种封装协议如VLAN、QinQ、VxLAN和MPLS。此外,P4TG已移植至Intel Tofino 2平台,使其生成能力提升至4 Tb/s。P4TG的改进还优化了用户体验,支持基于RFC 2544的自动化测试、报告生成与可视化功能。