Ethernet Packet Metadata Embedding via Padding Adjustment

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In Ethernet switching elements, trapping data packets for software processing can lead to protocol incompatibility issues when metadata is added, causing increased complexity and latency due to encapsulation, which complicates successful communication with the microprocessor.

Innovation Solution

Embedding metadata into data packets after the payload and padding, adjusting the packet's overhead such as the frame check sequence to maintain protocol compliance, ensuring the packet remains valid for processing without causing errors in protocol stacks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of information

If metadata is added to trapped data packets to facilitate processing, then processing information availability is improved, but protocol compliance deteriorates causing communication failures

Engineering Contradiction:
Improvemetadata information availabilityVSAvoidprotocol compliance
Core Design Contradiction:
Loss of informationVSReliability

Solution Approach 1:

The patent embeds metadata fields within the existing Ethernet packet structure by nesting them in the padding or header extension areas. This allows metadata (ingress port number, classified flow number, exception identifier) to be contained within the packet without adding external encapsulation layers, maintaining protocol compliance while preserving information availability.

Inventive Principle:
Principle #7Nested doll (Nesting)

Solution Approach 2:

The patent utilizes the unused padding dimension in the Ethernet packet structure to embed metadata. By placing metadata in the padding area (bytes 15-18 of the 14-byte header extension), it transforms an otherwise wasted space into a functional metadata carrier without affecting the core packet structure or protocol compliance.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Reliability

If encapsulation is used to add metadata while maintaining protocol compliance, then protocol compatibility is improved, but device complexity and processing time increase

Engineering Contradiction:
Improveprotocol compatibilityVSAvoidprocessing complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent merges metadata embedding with the existing packet forwarding and trapping operations. The metadata is inserted during the normal packet processing flow in the switching element, combining multiple functions (packet reception, metadata extraction, packet modification, forwarding) into a single integrated operation rather than adding separate encapsulation and decapsulation stages.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent extracts only the essential metadata fields (ingress port number, classified flow number, exception identifier) from the packet processing logic and embeds them directly into the packet structure, removing the need for complex encapsulation protocols while retaining the necessary information for microprocessor processing.

Inventive Principle:
Principle #2Taking out (Extraction)

3Reliability

If encapsulation is used to preserve protocol compliance, then communication reliability is improved, but packet size increases causing latency

Engineering Contradiction:
Improvecommunication reliabilityVSAvoidpacket latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies local quality by placing metadata only in specific designated areas of the packet (padding fields or header extensions) rather than uniformly increasing the entire packet structure. This localized embedding adds minimal overhead (typically 4-8 bytes) compared to full encapsulation, reducing latency while maintaining communication reliability.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS8705524B1Systems and methods for embedding metadata in data packets
Publication Date: 2014.04.22 ADTRAN INC
  • US8705524B1 patent drawing
  • US8705524B1 patent drawing
  • US8705524B1 patent drawing

AI summary

A system for embedding metadata in data packets has logic that is configured to insert metadata into a data packet after the payload data and padding, if any. The logic further adjusts the packet's overhead, such as a frame check sequence, to account for the added length of the packet. The packet remains compliant with applicable protocols, such as Ethernet, and can be successfully communicated in accordance with such protocols while carrying the metadata. In this regard, the insertion of the metadata is transparent to protocol stacks such that the metadata data does not cause an error or the protocol stacks to render the packet invalid. In particular, the protocol stacks view the inserted metadata as part of the packet's pad field, and the inserted metadata should not cause any errors in the operation of the protocol stacks or prevent the protocol stacks from processing the packet.