SmartNIC Unified Logging via Modified Packet Instructions
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing network virtualization devices face challenges in efficiently coordinating packet logging between their data plane and programming data plane, leading to complex synchronization processes and reduced efficiency and reliability.
Innovation Solution
Implement a unified logging process that integrates data from both planes of a smartNIC, using a modified packet to communicate logging instructions between the accelerator and programming data plane, allowing both to log to a single unified log.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If separate logging processes are maintained for data plane and programming data plane, then each plane can independently log its packets, but the synchronization complexity increases and reliability decreases
Solution Approach 1:
The patent merges separate logging processes of the data plane and programming data plane into a unified logging system. The accelerator (data plane) and programming data plane both write to a single unified log buffer, eliminating synchronization complexity while improving reliability through centralized logging.
Solution Approach 2:
The unified log buffer serves multiple purposes: it logs packets from the accelerator, logs packets from the programming data plane, and provides a single source of truth for all logged traffic. This multi-functional approach simplifies the logging architecture while maintaining comprehensive coverage.
2Productivity
If the programming data plane processes complex tasks, then packet processing capability improves, but coordination challenges arise between planes
Solution Approach 1:
The unified log buffer acts as an intermediary mechanism between the accelerator and programming data plane. Both planes can independently write to the log without direct coordination, as the log buffer serves as a shared communication channel that resolves coordination challenges.
Solution Approach 2:
The patent segments logging responsibilities by allowing the accelerator to log its packets and the programming data plane to log its packets separately into the same unified log buffer. This segmentation enables independent operation while maintaining unified logging capability.
Data Source
AI summary
Techniques are disclosed for a smart network interface card (smartNIC) performing a unified logging process. In one example, an accelerator transmits a packet to a programming data plane of the smart network interface card. The programming data plane determines whether the packet is to be forwarded. In accordance with a determination that the packet is not be forwarded, the programming data plane modifies the packet to include an instruction that instructs the accelerator to log the packet and to not forward the packet. The programming data plane transmits the modified packet to the accelerator. The accelerator logs data associated with the modified packet to a unified log based at least in part on the instruction.


