Patent ID: 8589610

Claim:
A method for processing commands on a host channel adapter, the method comprising: receiving, by the host channel adapter, data in a command from a host connected to the host channel adapter, wherein the command comprises an instruction, an identification of packet data, and a length field; extracting, by the host channel adapter, a length of the command from the length field in the data; generating a scoreboard mask based on the length, wherein the scoreboard mask comprises unused bits in the scoreboard preset; and setting, with each portion of the data received, a bit in a scoreboard to identify the portion of data received; determining that a size of the data received for the command matches the length using the scoreboard by: performing a bitwise “or” operation on the scoreboard and the scoreboard mask to obtain a result, and determining that all bits of the result are set; issuing, by the host channel adapter, a kick on the host channel adapter when the size of the data received for the command matches the length; executing, by the host channel adapter and in response to the kick, the instruction on a pipeline to initiate sending the packet data; and sending, by the host channel adapter, the packet data on a network.