Method and device for maintaining count value of multicast counter
A technology of counters and count values, applied in the field of maintaining the count values of multicast counters, can solve the problems of communication chip packet out-of-queue performance limitation, fast rate, inability to meet performance requirements, etc., and achieve the effect of ensuring packet forwarding performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] The processing flow of a method for maintaining the count value of the multicast counter provided by this embodiment is as follows: figure 1 As shown, the method for maintaining the count value of the multicast counter provided by the embodiment of the present invention is used in a communication device, and the communication device includes a communication chip and a multicast counter arranged outside the communication chip. In the embodiment, a CAM (Content Addressable Register) is set inside the communication chip, and a certain number of engines, for example, more than a dozen engines, are set in the CAM. The engines in the above CAM can be assigned to multicast packets.
[0030] The method for maintaining the count value of the multicast counter provided by the embodiment of the present invention includes the following processing steps:
[0031] Step 11, obtain the multicast message to be dequeued.
[0032] When a multicast message needs to be dequeued, first che...
Embodiment 2
[0059] In the embodiment of the present invention, a CAM is set inside the communication chip, and a certain number of engines, for example, more than 10 engines are set in the CAM. The engines in the above CAM can be assigned to multicast packets.
[0060] The processing flow of a method for maintaining the count value of the multicast counter provided by this embodiment is as follows: figure 2 As shown, the following processing steps are included:
[0061] Step 21, the selected multicast message is copied by a certain number of copies N, and an idle engine is allocated for the multicast message, and the pointer of the above-mentioned multicast message and the engine number of the corresponding engine are correspondingly stored in the CAM, and the engine number of the corresponding engine is stored for the multicast message. The engine stores an action value.
[0062] When there is no multicast message to be dequeued and there is an idle engine in the CAM, the message copy...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com