Encapsulation-Aware NIC Offload via Virtual Switch Mediator
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Physical network interface cards (NICs) are unable to process encapsulated packets, leading to increased processing load in computer systems, as they are unaware of and cannot offload operations for encapsulated network data.
Innovation Solution
A virtualization manager configures a virtual switch to encapsulate and de-encapsulate packets, and a physical NIC is enabled to calculate and verify checksums for encapsulated packets, allowing for offload processing of these packets.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Device complexity
If physical NICs are used without encapsulation awareness, then device complexity is reduced, but processing capability for encapsulated packets deteriorates
Solution Approach 1:
The virtual switch acts as an intermediary between the virtual network and the physical NIC. It performs encapsulation and de-encapsulation of packets, allowing the physical NIC to process encapsulated packets without requiring complex modifications to the NIC itself. This mediator approach enables encapsulation awareness while keeping the physical NIC relatively simple.
2Productivity
If additional processing is performed for encapsulated packets, then packet processing capability is improved, but processor load increases
Solution Approach 1:
The patent extracts the encapsulation and de-encapsulation processing from the main processor and assigns it to the physical NIC. By taking out these specific processing tasks from the processor's workload, the system achieves improved packet processing capability for encapsulated packets while reducing the processor's overall load.
3Productivity
If physical NICs are made encapsulation-aware, then packet processing capability is improved, but device complexity increases
Solution Approach 1:
Instead of making the physical NIC encapsulation-aware through complex modifications, the virtual switch serves as an intermediary that handles encapsulation and de-encapsulation. This approach improves encapsulated packet processing capability while avoiding the need to increase NIC complexity.
Data Source
AI summary
Methods and systems described herein facilitate offload processing of encapsulated packets. A virtualization manager enables a virtual switch to be associated with a virtual overlay network. A virtual machine includes a virtual NIC that is connected to the virtual overlay network via the virtual switch. The virtualization manager is configured to encapsulate an outgoing packet sent from the virtual machine to the virtual overlay network. The virtualization manager is also configured to de-encapsulate an incoming packet sent from the virtual overlay network to the virtual machine. A physical NIC is configured to calculate at least one inner checksum based on the encapsulated outgoing packet and to verify at least one inner checksum included in the de-encapsulated incoming packet.


