11 Mar
2014
11 Mar
'14
9:13 a.m.
Takashi Sakamoto wrote:
(mar 10 2014 06:13), Clemens Ladisch wrote:
The frame in which the out-packet will be sent is QUEUE_LENGTH frames later than that of the in-packet, so we need to adjust the SYT by that amount. (However, 48 % 16 == 0.)
So basically we need to add nothing to SYT for out-packet.
It would be possible to do the QUEUE_LENGTH adjustment in the code and rely on the compiler to optimize it away, but that would be silly. OTOH a comment might be useful.
Regards, Clemens