IP Multicast FDB Entry Port List Resource Conservation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional IP multicast forwarding devices face resource bottlenecks due to limited capacity in port list data structures, leading to inefficient hardware resource utilization and subsequent CPU slowpath processing when handling large volumes of multicast traffic.
Innovation Solution
Implementing a method where multiple IP multicast FDB entries share a single hardware port list structure, determining and combining identical port lists to release associated resources, and utilizing a hash table to manage common and uncommon port lists effectively.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If multiple FDB entries are independently associated with separate port lists, then each entry can be managed independently, but hardware resources are wasted due to redundant port list storage
Solution Approach 1:
The patent merges identical port lists that are associated with different FDB entries into a single shared port list structure. When the same port list is detected multiple times in the FDB, subsequent occurrences reference the first instance rather than creating duplicate copies, thereby conserving hardware resources while maintaining independent FDB entry management through logical references.
Solution Approach 2:
The patent implements a universal port list structure where a single port list can serve multiple FDB entries simultaneously. This multi-functional approach allows one port list to be shared across numerous FDB entries that have identical forwarding requirements, eliminating redundancy while preserving the ability to independently manage each FDB entry's forwarding behavior.
2Productivity
If port list capacity is increased to handle all multicast groups, then no CPU slowpath processing is needed, but hardware resources are unnecessarily consumed
Solution Approach 1:
The patent combines identical port lists into single shared instances, dramatically reducing the total number of port list entries required in hardware. This consolidation allows the system to handle a much larger number of multicast groups within the same hardware capacity, eliminating the need to increase physical port list storage while maintaining high forwarding throughput.
Solution Approach 2:
The patent changes the organizational parameter of port lists from individual dedicated structures to shared reference structures. By altering how port lists are instantiated and referenced (from one-to-one mapping to one-to-many mapping), the system achieves O(1) hardware lookup performance for a much larger scale of multicast operations without proportionally increasing hardware resources.
3Ease of manufacture
If redundant port list information is stored, then FDB entries can be added without checking for duplicates, but hardware resources become full and CPU slowpath processing increases
Solution Approach 1:
The patent performs preliminary detection and merging of identical port lists during the FDB entry creation process. Before adding a new FDB entry, the system checks whether an identical port list already exists and, if so, references the existing instance. This preliminary action prevents redundant storage from occurring in the first place, maintaining both simplicity and resource efficiency.
Solution Approach 2:
The patent implements a feedback mechanism where the system continuously monitors port list usage patterns and dynamically consolidates identical port lists. When duplicate port lists are detected during FDB operations, the system provides feedback by merging them, thereby preventing hardware resource exhaustion and maintaining optimal performance without requiring complex manual management.
Data Source
AI summary
The subject matter described herein includes methods and systems for conserving multicast port lists in an IP packet forwarding device. According to one embodiment, the method includes providing an IP multicast packet port data structure containing at least a first port list and a second port list. The first and second port lists each contain zero or more port addresses for indicating the ports to which a received IP multicast packet including a group IP address is to be forwarded. An IP multicast packet forwarding database (FDB) is provided where the FDB has at least a first FDB entry and a second FDB entry for forwarding the received IP multicast packet based on its group IP address. The first and second FDB entries each include at least one multicast group IP address and are associated with at least one of the first and the second port lists. It is then determined whether the first and second port lists contain identical information. In response to determining that the first and second port lists contain identical information, the first and second FDB entries are associated with the first port list and hardware resources associated with the second port list are released.


