摘要 |
Provided are a TCAM-based table query processing method and apparatus. The method includes: executing a first query process for querying a TCAM entry; while the first query process is executed, executing a second query process for querying one or more entries other than the TCAM entry, wherein the first query process and the second query process run independently of each other; and respectively acquiring a first query result and a second query result through the first query process and the second query process. The technical solution solves the technical problem in the related technologies that the packet processing time is long due to the TCAM-based table query manner and the packet forwarding performance is affected accordingly, shortens the packet processing time and improves the packet forwarding performance. |