摘要 |
A method of validation and host buffer allocation for unmapped fibre channel frames. More particularly, the invention encompasses a method of validating unmapped frames, each including a header and a payload, including receiving a frame (500) as a current frame; determining if the current frame is a first frame in a sequence (502), and if so, saving the header and payload of the current frame in a buffer (504), and otherwise determining if the current frame is a next expected frame in the sequence (508), then saving the payloa d of the current frame in the buffer after the payload of the prior frame (512 ); determining if the current frame is a last frame in the sequence (510), and if so, sending a message to a host indicating receipt of the complete sequence (518); if the current frame is not the next expected frame in the sequence, then saving the header and payload of the current frame in the buffer (520), and sending a message to the host indicating receipt of a partial sequence (522). The host CPU is interrupted when either a complete sequence is received, or a partial sequence is received, followed by a frame from a different sequence. The host CPU may then process the concatenated payload o f the sequence. The invention is particularly useful for processing TCP/IP frames in a Fibre Channel network.
|