A partition routing sharing method and device for a switching chip

By dividing the ports of the switching chip into multiple partitions and setting up a local route cache, the routing table query process is optimized, solving the problems of low routing table query efficiency and high hardware resource consumption in the existing technology, and realizing efficient routing table query. and transmission efficiency.

CN117938783BActive Publication Date: 2024-08-27WUXI STARS MICRO SYSTEM TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311716085.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-14
Publication Date
2024-08-27
Estimated Expiration
2043-12-14

AI Technical Summary

Technical Problem

Existing switching chip routing table implementation solutions have problems such as insufficient read route performance, high risk of physical implementation timing convergence, and excessive hardware resource consumption. It is difficult to achieve efficient routing table query on the basis of balancing resource consumption and routing efficiency.

Method used

Divide all ports of the switching chip into multiple partitions, set up a shared routing table for each partition, and set up a local route cache inside each port. Through the arbitration mechanism of pre-routing requests and read routing table requests, the routing table query process is optimized. Reduce hardware resource consumption and physical implementation timing delays.

Benefits of technology

It improves the efficiency of routing table query, reduces message transmission delay and hardware resource consumption, reduces the risk of physical congestion, realizes fast route query, and ensures transmission efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117938783B
    Figure CN117938783B
Patent Text Reader

Abstract

The present invention provides a partitioned route sharing method and device for a switching chip, which divides all ports of the switching chip into multiple partitions, sets a shared routing table in each partition, and sets a local routing cache in each port; when an inlet port receives an inlet message and obtains a destination device ID in the message, a pre-routing request is initiated to the local routing cache, and if the cache hits, the corresponding egress port is directly returned to the inlet port, and if it does not hit, a read routing table request is initiated to the shared routing table in the partition; after the arbitration of the read partition shared route request wins, a routing table lookup is started, and when the table lookup hits, the egress port corresponding to the destination node device ID is returned to the inlet port; after the inlet port passes the verification of the partition routing table response, the local routing cache is updated. The present invention ensures the efficiency of routing addressing, reduces the message transmission delay, and ensures the transmission bandwidth of the switching chip on the basis of reducing the consumption of hardware resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of switching network routing, and in particular relates to a partition routing sharing method and device for a switching chip. Background Art

[0002] The switching chip is the core hardware component in the switching network, which is used to process network traffic and realize the fast switching and forwarding of data in the network. High transmission bandwidth and low transmission delay are important performance indicators of the switching chip. One of the important hardware modules of the switching chip is the routing table RT (Routing Table), which contains the topology of the network and the path information pointing to the specific network destination node device. The implementation scheme of the routing table is crucial to the determination of the switching chip egress port and the fast forwarding of messages. The routing table in the switching chip is usually implemented using content addressable memory CAM (Content Addressable Memory) or random access memory RAM (Random Access Memory), which is used to store the correspondence between the message destination node device ID and the switching chip egress port.

[0003] With the rapid development of switching networks, there are more and more switching nodes in the network, more and more routing table entries containing routing information in the network topology, and more and more hardware resource consumption. At the same time, the number of switching chip ports is increasing, and the chip scale is also getting larger and larger. Limited by the manufacturing process and manufacturing cost, high-performance switching chips have very strict requirements on hardware resource consumption on the basis of achieving high bandwidth. How to achieve efficient routing table query on the basis of balancing resource consumption and routing efficiency is one of the important factors affecting the transmission bandwidth and transmission delay of switching chips.

[0004] In a typical design of the prior art, Figure 1 As shown, all ports (PORT) of the switching chip globally share a unique routing table. This solution has the disadvantages of insufficient read routing performance, physical implementation timing convergence, and high congestion risk. Specifically, in the global sharing solution, when multiple port ingress messages need to read the routing table, a large number of ports queue up to read the routing table, which ultimately increases the message transmission delay and reduces the transmission bandwidth. The routing table is placed in the center of the chip, which is physically far away from the ingress port. The ingress port initiates a request to read the routing table and the routing table response path has a large transmission delay, and the physical implementation timing convergence risk is high. A large number of signal routings need to be physically implemented from the ingress port to the routing table located in the center of the chip, and there is a risk of physical wiring congestion.

[0005] In another typical design of the prior art, Figure 2As shown, each ingress port of the switching chip has its own routing table. This solution has the disadvantages of high hardware resource consumption, long-term idleness of the routing table, and underutilization. Specifically, in the exclusive routing solution, in a large-scale switching network, the number of routing table items and ports is large, the exclusive solution consumes huge resources, and there is a risk of physical impracticability and increased manufacturing costs. Usually the routing table is configured during the network topology discovery process. There are many routing tables, the software configuration time is long, and the CPU load is large. For link transmission and large data packet transmission switching networks, the ingress port does not need to continuously read the routing table every cycle, and the routing table of the exclusive routing solution is idle for a long time and is not fully utilized. Summary of the invention

[0006] The object of the present invention is to provide a partition routing sharing method and device for a switching chip, aiming to overcome the problems of insufficient routing addressing performance and high physical congestion risk.

[0007] According to a first aspect of the present invention, a partition routing sharing method for a switch chip is provided, comprising:

[0008] Divide all ports in the switch chip into multiple partitions, set a shared routing table in each partition, and set a local routing cache in each port;

[0009] When the ingress port receives an ingress message, a pre-routing request is initiated to the local routing cache in the ingress port. If the destination node device ID of the ingress message hits the local routing cache, the egress port corresponding to the destination node device ID of the ingress message is directly returned to the ingress port. If the local routing cache does not hit, a read routing table request is initiated to the shared routing table of the partition where the ingress port is located.

[0010] Arbitrate the read routing table requests of each port in the partition, and the read routing table request that wins the arbitration initiates the read routing table operation. When the shared routing table is hit, the egress port corresponding to the destination node device ID is returned to the corresponding ingress port, and the partition routing table is responded to and checked through the ingress port. After the check passes, the local routing cache in the ingress port is updated.

[0011] Preferably, the method of dividing all ports in the switching chip into a plurality of partitions and setting a shared routing table in each partition further comprises:

[0012] Divide the ports into multiple partitions according to the physical location relationship between the ports, and place adjacent ports in the same partition.

[0013] The location of the shared routing table is determined according to the physical distance between each port in the partition and the shared routing table.

[0014] Preferably, the initiating a read routing table request to the shared routing table of the partition where the ingress port is located further comprises:

[0015] It is determined whether the Outstanding queue that has been issued but not responded locally has any remaining space. If so, the read routing table request is initiated to the shared routing table; otherwise, the read routing table request is waited.

[0016] Preferably, the arbitrating the request to read the routing table further comprises:

[0017] It is determined whether the ingress port has an absolute priority, where the absolute priority indicates that the arbitration priority of the port in reading the routing table is higher than that of other ingress ports; if it does not have an absolute priority, the table lookup operation is completed by polling the ingress ports one by one.

[0018] Preferably, the local route cache includes a first route cache and a second route cache, the first route cache is configured by software, the second route cache is automatically acquired and updated by hardware, and the updating of the local route cache in the ingress port further includes:

[0019] receiving the egress port corresponding to the returned destination node device ID of the shared routing table, and determining whether the destination node device ID already exists in the second routing cache,

[0020] If it already exists, no processing is performed; if it does not exist, the earliest recorded correspondence between a set of destination node device IDs and egress ports in the second routing cache is deleted, and the correspondence between the current destination node device ID and egress port is recorded in the second routing cache.

[0021] According to a second aspect of the present invention, a partition routing sharing device for a switch chip is provided, comprising:

[0022] A partitioning module is used to divide all ports in the switching chip into multiple partitions, set a shared routing table in each partition, and set a local routing cache in each port;

[0023] A routing request module, configured to initiate a pre-routing request to a local routing cache in the ingress port when the ingress port receives an ingress message, and if the destination node device ID of the ingress message hits the local routing cache, directly return the corresponding egress port to the ingress port, and if the local routing cache does not hit, initiate a read routing table request to a shared routing table in the partition where the ingress port is located;

[0024] An arbitration module, used for arbitrating the read route requests of each port in the partition to read the partition shared route and determine the order of reading the routing table;

[0025] The updating module updates the local routing cache in the ingress port after performing a response check on the partition routing table through the ingress port when the egress port corresponding to the destination node device ID returns to the ingress port.

[0026] Compared with the prior art, the technical solution of the present invention has the following advantages:

[0027] Under the premise that the hardware resource consumption is acceptable, the present invention can improve the efficiency of routing table query, increase the message transmission rate, and reduce the message transmission delay in the switching chip. Compared with the global shared routing table solution, the routing performance is improved, the path delay from the port to the routing table is reduced, the physical implementation is friendly, and the congestion risk is reduced. Compared with the port-exclusive routing table solution, on the basis of ensuring routing efficiency, the hardware resource consumption is saved and the chip manufacturing cost is reduced. Through the routing addressing scheme based on the Outstanding mechanism, the routing table query is completed efficiently and without waiting. In the scenario where the message destination node device ID appears repeatedly and the system pays attention to the transmission performance of specific key destination node devices, fast routing query is achieved to ensure transmission efficiency.

[0028] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures and processes indicated in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the embodiments of the present invention 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. It is obvious that the drawings described below are certain embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0030] Figure 1 It is a schematic diagram of implementing a global shared routing table according to the prior art.

[0031] Figure 2 It is a schematic diagram of realizing an exclusive routing table according to the prior art.

[0032] Figure 3 It is a schematic diagram of implementing a partitioned shared routing table supporting local routing cache according to the present invention.

[0033] Figure 4 It is an overall flow chart of partition routing sharing of the switching chip according to the present invention.

[0034] Figure 5 It is a schematic diagram of implementation in routing partition according to the present invention.

[0035] Figure 6 4 is a flow chart of partition shared routing addressing according to the present invention.

[0036] Figure 7 It is a schematic diagram of implementing the local routing cache according to the present invention. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0038] Aiming at the shortcomings of the existing global shared routing table, such as insufficient routing addressing performance, high risk of physical congestion, high hardware consumption of exclusive routing table, and inability to fully utilize the routing table, the present invention proposes a partitioned routing sharing method and device for a switching chip, which adopts a local routing cache scheme in a port implemented by a register and a partitioned shared routing table to realize fast routing addressing of a destination node device or a specific key node of a repeated message. On the basis of balancing the routing addressing efficiency and hardware resource consumption, the routing addressing and transmission efficiency are effectively guaranteed, thereby reducing the transmission delay and ensuring the transmission bandwidth of the switching chip.

[0039] The partition shared routing implementation architecture supporting local routing cache of the present invention is as follows Figure 3 As shown. All ports in the switching chip are partitioned according to preset rules, and a set of routing tables are shared within the partitions. Local routing caches are set inside all ports in the switching chip. The local routing caches include a first routing cache and a second routing cache. Figure 5 The local route cache 1 and the local route cache 2 are shown in FIG. The local route cache 1 is set by software to store the correspondence between the specific destination node device ID and the switch chip egress port. In the local route cache 2, the hardware automatically obtains and records the correspondence between the most recent destination node device ID and the switch chip egress port.

[0040] See also Figure 4 The partition routing sharing method of the switching chip provided by the present invention includes:

[0041] Step 101: Divide all ports in the switch chip into multiple partitions, set a shared routing table in each partition, and set a local routing cache in each port.

[0042] Specific implementation plans such as Figure 5As shown. All ports in the switch chip are divided into multiple routing partitions. A routing partition contains a set of routing tables containing the corresponding egress port information of the destination device in the network topology in the switch chip. When multiple ports in the routing partition receive the ingress message and obtain the destination node device ID, they initiate a read routing request. The routing table read arbitration module receives the addressing request of each ingress port, and after arbitration, starts to read the shared routing table in the partition in turn. After the routing egress port information is determined, it returns to the corresponding routing request ingress port.

[0043] The routing partition is determined according to the physical position relationship of each port, and adjacent ports are divided into the same routing partition. The partition shared routing table is placed near the port in the partition, thereby reducing the physical implementation distance from the port to the shared routing table and reducing the table lookup path delay.

[0044] The number of ports within a zone can be determined based on the following strategies:

[0045] 1) On the basis of acceptable physical implementation, chip size and manufacturing cost, the number of ports in a partition should be as small as possible to reduce the read routing waiting time of each ingress port;

[0046] 2) The number of ports in the partition does not exceed the number of system clock cycles that a typical message lasts. The number of system clock cycles that a typical message lasts reflects how many system clock cycles each port needs to perform a routing table lookup.

[0047] In a preferred embodiment, all partition routing tables in the switch chip are implemented using the same hardware logic and mounted to the same address space of the system bus. When configuring the routing table, all routing table configurations are completed at one time, simplifying the complexity of software configuration.

[0048] Usually, the routing table is implemented using CAM / RAM. In a high-speed switching network with a high operating frequency, the current read cycle often cannot complete the routing table lookup implemented by CAM / RAM. For scenarios where the destination node device corresponding to the switching chip inlet message appears repeatedly, such as a data message is limited by the maximum amount of data that a single message can carry, MTU (Maximum Transfer Unit), and is split into multiple messages for transmission, or the switching chip is directly connected to the terminal device. And in some special application scenarios, the transmission priority of certain key destination node devices is higher than that of other node devices. In response to the above problems, the present invention designs a local routing cache solution within the port implemented by a register, which can quickly determine the egress port of the message.

[0049] Step 102: When the ingress port receives an ingress message, a pre-routing request is initiated to the local routing cache in the ingress port. If the destination node device ID of the ingress message hits the local routing cache, the corresponding egress port is directly returned to the ingress port. If the local routing cache does not hit, a read routing table request is initiated to the shared routing table of the partition where the ingress port is located.

[0050] See also Figure 6 In the flowchart, when multiple ports in the routing partition receive the ingress message, they obtain the destination node device ID in the ingress message and initiate a pre-routing request. The node ID is the unique identification number of the network device in the network topology, which is used for routing the switching chip message transmission and determining the egress port.

[0051] The pre-routing request uses local routing cache 1 and local routing cache 2 to match the destination node device ID. If the match is successful, the egress port confirmation is completed and the process ends. If the match is not successful, the subsequent steps are continued.

[0052] In an optional embodiment, before initiating a routing request to the shared routing table of the partition where the ingress port is located, it also includes determining whether the Outstanding queue that has been issued locally and not responded to has remaining space. If there is remaining space, initiating an Outstanding read routing table request; otherwise waiting.

[0053] Among them, the Outstanding mechanism is used to initiate a read route request. Before the previous read route request is answered, the next read route request can be initiated, which can maximize the read route pipeline implementation and improve the efficiency of routing addressing. The Outstanding queue is used to record the destination node device ID of all issued and unanswered routing requests, and clear the corresponding queue item after the routing request is answered. When there is no remaining space in the Outstanding queue, no read route request will be initiated; until there is additional space in the Outstanding queue, the read route request can be initiated again. In a preferred embodiment, the Outstanding queue depth can be set as needed.

[0054] Step 103: Arbitrate the read routing table requests of each port in the partition. The read routing table request that wins the arbitration initiates a read routing table operation. When the shared routing table is hit, the egress port corresponding to the destination node device ID is returned to the corresponding ingress port. The partition routing table is responded to and verified through the ingress port. After the verification passes, the local routing cache in the ingress port is updated.

[0055] After receiving the read routing table request from each port in the partition, the partition routing control module performs the read routing arbitration. The request that wins the arbitration executes the operation of reading the routing table, otherwise it waits for the next arbitration.

[0056] In one embodiment, the routing table read arbitration adopts polling arbitration based on absolute priority. According to the use requirements, an arbitration absolute priority is set for one or more ports in the partition, that is, the port table lookup priority is higher than other ports. When the absolute priority of one or more ports is not enabled, the routing table lookup request of each port in the partition is polled one by one to complete the table lookup operation fairly.

[0057] Use the destination node device ID information corresponding to the arbitration winning request to start reading the routing table. After the routing table query is completed, the routing information is returned to the corresponding request port.

[0058] The request port performs a response check on the partition routing table. After the check passes, the egress port is determined, the routing addressing process ends, and the local routing cache 2 is updated. The above response check includes, for example, the routing table response egress port does not exist, the routing table response timeout, the response type does not meet the specification, etc. The exception handling solution in this step can improve the robustness of routing queries within the routing partition and effectively avoid software intervention when the routing table response is abnormal.

[0059] On the other hand, if the verification fails, the response exception handling process is initiated to re-initiate the read route request. The response exception handling specifically includes using the Outstanding queue to record the destination node device ID information and re-initiating the table lookup request that was not correctly answered.

[0060] Figure 7 An implementation example of two local routing caches is given, that is, registers are used to implement a certain number of correspondences between destination node device IDs and egress ports. The number of correspondences between node device IDs and egress ports in the local cache can be set as needed.

[0061] Table 1

[0062] type Configuration Local route cache 1 Software configuration remains unchanged; supports software clearing when topology changes Local route cache 2 Automatic hardware acquisition and update; support software clearing when topology changes

[0063] Combined with the above Table 1, the local routing cache 1 only supports software configuration, which is used to quickly determine the egress port of a specific high-performance node device in the switching network, without the need for arbitration and queuing to read the partition shared routing table, thereby improving the message routing and transmission efficiency of the node. The local routing cache 2 is automatically acquired and updated by the hardware, and is used to record the correspondence between the destination node device ID of a specific number of messages and the egress port of the switching chip. In a specific implementation, when the partition shared routing table returns the egress port information of the ingress message, it is determined whether the corresponding destination node device ID of the message already exists in the local routing cache 2. If it already exists, it is not processed. If it does not exist, the correspondence between the destination node device ID and the egress port is updated to the local routing cache 2. The update of the local routing cache 2 is implemented in a cyclic write manner, that is, the new "node ID-egress port" correspondence entry overwrites the earliest "node ID-egress port" entry in the local cache 2.

[0064] In addition, as shown in Table 1, local route cache 1 and cache 2 support software clearing; when the network topology changes and the routing table entries need to be updated, the software can be configured to clear the local route cache in the port; the local route cache is fully compatible with the operation of updating the routing table entries when the topology changes.

[0065] It can be seen that the partition routing sharing method of the switching chip proposed in the present invention has the following advantages compared with the prior art:

[0066] The present invention adopts a partitioned shared routing solution that supports local routing cache. Under the premise that the hardware resource consumption is acceptable, the routing table query efficiency can be improved, the message transmission rate can be increased, and the message transmission delay in the switching chip can be reduced. Compared with the global shared routing table solution, the routing performance is improved, the path delay from the port to the routing table is reduced, the physical implementation is friendly, and the congestion risk is reduced. Compared with the port-exclusive routing table solution, on the basis of ensuring routing efficiency, hardware resource consumption is saved and the chip manufacturing cost is reduced. Through the routing addressing solution based on the Outstanding mechanism, the routing table query is completed efficiently and without waiting. When the message destination node device ID appears repeatedly, the message is quickly routed and queried to ensure transmission efficiency; and the message transmission efficiency of specific key destination node devices can be guaranteed.

[0067] Accordingly, the present invention provides a partition routing sharing device of a switching chip in a second aspect, comprising:

[0068] A partitioning module is used to divide all ports in the switching chip into multiple partitions, set a shared routing table in each partition, and set a local routing cache in each port;

[0069] A routing request module, configured to initiate a pre-routing request to a local routing cache in the ingress port when the ingress port receives an ingress message, and if the destination node device ID of the ingress message hits the local routing cache, directly return the corresponding egress port to the ingress port, and if the local routing cache does not hit, initiate a read routing table request to a shared routing table in the partition where the ingress port is located;

[0070] An arbitration module, used for arbitrating the read route requests of each port in the partition to read the partition shared route and determine the order of reading the routing table;

[0071] The updating module updates the local routing cache in the ingress port after performing a response check on the partition routing table through the ingress port when the egress port corresponding to the destination node device ID returns to the ingress port.

[0072] The above-mentioned device can be implemented by the partition routing sharing method of the switching chip provided by the embodiment of the first aspect above. The specific implementation method can refer to the description in the embodiment of the first aspect, which will not be repeated here.

[0073] It is understood that the implementation structures, names and parameters described in the above embodiments are only examples. Those skilled in the art can also easily think of combinations and adjustments to the structural features of the above embodiments according to the use requirements, and the concept of the present invention should not be limited to the specific details of the above examples.

[0074] Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent substitutions for some of the technical features therein; and these modifications or substitutions do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A partition routing sharing method for a switching chip, characterized in that: include: Divide all ports in the switch chip into multiple partitions, set a shared routing table in each partition, and set a local routing cache in each port; When the ingress port receives an ingress message, a pre-routing request is initiated to the local routing cache in the ingress port. If the destination node device ID of the ingress message hits the local routing cache, the egress port corresponding to the destination node device ID of the ingress message is directly returned to the ingress port. If the local routing cache does not hit, a read routing table request is initiated to the shared routing table of the partition where the ingress port is located. Arbitrate the read routing table requests of each port in the partition, and the read routing table request that wins the arbitration initiates the read routing table operation. When the shared routing table is hit, the egress port corresponding to the destination node device ID is returned to the corresponding ingress port, and the partition routing table is verified through the ingress port. After the verification passes, the local routing cache in the ingress port is updated; Among them, dividing all ports in the switching chip into multiple partitions includes: the routing partition is determined according to the physical position relationship of each port, and adjacent ports are divided into the same routing partition; the partition shared routing table is placed near the port in the partition, thereby reducing the physical implementation distance from the port to the shared routing table and reducing the table lookup path delay.

2. The partition routing sharing method of the switching chip according to claim 1, characterized in that: Setting up a shared routing table in each partition further includes: The location of the shared routing table is determined according to the physical distance between each port in the partition and the shared routing table.

3. The partition routing sharing method of the switching chip according to claim 1, characterized in that: The initiating a read routing table request to the shared routing table of the partition where the ingress port is located further includes: Determine whether the Outstanding queue that has been issued and not responded locally has remaining space. If so, initiate the read routing table request to the shared routing table, otherwise wait; wherein the Outstanding queue is used to record the destination node device ID of all issued and unanswered routing requests.

4. The partition routing sharing method of a switching chip according to claim 1, characterized in that: The arbitrating of the read routing table requests of each port in the partition further includes: It is determined whether the ingress port has an absolute priority, where the absolute priority indicates that the arbitration priority of the ingress port in reading the routing table is higher than that of other ingress ports; if it does not have an absolute priority, the table lookup operation is completed by polling the ingress ports one by one.

5. The partition routing sharing method of a switching chip according to claim 1, characterized in that: The local route cache includes a first route cache and a second route cache, wherein the first route cache is configured by software; The second routing cache is automatically acquired and updated by hardware, and the updating of the local routing cache in the ingress port further includes: receiving the egress port corresponding to the returned destination node device ID of the shared routing table, and determining whether the destination node device ID already exists in the second routing cache, If it already exists, it will not be processed; If not, the earliest recorded correspondence between a set of destination node device IDs and egress ports in the second routing cache is deleted, and the current correspondence between the destination node device ID and the egress port is recorded in the second routing cache.

6. A partition routing sharing device for a switching chip, characterized in that: include: A partitioning module is used to divide all ports in the switching chip into multiple partitions, set a shared routing table in each partition, and set a local routing cache in each port; A routing request module, configured to initiate a pre-routing request to a local routing cache in the ingress port when an ingress port receives an ingress message, and if the destination node device ID of the ingress message hits the local routing cache, directly return the egress port corresponding to the destination node device ID of the ingress message to the ingress port, and if the local routing cache does not hit, initiate a read routing table request to a shared routing table of the partition where the ingress port is located; An arbitration module, used for arbitrating the read route requests of each port in the partition to read the partition shared route and determine the order of reading the routing table; An update module, when the egress port corresponding to the destination node device ID returns to the ingress port, performs a response check on the partition routing table through the ingress port, and updates the local routing cache of the ingress port after the check passes; Among them, dividing all ports in the switching chip into multiple partitions includes: the routing partition is determined according to the physical position relationship of each port, and adjacent ports are divided into the same routing partition; the partition shared routing table is placed near the port in the partition, thereby reducing the physical implementation distance from the port to the shared routing table and reducing the table lookup path delay.

7. The partition routing sharing device of the switching chip according to claim 6, characterized in that: The partition module is further used for: The location of the shared routing table is determined according to the physical distance between each port in the partition and the shared routing table.

8. The partition routing sharing device of the switching chip according to claim 6, characterized in that: The routing request module is further used for: Determine whether the Outstanding queue that has been issued and not responded locally has remaining space. If so, initiate the read routing table request to the shared routing table, otherwise wait; wherein the Outstanding queue is used to record the destination node device ID of all issued and unanswered routing requests.

9. The partition routing sharing device of a switching chip according to claim 6, characterized in that: The arbitration module is further used for: It is determined whether the ingress port has an absolute priority, where the absolute priority indicates that the arbitration priority of the ingress port in reading the routing table is higher than that of other ingress ports; if it does not have an absolute priority, the table lookup operation is completed by polling the ingress ports one by one.

10. The partition routing sharing device of a switching chip according to claim 6, characterized in that: The local route cache includes a first route cache and a second route cache, the first route cache is configured by software, the second route cache is automatically acquired and updated by hardware, and the local route cache in the ingress port is updated, The update module is further used to: receiving the egress port corresponding to the returned destination node device ID of the shared routing table, and determining whether the destination node device ID already exists in the second routing cache, and if so, not processing the egress port; If not, the earliest recorded correspondence between a set of destination node device IDs and egress ports in the second routing cache is deleted, and the current correspondence between the destination node device ID and the egress port is recorded in the second routing cache.