L2TP Message Hardware Acceleration Using Dual Matching Rules

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current solutions fail to achieve hardware acceleration for Layer 2 Tunneling Protocol (L2TP) messages due to their distinct composition, leading to lower processing performance compared to plain messages.

Innovation Solution

Implement a method and apparatus that utilize two sets of matching rules to identify L2TP messages, allowing for separate acceleration processing strategies based on message type, thereby enhancing hardware acceleration capabilities without affecting plain message processing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If L2TP messages are directly passed to the protocol stack for processing, then the processing can be performed using standard protocol stack, but hardware acceleration cannot be achieved resulting in lower processing performance

Engineering Contradiction:
Improveprocessing performance of L2TP messagesVSAvoidmessage structure complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the message processing into two distinct paths: one for plain messages and one for L2TP encapsulated messages. By dividing the processing logic based on message type identification, the system can apply hardware acceleration specifically to L2TP messages while maintaining standard processing for plain messages, thus improving overall productivity without unnecessarily increasing device complexity for all message types.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies local quality by implementing different processing strategies for different message types. L2TP messages receive specialized hardware acceleration processing with inner layer information matching, while plain messages use standard protocol stack processing. This localized optimization improves processing performance for L2TP messages without adding complexity to the entire message processing system.

Inventive Principle:
Principle #3Local quality

2Productivity

If hardware acceleration is implemented for L2TP messages with inner layer information, then processing performance improves, but the system complexity increases due to multiple matching rules

Engineering Contradiction:
Improvehardware acceleration capabilityVSAvoidmatching rule complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent implements dynamic processing by making the matching rule selection dependent on the message type. The system dynamically switches between first matching rules (for plain messages) and second matching rules (for L2TP messages with inner layer information). This dynamic approach enables hardware acceleration for L2TP messages while keeping the system adaptable, preventing permanent complexity increase as the system only applies complex matching rules when needed.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the matching parameters based on message type. For L2TP messages, the system uses second matching rules that include inner layer information (source IP, destination IP, source port, destination port, protocol type), while for plain messages it uses simpler first matching rules. This parameter change approach enables targeted hardware acceleration without permanently increasing system complexity.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20260039505A1Method, apparatus and device for performing hardware acceleration on layer 2 tunneling protocol message, and storage medium
Publication Date: 2026.02.05 SANECHIPS TECH CO LTD
  • US20260039505A1 patent drawing
  • US20260039505A1 patent drawing
  • US20260039505A1 patent drawing

AI summary

Disclosed are a method, an apparatus and a device for performing hardware acceleration on an L2TP message and a storage medium. The method includes: determining whether the current message requiring hardware acceleration is an L2TP type message according to a first matching rule, the first matching rule is a protocol stack configuration information only used to identify the header type of the current message; selecting a corresponding acceleration processing strategy according to the determination result, when the determination result is an plain message of a non-L2TP type, performing acceleration processing on the plain message according to a preset protocol stack standard, and when the determination result is an L2TP message, performing acceleration processing on the L2TP message according to a second matching rule, the second matching rule is protocol stack configuration information for matching inner layer information of the L2TP message.