首页> 外国专利> State based ingress packet selection mechanism for a packet processing system in a network processor

State based ingress packet selection mechanism for a packet processing system in a network processor

机译:网络处理器中数据包处理系统的基于状态的入口数据包选择机制

摘要

An efficient method for performing state based ingress packet selection for a packet processing system in a network processor is disclosed. With this method, each set of message classes is associated with a state of an application, and each set of message classes is assigned to a semaphore. The application blocks one of the semaphores based on its current state. When a message is received, and the message belongs to a class assigned to the blocked semaphore, the blocked semaphore is signaled. The blocked semaphore then wakes the application. In this manner, when the application is awakened, it is guaranteed to find a message that it is interested in processing in its current state, resulting in greater efficiency in the processing of ingress messages.
机译:公开了一种用于为网络处理器中的分组处理系统执行基于状态的入口分组选择的有效方法。使用此方法,每组消息类别都与应用程序的状态相关联,并且每组消息类别均分配给一个信号量。该应用程序根据其当前状态阻止信号量之一。当收到一条消息,并且该消息属于分配给阻塞信号量的类时,将向阻塞信号量发出信号。然后,被阻止的信号灯将唤醒应用程序。以此方式,在唤醒应用程序时,可以确保找到它感兴趣的消息,以其当前状态进行处理,从而在处理入口消息时提高了效率。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号