首页> 外国专利> METHOD AND APPARATUS FOR A PACKET CLASSIFIER USING A TWO-STEP HASH MATCHING PROCESS

METHOD AND APPARATUS FOR A PACKET CLASSIFIER USING A TWO-STEP HASH MATCHING PROCESS

机译:两步哈希匹配过程的分组分类器的方法和装置

摘要

In one embodiment, a method for efficiently classifying packets for a multi-processor/mutli-thread environment is provided. The method initiates with receiving a packet. Then, header information is extracted form the received packet. Next, a first hash value is calculated. Then, a field of interest in a lookup table is determined from the first hash value. Next, a second hash value is calculated. Then, the second hash value is compared to stored hash values in the field of interest of the lookup table to determine a match between the second hash value and one of the values in the field of interest of the lookup table. If there is a match, the received packet is transmitted to a processor corresponding to the one of the values in the row location of the lookup table. A network interface card and a system for efficiently classifying packets in a multicore/multithread environment are also provided.
机译:在一个实施例中,提供了一种用于针对多处理器/多线程环境有效地对分组进行分类的方法。该方法始于接收分组。然后,从接收的分组中提取报头信息。接下来,计算第一哈希值。然后,从第一哈希值确定查找表中的关注字段。接下来,计算第二哈希值。然后,将第二哈希值与在查找表的关注字段中存储的哈希值进行比较,以确定第二哈希值与查找表的关注字段中的值之一之间的匹配。如果存在匹配,则将接收到的分组发送到与查找表的行位置中的值之一相对应的处理器。还提供了用于在多核/多线程环境中对分组进行有效分类的网络接口卡和系统。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号