Method and apparatus for packet matching, network device, and medium
AssigneeNew H3C Technologies Co., Ltd.
InventorYang Wang
Life of this patent
Estimating the term…
Loading patent…
AssigneeNew H3C Technologies Co., Ltd.
InventorYang Wang
Estimating the term…
A method and apparatus for packet matching, a network device, and a medium are disclosed, which includes adding N first data packets into N pipelines and configuring a stage for each pipeline as a root node of a decision tree; calculating a first hash value for a first pipeline in the N pipelines, and asynchronously prefetching a first output interface data corresponding to the first hash value from a memory, calculating a second hash value for a second pipeline in the N pipelines while prefetching the first output interface data from the memory, obtaining the first output interface data from the cache when calculation of the hash value for each pipeline is finished, deleting the first data packet when the first output interface data is characterized as being used to forward the first data packet in the first pipeline and adding a second data packet into the first pipeline.
A method for packet matching, which comprises:
An apparatus for packet matching, which comprises:
Dependencies are inferred from the claim text.