Skip to main content

TCP Case

To implement a completely reliable separate interrupt channel for TCP requires a channel with a full sequence number space. It is possible to compromise here and make the interrupt number space smaller than that required to support consumption of numbers at the TCP's bandwidth. What is lost is the total independence of the flow control from the data-control channel. Normally, the data-control sequence numbers will change often enough so that wraparound in the interrupt number space causes no problems.

Things become slightly messy when many interrupts are generated in quick succession. Even if the interrupt numbers are acknowledged, they cannot be reused if they refer to the same data-control sequence number, until a full packet lifetime has elapsed. This can be remedied in all but one case by sending a NOP on the data-control channel so that the next set of interrupts can refer to a new data-control sequence number. However, if the data-control channel is blocked due to flow control and a resynchronizing control (DSN in the TCP case) was just sent, a NOP cannot be created until the resynchronization is complete and a new starting sequence number is chosen. Thus to send another interrupt, the TCP must wait for a packet lifetime or an indication that it can send a NOP on the data-control channel. (In reality, a connection would probably be closed long before a packet lifetime elapsed if the sender is not accepting data from the receiver. [reference 1])