Tunnel Encapsulation Integrated Circuit Logic
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing network tunneling technologies face inefficiencies in encapsulating layer 2 packets for transmission over layer 3 networks, particularly in high-speed environments, as they rely on general-purpose processors that are slow and inefficient in generating encapsulated packets.
Innovation Solution
A network device with an integrated circuit containing encapsulation logic and calculation logic, which uses a tunnel encapsulation template to flexibly form tunnel encapsulated packets by pre-calculating field values and generating encapsulation headers at high speeds, capable of producing 128-byte packets in 8-10 clock cycles, significantly outperforming conventional processes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If general-purpose processors are used for tunnel encapsulation, then device complexity is reduced and ease of operation is improved, but processing speed and productivity deteriorate
Solution Approach 1:
The patent replaces the mechanical/software-based general-purpose processor system with a hardware-based integrated circuit system. The encapsulation logic and calculation logic are implemented as dedicated hardware components that perform packet encapsulation operations in parallel, achieving line-rate processing speeds. This substitution of hardware for software/mechanical processing directly resolves the contradiction by sacrificing some device complexity to gain massive improvements in productivity and processing speed.
Solution Approach 2:
The integrated circuit is divided into distinct functional segments: encapsulation logic for constructing packet headers, calculation logic for computing checksums and other fields, and data storage for template management. This segmentation allows each component to be optimized for its specific function while working together in parallel, achieving high-speed processing without requiring an overly complex monolithic design.
2Speed
If general-purpose processors are used for tunnel encapsulation, then ease of manufacture and adaptability are improved, but processing speed and efficiency worsen
Solution Approach 1:
The integrated circuit is designed with universal components that can handle multiple encapsulation protocols and packet types. The encapsulation logic can be configured through the tunnel encapsulation template to support different protocol stacks (Ethernet, IP, MPLS, etc.), allowing the same hardware to perform various encapsulation functions. This universality maintains ease of manufacture by avoiding the need for multiple specialized circuits while achieving high processing speeds.
3Productivity
If field values are calculated in real-time during encapsulation, then accuracy is maintained, but processing time increases and productivity decreases
Solution Approach 1:
The calculation logic pre-calculates field values such as checksums, length fields, and other metadata before the actual packet encapsulation occurs. By performing these calculations in advance using dedicated hardware arithmetic units, the system eliminates time-consuming computations from the critical encapsulation path, thereby increasing packet generation rate without sacrificing accuracy.
Solution Approach 2:
The integrated circuit maintains continuous operation by overlapping calculation and encapsulation operations. While one packet is being encapsulated, the calculation logic is already preparing field values for the next packet. This continuous pipeline operation ensures that no time is lost between packets, maximizing productivity while maintaining accurate field calculations through uninterrupted hardware processing.
Data Source
AI summary
According to an example, a packet is tunnel encapsulated a packet according to a tunnel encapsulation template. The tunnel encapsulation template includes fields for the tunnel encapsulated packet, and the fields include static fields and variable fields. Field values are inserted into variable fields of the tunnel encapsulation template to generate the tunnel encapsulated packet.


