发明名称 Merging result from a parser in a network processor with result from an external coprocessor
摘要 A mechanism is provided for merging in a network processor results from a parser and results from an external coprocessor providing processing support requested by said parser. The mechanism enqueues in a result queue both parser results needing to be merged with a coprocessor result and parser results which have no need to be merged with a coprocessor result. An additional queue is used to enqueue the addresses of the result queue where the parser results are stored. The result from the coprocessor is received in a simple response register. The coprocessor result is read by the result queue management logic from the response register and merged to the corresponding incomplete parser result read in the result queue at the address enqueued in the additional queue.
申请公布号 US8949856(B2) 申请公布日期 2015.02.03
申请号 US201313891825 申请日期 2013.05.10
申请人 International Business Machines Corporation 发明人 Basso Claude;Calvignac Jean L.;Chang Chih-jen;Damon Philippe;Vaidhyanathan Natarajan;Verplanken Fabrice J.;Verrilli Colin B.
分类号 G06F3/00;G06F9/54 主分类号 G06F3/00
代理机构 代理人 Tkacs Stephen R.;Walder, Jr. Stephen J.;Bennett Steven L.
主权项 1. A method for managing in a network processor results from a parser analyzing an incoming data packet, the method comprising: enqueueing in a result queue a parser result coming from the parser, wherein the parser result indicates whether the parser result is complete or needs to be completed by a coprocessor result from the external coprocessor, wherein the network processor comprises a processor bus, at least one processor connected to the processor bus, and a network adapter connected to the processor bus and the external coprocessor; enqueuing in an additional queue an entry containing an address of the entry in the result queue and the indication that the parser result is complete or needs to be completed; determining whether a first entry in the additional queue refers to a parser result to be completed; and responsive to determining the first entry in the additional queue refers to a parser result to be completed, responsive to receiving a coprocessor result in a response register, merging the coprocessor result from the response register with a parser result read from the result queue using the address from the first entry in the additional queue to form a completed result, writing the completed result in the result queue, and exposing the completed result to a dequeue and sequential sending process for further processing by the network processor.
地址 Armonk NY US
您可能感兴趣的专利