NIC Hardware Classifier Offloads Packet Routing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current systems require the host to determine which virtual machine to send packets to, leading to inefficient packet classification and processing, especially when dealing with multiple virtual machines and network interfaces.
Innovation Solution
A method and system that utilize a hardware classifier on a network interface card (NIC) to route packets directly to a virtual machine without host intervention, offloading classification and using virtual network interface cards (VNICs) to manage and process packets, allowing for efficient routing and processing without host involvement.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If the host determines which virtual machine to send packets to, then packet routing flexibility is maintained, but packet processing efficiency deteriorates due to host workload
Solution Approach 1:
The patent extracts the packet classification function from the host system and relocates it to the NIC hardware. The NIC now independently classifies incoming packets and directs them to appropriate virtual machines without host intervention, thereby reducing host workload and improving packet processing efficiency.
Solution Approach 2:
The NIC is equipped with hardware classification capabilities that enable it to autonomously determine which virtual machine should receive each packet. This self-service approach eliminates the need for host involvement in packet routing decisions, allowing the NIC to handle multiple virtual machines independently and efficiently.
2Productivity
If hardware classification is implemented on the NIC, then packet routing efficiency is improved, but device complexity on the NIC increases
Solution Approach 1:
The patent replaces software-based packet classification on the host with hardware-based classification on the NIC. This substitution moves the classification logic from the host's CPU and memory to dedicated hardware circuits on the NIC, improving routing efficiency while keeping the host system simpler.
Solution Approach 2:
The NIC is designed to perform multiple functions: traditional network interface operations plus hardware packet classification. By integrating classification capabilities into the NIC's existing hardware architecture, the device becomes multi-functional without requiring separate classification hardware, thus improving efficiency with minimal complexity increase.
Data Source
AI summary
A method for processing packets that includes receiving a first packet for a first virtual machine by a network interface card (NIC), classifying the first packet using a hardware classifier, where the hardware classifier is located on the NIC, sending the first packet to a first one of a plurality of receive rings based on the classification, sending the first packet from the first one of the plurality of receive rings to a first virtual network interface card (VNIC), sending the first packet from the first VNIC to a first interface, and sending the first packet from the first interface to the first virtual machine, where the first virtual machine is associated with the first interface, where the first VNIC and the first virtual machine are executing on a host.


