Processing module and network processor applied to DPU
By using the configuration information cache area in the DPU to cache and transmit configuration information, the problem of data transmission speed mismatch between the configuration information storage area and the processing module is solved, achieving efficient resource utilization and improving configuration efficiency.
Patent Information
- Application Number
- CN202410790172.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-09-17
AI Technical Summary
In the DPU, the data transmission speed between the configuration information storage area and the processing module does not match, causing the configuration information storage area to be unable to communicate with other processing modules after waiting for the data interconnection unit to be written, resulting in a waste of resources.
By introducing the first configuration information buffer area and the second configuration information buffer area into the DPU, after the configuration information storage area writes the configuration information into the first configuration information buffer area, the data interconnection unit reads the configuration information from it to avoid resource occupation. Improve configuration efficiency.
During the configuration process, the resource occupation of the configuration information storage area is avoided, the transmission efficiency of the configuration information is improved, the configuration information storage area is allowed to interact with other processing modules, and the efficiency of the overall configuration process is improved.
Smart Images

Figure CN118656188A
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a processing module and a network processor applied to a DPU. Background Art
[0002] With the development of information technology, the data processor DPU usually processes data by executing the program in the built-in program memory during the data processing process. However, due to the flexibility of the business, the program in the program memory may not meet the requirements of data processing. At this time, the central processing unit (CPU) will provide configuration information to enable the DPU to perform corresponding data processing. However, the central processing unit will communicate with multiple terminals, which may cause the problem of untimely transmission of configuration information.
[0003] In order to solve the above problem, currently, a configuration information storage area is mainly set in the DPU, so that the central processor can write the configuration information directly into the configuration information storage area in advance, and the processing module of the DPU then obtains the corresponding configuration information from the configuration information storage area.
[0004] However, there are multiple processing modules in the DPU. When acquiring configuration information, the processing modules obtain the corresponding configuration information from the configuration information storage area in turn. Since the data transmission speed between the processing modules and the configuration information storage area does not match, if the configuration information storage area is directly written to the processing module, the configuration information storage area will need to wait for the data interconnection unit to be written before it can communicate with other processing modules, resulting in a waste of resources in the configuration information storage area during the waiting period. Summary of the invention
[0005] In view of this, the present application provides a processing module and a network processor applied to a DPU to solve the technical problem of resource waste in a configuration information storage area during the configuration process in traditional solutions.
[0006] In a first aspect, the present application provides a processing module applied to a DPU, comprising: a receiving unit for receiving metadata of a data packet to be processed; a data interconnection unit for reading configuration information from a first configuration information cache area according to the metadata; a processing unit for processing the metadata according to the configuration information to obtain first processed metadata; and an output unit for sending the first processed metadata to a corresponding first data receiving end.
[0007] Optionally, the configuration information in the first configuration information cache area is sent from the configuration information storage area via the second configuration information cache area.
[0008] Optionally, the processing unit is used to generate configuration update data according to the metadata, and send the configuration update information to the second configuration information cache area through the first configuration information cache area, so that the configuration information storage area updates its stored configuration information according to the configuration update information.
[0009] Optionally, the data interconnection unit is used to read at least part of the data packets to be processed from the data packet storage area according to the metadata; the processing unit is used to process the at least part of the data packets to be processed according to the configuration information to obtain a first processed data packet, and obtain second processed metadata based on the first processed data packet; the output unit is used to send the second processed metadata to the corresponding first data receiving end, and send the first processed data packet to the data packet storage area.
[0010] Optionally, the processing module may further include a task queue buffer area; the receiving unit is used to receive processing tasks sent by other processing modules, and when the processing module does not meet the conditions for executing the processing task, write the processing task into the task queue buffer area.
[0011] Optionally, the receiving unit is used to receive metadata of the data packet to be processed according to the first processing task in the task queue buffer area when the processing module meets the conditions for executing the processing task; the output unit is used to generate a second processing task and send it to the target processing module when the first data receiving end is the target processing module.
[0012] Optionally, the data interconnection unit is used to read multiple times when the size of at least part of the data packets to be processed read from the data packet storage area is larger than the capacity of the data interconnection unit, wherein the size of the data packets to be processed read each time does not exceed the capacity of the data interconnection unit; the processing unit is used to process at least part of the data packets to be processed obtained by the data interconnection unit each time according to the configuration information, to obtain multiple second processed data packets; the output unit is used to determine the first processed data packet based on the multiple second processed data packets.
[0013] Optionally, the data interconnection unit is used to distribute a sequence number for at least part of the data packets to be processed each time read from the data packet storage area when the size of at least part of the data packets to be processed is larger than the capacity of the data interconnection unit, and generate a sequence chain based on the distributed sequence numbers; the output unit is used to splice the multiple second processed data packets according to the order of the sequence numbers in the sequence chain and the sequence numbers carried by each second processed data packet to obtain the first processed data packet.
[0014] The second aspect of the present application provides a network processor, comprising: an input module, a plurality of processing modules as described in any one of the first aspect of the embodiment, a data packet storage area and an output module; the input module is used to write the data packet to be processed into the data packet storage area, generate metadata of the data packet to be processed, and send the metadata to the processing module; the output module is used to receive the metadata of the data packet to be processed after being processed by at least one of the processing modules, and send the metadata to the corresponding second data receiving end.
[0015] Optionally, the network processor may further include: a configuration information storage area; the configuration information storage area is used to write the configuration information stored therein into a second configuration information cache area, and write at least part of the configuration information into the first configuration information cache area of the processing module through the second configuration information cache area.
[0016] The present application can cache the configuration information sent by the configuration information storage area through the first configuration information cache area. After the configuration information storage area writes the configuration information into the first configuration information cache area, other operations can be performed, and then the data interconnection unit reads the configuration information from the first configuration information cache area. This can avoid occupying the resources of the configuration information storage area during the configuration process, and the configuration information storage area can exchange data with other processing modules, thereby improving configuration efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0018] Figure 1 is a structural diagram of a processing module applied to a DPU according to an embodiment of the present application;
[0019] Figure 2 is a structural schematic diagram of a processing module applied to a DPU according to another embodiment of the present application;
[0020] Figure 3 is a schematic diagram of the structure of a network processor according to an embodiment of the present application;
[0021] Figure 4 It is a schematic diagram of the structure of a network processor according to another embodiment of the present application. DETAILED DESCRIPTION
[0022] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the embodiments of the present application should fall within the scope of protection of the embodiments of the present application.
[0023] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0024] It should be understood that although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0025] The technical solutions in the embodiments of the present application are clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application. In the absence of conflict, the following embodiments and their technical features can be combined with each other.
[0026] Figure 1 is a schematic diagram of the structure of a processing module applied to a DPU according to an embodiment of the present application. Figure 1 The processing module 100 applied to the DPU includes:
[0027] The receiving unit 101 is used to receive metadata of a data packet to be processed. The data interconnection unit 102 is used to read configuration information from the first configuration information buffer area 105 according to the metadata. The processing unit 103 is used to process the metadata according to the configuration information to obtain first processed metadata. The output unit 104 is used to send the first processed metadata to the corresponding first data receiving terminal 300.
[0028] The central processor will send the configuration information to the configuration information storage area 201 of the network processor including multiple processing modules 100. When the processing module 100 needs to process the metadata of the data packet to be processed, the metadata of the data packet to be processed is first received by the receiving unit 101. Then the data interconnection unit 102 will read the configuration information from the first configuration information buffer area 105 according to the metadata. The configuration information in the first configuration information buffer area 105 is sent by the configuration information storage area 201. Then the processing unit 103 will process the metadata according to the configuration information to obtain the first processed metadata. The output unit 104 sends the first processed metadata to the corresponding first data receiving end 300. The first data receiving end 300 can be an output port of the network processor including multiple processing modules 100.
[0029] In an embodiment of the present application, the configuration information sent by the configuration information storage area 201 can be cached by the first configuration information cache area 105. After the configuration information storage area 201 writes the configuration information into the first configuration information cache area 105, other operations can be performed, and then the data interconnection unit 102 reads the configuration information from the first configuration information cache area 105. This can avoid occupying the resources of the configuration information storage area 201 during the configuration process, and the configuration information storage area 201 can exchange data with other processing modules, thereby improving the configuration efficiency.
[0030] In a possible implementation, the configuration information in the first configuration information cache area 105 is sent from the configuration information storage area 201 through the second configuration information cache area 202 .
[0031] The second configuration information cache 202 may communicate with the first configuration information cache 105 of each processing module 100 in the plurality of processing modules 100 in the network processor.
[0032] In the embodiment of the present application, the configuration information storage area 201 sends configuration information to the first configuration information cache area 105 through the second configuration information cache area 202. Since the read and write speed of the cache area is at the memory level, the data transmission speed can be further improved.
[0033] In one possible implementation, the processing unit 103 is used to generate configuration update data according to the metadata, and send the configuration update information to the second configuration information cache 202 through the first configuration information cache 105, so that the configuration information storage area 201 updates its stored configuration information according to the configuration update information.
[0034] The processing module 100 can also update the configuration information in the second configuration information cache area 202. The processing unit 103 can generate configuration update data based on the metadata and send it to the data interconnection unit 102. Then the data interconnection unit 102 sends the configuration update information to the second configuration information cache area 202 through the first configuration information cache area 105. The configuration information storage area 201 updates its stored configuration information based on the configuration update information in the second configuration information cache area 202.
[0035] It should be noted that since the second configuration information cache area 202 can cache configuration update information sent by multiple processing modules 100, when the configuration information storage area 201 is updated, the configuration information can be updated in sequence according to the time, address and other information written into the second configuration information cache area 202 by the configuration update information.
[0036] In the embodiment of the present application, since the processing unit 103 can construct configuration update information according to metadata, the configuration information storage area 201 can eventually update the configuration information stored therein according to the configuration update information, thereby supporting more business scenarios.
[0037] In a possible implementation, the data interconnection unit 102 is used to read at least part of the data packets to be processed from the data packet storage area 203 according to the metadata. The processing unit 103 is used to process at least part of the data packets to be processed according to the configuration information to obtain a first processed data packet, and obtain second processed metadata according to the first processed data packet. The output unit 104 is used to send the second processed metadata and the first processed data packet to the corresponding first data receiving end 300.
[0038] The processing module 100 also supports processing the data packets to be processed. The data interconnection unit 102 can read at least part of the data packets to be processed from the data packet storage area 203 according to the storage information and data offset information of the data packets to be processed in the data packet storage area 203 included in the metadata. Then, the processing unit 103 processes at least part of the data packets to be processed according to the configuration information to obtain a first processed data packet, and obtains a second processed metadata according to the first processed data packet. Finally, the output unit 104 sends the second processed metadata to the corresponding first data receiving end 300, and sends the first processed data packet to the data packet storage area 203.
[0039] In the embodiment of the present application, the processing module 100 can read the data packet to be processed through the data interconnection unit 102 and process it through the processing unit 103, so that the processing module 100 can be applied to more processing scenarios.
[0040] In a possible implementation, the data interconnection unit 102 is configured to read the data packets to be processed multiple times when the size of at least part of the data packets to be processed read from the data packet storage area 203 is larger than the capacity of the data interconnection unit 102, wherein the size of the data packets to be processed read each time does not exceed the capacity of the data interconnection unit 102. The processing unit 103 is configured to process at least part of the data packets to be processed obtained by the data interconnection unit 102 each time according to the configuration information to obtain multiple second processed data packets. The output unit 104 is configured to determine the first processed data packet according to the multiple second processed data packets.
[0041] The capacity of the data interconnection unit 102 may be smaller than the size of at least part of the data packets to be processed that need to be read. In this case, the data interconnection unit 102 needs to perform multiple reading operations. For example, if the capacity of the data interconnection unit 102 is 512B and the size of at least part of the data packets to be processed that need to be read is 1000B, the data interconnection unit 102 first reads 512B of the data packets to be processed, and then reads 488B of the data packets to be processed. At this time, for the processing unit 103, each time the data interconnection unit 102 reads the data packets to be processed, the processing unit 103 will immediately perform the processing operation, and according to the configuration information, the data interconnection unit 102 processes at least part of the data packets to be processed each time, and obtains multiple second processed data packets. After the processing is finally completed, the output unit 104 determines the first processed data packet according to the multiple second processed data packets obtained by the processing unit 103.
[0042] In the embodiment of the present application, during the multiple readings by the data interconnection unit 102, the processing unit 103 performs processing operations normally, thereby ensuring the efficiency of data processing.
[0043] In a possible implementation, the data interconnection unit 102 is used to distribute a preservation sequence number for at least a portion of the data packets to be processed each time when the size of at least a portion of the data packets to be processed read from the data packet storage area is greater than the capacity of the data interconnection unit 102, and to generate a preservation sequence chain based on the distributed preservation sequence numbers. The output unit 104 is used to splice multiple second processed data packets according to the order of the preservation sequence numbers in the preservation sequence chain and the preservation sequence numbers carried by each second processed data packet to obtain a first processed data packet.
[0044] Since the processing unit 103 will normally perform data processing operations when the data interconnection unit 102 reads the pending data packets from the data packet storage area multiple times, in order to avoid data confusion when the output unit 104 finally determines the first processed data packet based on multiple second processed data packets, the data interconnection unit 102 distributes a preservation sequence number for at least part of the pending data packets read each time, for example, the preservation sequence number 1 is distributed for the pending data packets obtained in the first reading process, the preservation sequence number 2 is distributed for the pending data packets obtained in the second reading process, and the preservation sequence number N is distributed for the pending data packets obtained in the Nth reading process, and a preservation sequence chain 1-2-...N is generated at the same time. When the processing unit 103 processes at least part of the pending data packets, it will not process the preservation sequence number carried by it. In the process of obtaining the first processed data packet, the output unit 104 will sequentially splice the second processed data packets carrying the corresponding preservation sequence number according to the order of the preservation sequence chain.
[0045] It should be noted that, in the process of the output unit 104 obtaining the first processed data packet, if the output unit 104 completes splicing the second processed data packet carrying a certain sequence number in the sequence chain, if there is no second processed data packet carrying a sequence number that is subsequent to the certain sequence number in the sequence chain, the output unit 104 will wait for the second processed data packet carrying a sequence number that is subsequent to the certain sequence number in the sequence chain to appear and continue to complete the splicing operation.
[0046] In the embodiment of the present application, the data interconnection unit 102 distributes a sequence number for at least part of the data packets to be processed each time, thereby ensuring that the output unit 104 will not generate data confusion when splicing the second processed data packets.
[0047] Figure 2 is a structural diagram of a processing module applied to a DPU according to another embodiment of the present application. Figure 2 As shown, the processing module 100 further includes: a task queue buffer area 106 .
[0048] The receiving unit 101 is used to receive processing tasks sent by other processing modules, and when the processing module 100 does not meet the conditions for executing the processing tasks, the processing tasks are written into the task queue buffer area 106. When the processing module 100 meets the conditions for executing the processing tasks, the metadata of the data packet to be processed is received according to the first processing task in the task queue buffer area 106. The output unit 104 is used to generate a second processing task when the first data receiving end 300 is a target processing module, and send it to the target processing module.
[0049] Since the processing module 100 receives multiple processing tasks but cannot execute them simultaneously, when the processing module 100 does not meet the conditions for executing the processing tasks, such as when it is executing other processing tasks or does not have sufficient available resources, the receiving unit 101 will write the processing tasks into the task queue buffer 106. When the processing module 100 meets the conditions for executing the processing tasks, the receiving unit 101 will sequentially process the processing tasks in the task queue buffer 106. When the metadata processed by the processing module 100 needs to be processed by other processing modules, a second processing task will be generated and sent to the target processing module.
[0050] In the embodiment of the present application, since the processing module 100 includes the task queue buffer 106, the processing tasks that cannot be executed temporarily can be temporarily stored and executed in sequence when they can be executed.
[0051] Figure 3 is a schematic diagram of the structure of a network processor according to an embodiment of the present application. Figure 3 As shown, the network processor 200 includes: an input module 204, a plurality of processing modules 100 as described in any of the aforementioned embodiments, a data packet storage area 203 and an output module 205.
[0052] The input module 204 is used to write the data packet to be processed into the data packet storage area 203, generate metadata of the data packet to be processed, and send the metadata to the processing module 100. The output module 205 is used to receive the metadata of the data packet to be processed after being processed by at least one processing module 100, and send the metadata to the corresponding second data receiving end 400.
[0053] The central processor will send the configuration information to the configuration information storage area 201 of the network processor 200 including multiple processing modules 100. When data processing is required, the network processor 200 receives the data packet to be processed through the input module 204, writes the data packet to be processed into the data packet storage area 203, generates metadata of the data packet to be processed, and sends the metadata to the processing module 100. The processing module 100 first receives the metadata of the data packet to be processed through the receiving unit, and then the data interconnection unit reads the configuration information from the first configuration information buffer area according to the metadata. Then the processing unit processes the metadata according to the configuration information to obtain the first processed metadata, and the output unit sends the first processed metadata to the corresponding first data receiving end 300. The first data receiving end 300 can be the output module 205.
[0054] In an embodiment of the present application, the configuration information sent by the configuration information storage area can be cached through the first configuration information cache area. After the configuration information storage area writes the configuration information into the first configuration information cache area, other operations can be performed, and then the data interconnection unit reads the configuration information from the first configuration information cache area. This can avoid occupying the resources of the configuration information storage area during the configuration process, and the configuration information storage area can exchange data with other processing modules, thereby improving the configuration efficiency.
[0055] Figure 4 is a schematic diagram of the structure of a network processor according to another embodiment of the present application. Figure 4 As shown, the network processor 200 may further include: a configuration information storage area 201 .
[0056] The configuration information storage area 201 is used to write the configuration information stored therein into the second configuration information cache area 202 , and write at least part of the configuration information into the first configuration information cache area 105 of the processing module 100 through the second configuration information cache area 202 .
[0057] The configuration information storage area 201 can be homogeneous with the second configuration information cache area 202 to communicate with the first configuration information cache area of each processing module 100 in the plurality of processing modules 100 in the network processor 200 .
[0058] In an embodiment of the present application, the configuration information storage area 201 sends configuration information to the first configuration information cache area of the processing module 100 through the second configuration information cache area 202. Since the read and write speed of the cache area is at the memory level, the data transmission speed can be further improved.
[0059] Although the present application has been shown and described with respect to one or more implementations, equivalent variations and modifications will occur to those skilled in the art based on reading and understanding of this specification and the accompanying drawings. The present application includes all such modifications and variations and is limited only by the scope of the appended claims. In particular, with respect to the various functions performed by the above-mentioned components, the terms used to describe such components are intended to correspond to any component (unless otherwise indicated) that performs the specified function of the component (e.g., it is functionally equivalent), even if it is not structurally equivalent to the disclosed structure that performs the functions in the exemplary implementation of the present specification shown herein.
[0060] That is, the above description is only an embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the specification and drawings of the present application, such as the mutual combination of technical features between the embodiments, or direct or indirect application in other related technical fields, are also included in the patent protection scope of the present application.
[0061] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0062] In order to enable any technician in the field to implement and use the application, the application provides the above description. In the above description, various details are listed for the purpose of explanation. It should be understood that those of ordinary skill in the art can recognize that the application can also be implemented without using these specific details. In other embodiments, the well-known process will not be elaborated in detail to avoid unnecessary details that make the description of the application obscure. Therefore, the application is not intended to be limited to the embodiments shown, but is consistent with the widest range of principles and features disclosed in the application.
[0063] It should be noted that, under the premise of no conflict, the various embodiments described in this application and / or the technical features in each embodiment can be arbitrarily combined with each other, and the technical solution obtained after the combination should also fall within the protection scope of this application.
[0064] It should be understood that the specific examples in the embodiments of the present application are only to help those skilled in the art to better understand the embodiments of the present application, rather than to limit the scope of the embodiments of the present application. Those skilled in the art can make various improvements and modifications based on the above embodiments, and these improvements or modifications all fall within the scope of protection of the present application.
[0065] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A processing module applied to a DPU, It is characterized in that include: A receiving unit, configured to receive metadata of a data packet to be processed; A data interconnection unit, configured to read configuration information from a first configuration information buffer area according to the metadata; A processing unit, configured to process the metadata according to the configuration information to obtain first processed metadata; The output unit is used to send the first processed metadata to the corresponding first data receiving end.
2. The processing module according to claim 1, It is characterized in that The configuration information in the first configuration information buffer area is sent from the configuration information storage area through the second configuration information buffer area.
3. The processing module according to claim 2, It is characterized in that The processing unit is used to generate configuration update data according to the metadata, and send the configuration update information to the second configuration information cache area through the first configuration information cache area, so that the configuration information storage area updates its stored configuration information according to the configuration update information.
4. The processing module according to claim 1, It is characterized in that The data interconnection unit is used to read at least part of the data packets to be processed from the data packet storage area according to the metadata; The processing unit is configured to process at least part of the to-be-processed data packets according to the configuration information to obtain a first processed data packet, and obtain second processed metadata according to the first processed data packet; The output unit is used to send the second processed metadata to the corresponding first data receiving end, and send the first processed data packet to the data packet storage area.
5. The processing module according to claim 1, It is characterized in that The processing module also includes: a task queue buffer; The receiving unit is used to receive processing tasks sent by other processing modules, and when the processing module does not meet the conditions for executing the processing tasks, write the processing tasks into the task queue buffer area.
6. The processing module according to claim 5, It is characterized in that The receiving unit is used to receive metadata of the data packet to be processed according to the first processing task in the task queue buffer area when the processing module meets the condition for executing the processing task; The output unit is used to generate a second processing task and send it to the target processing module when the first data receiving end is the target processing module.
7. The processing module according to claim 4, It is characterized in that The data interconnection unit is used to read the data packets to be processed multiple times when the size of at least part of the data packets to be processed read from the data packet storage area is larger than the capacity of the data interconnection unit, wherein the size of the data packets to be processed read each time does not exceed the capacity of the data interconnection unit; The processing unit is used to process at least part of the data packets to be processed obtained by the data interconnection unit each time reading according to the configuration information, to obtain a plurality of second processed data packets; The output unit is used to determine the first processed data packet according to the multiple second processed data packets.
8. The processing module according to claim 7, It is characterized in that The data interconnection unit is used to distribute a preservation sequence number for at least part of the data packets to be processed read each time when the size of at least part of the data packets to be processed read from the data packet storage area is greater than the capacity of the data interconnection unit, and generate a preservation sequence chain according to the distributed preservation sequence numbers; The output unit is used to splice the multiple second processed data packets according to the order of the sequence numbers in the sequence chain and the sequence numbers carried by each second processed data packet to obtain the first processed data packet.
9. A network processor, It is characterized in that include: An input module, a plurality of processing modules as claimed in any one of claims 1 to 8, a data packet storage area and an output module; The input module is used to write the data packet to be processed into the data packet storage area, generate metadata of the data packet to be processed, and send the metadata to the processing module; The output module is used to receive the metadata of the data packet to be processed after being processed by at least one of the processing modules, and send the metadata to the corresponding second data receiving end.
10. The network processor according to claim 9, It is characterized in that Also includes: Configuration information storage area; The configuration information storage area is used to write the configuration information stored therein into the second configuration information cache area, and write at least part of the configuration information into the first configuration information cache area of the processing module through the second configuration information cache area.
