首页> 外国专利> NETWORK PROCESSOR MIRROR IMPLEMENTATION METHOD AND NETWORK PROCESSOR

NETWORK PROCESSOR MIRROR IMPLEMENTATION METHOD AND NETWORK PROCESSOR

机译:网络处理器镜像实现方法和网络处理器

摘要

The present invention relates to a network processor mirror implementation method and a network processor. The method includes: a network processor acquiring the message head of an original message which enters a buffer unit from a source port, with the original message being allocated with an index number; carrying the index number within the message head and sending same to a micro-engine unit; performing microcoding on the message head, and acquiring exit information about a mirror from a pre-set mirror list according to the index number; and re-linking the original message in the buffer unit and the microcoded message head to form a mirror message, and sending same out from a mirror port indicated by the exit information about the mirror. The present invention takes advantage of the message forwarding flow in the relevant art to forward a mirror message, wherein the forwarding procedure of mirror messages is flexible and general purpose, having a stronger applicability, and being capable of saving system resources and costs.
机译:本发明涉及网络处理器镜像的实现方法和网络处理器。该方法包括:网络处理器,从源端口获取进入缓冲单元的原始消息的消息头,为原始消息分配索引号;在消息头中携带索引号,并将其发送给微引擎单元;对消息头进行微编码,并根据索引号从预设的镜像列表中获取镜像的退出信息;重新链接缓冲单元中的原始消息和微编码消息头,以形成镜像消息,并从关于该镜像的退出信息指示的镜像端口发送出去。本发明利用现有技术中的消息转发流程来转发镜像消息,其中,镜像消息的转发过程灵活通用,适用性强,能够节省系统资源和成本。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号