From: Cruise Huang <zyziii@tom.com>
To: netdev@vger.kernel.org
Cc: David Miller <davem@davemloft.net>
Subject: a question about the "reord"
Date: Fri, 13 Jul 2007 15:26:28 +0800 [thread overview]
Message-ID: <46972924.9020605@tom.com> (raw)
Dear all:
I'm reading the code about the Congestion Control.Now I'm confused about
the variable "reord" in the function tcp_sacktag_write_queue().
The "reord" is initialized as the tp->packets_out, I think, which is a
max threshold of the reordering.
If it detect a hole or D-SACK ,set the reord to :
---> reord = min(fack_count, reord);
Finally,the code may update the reordering by:
---> tcp_update_reordering(sk, ((tp->fackets_out + 1) - reord), 0);
The questions are :
<1> What's the purpose of the "reord" ?
<2> Why use the "((tp->fackets_out + 1) - reord)" to update the reordering.
Do I need to study some more RFC about this ? If yes,please tell me
,thanks .
reply other threads:[~2007-07-13 7:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46972924.9020605@tom.com \
--to=zyziii@tom.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.