| I notice there is other functionality here also...
|
| +/**
| + * tfrc_tx_hist_when - Retrieve send time of past packet
| + * If successful, it garbage-collects older (irrelevant) entries and
returns 1.
| + */
| +int tfrc_tx_hist_when(ktime_t *stamp, struct tfrc_tx_hist_head
Quoting Ian McDonald:
| And I see why from the following patch now. Perhaps you could add
| something to commit description to elude to this.
Ah coming through to this one - I just answered the other email:)
Yes, I have changed the commit message as follows:
Note: When the lookup is
Quoting Ian McDonald:
| On 6/17/07, Gerrit Renker [EMAIL PROTECTED] wrote:
| Ian McDonald wrote:
| | [TFRC]: Migrate to new naming scheme, using macro to declare cache
| |
| | I agree totally with the intent. I reworked li_hist as well but
| | Arnaldo decided to do in a better way
Quoting Ian McDonald:
| On 6/10/07, Gerrit Renker [EMAIL PROTECTED] wrote:
| [CCID3]: Ignore trivial amounts of elapsed time
|
| This patch fixes a previously undiscovered bug:
|
|* the receive timestamp is taken when the skb enters the CCID3 module;
|* RFC 4342 requires to send
As promised, I went through my patch set and isolated the
sections which overlap with recent changes made to the
TFRC/CCID3 code.
With this patch, all the new functionality becomes available.
I have cross-checked it this against the old variant and it
works fine.
-
To unsubscribe from this list:
[TFRC]: Ringbuffer to track loss interval history
A ringbuffer-based implementation of loss interval history is easier to
maintain, allocate, and update.
This patch provides the basic data structures for a ringbuffer-based loss
interval history, from which the principles of the implementation
[TFRC]: Cache allocation of entries
This updates and simplifies the allocation of kmem_cache entries with regard
to the new structure.
Main changes:
1. On-demand allocation: no memory consumption when running over loss-free
links.
2. Since cache allocation is local to the module, the cache
[TFRC]: Recompute average loss interval
This patch:
* adds routines for recomputing I_mean/p as required by TFRC;
* places the average, I_mean, into the loss_hist structure;
* supports continued detection of new loss intervals.
The second point is in keeping with the objective: loss history
[TFRC]: Insert and Update routines for the Loss Interval Database
This provides an `insert' function for the Loss Interval database. It only
inserts
when a loss is new, i.e. either
* no loss record has been allocated before (uninitialised) or
* the most recent loss is in a different RTT than
[TFRC]: Integrate RX history loss detection with loss interval update
This adds the missing link between
* TFRC loss detection as provided by the RX history code and
* Loss Intervals update whenever a new loss is detected.
Handling is conform to the TFRC semantics and conveniently transparent
[TFRC]: Let calling module compute First Loss Interval; convert to ktime_t
TFRC [RFC 3448] requires a synthetic value of the first loss interval length.
Since computing this value requires access to the internals of the calling
module (parameters s, RTT, and X_recv), it is better to let the
[TFRC]: Fix and simplify header includes
This updates the header-include structure so that any module wishing to use
the service of the tfrc_lib module needs only include tfrc.h and has access
to all declarations it needs.
Signed-off-by: Gerrit Renker [EMAIL PROTECTED]
---
[CCID]: Interface CCID3 code with newer TFRC LI database
This hooks up the TFRC Loss Interval database with CCID 3 packet reception.
Signed-off-by: Gerrit Renker [EMAIL PROTECTED]
---
net/dccp/ccids/ccid3.c | 26 +-
1 file changed, 17 insertions(+), 9 deletions(-)
---
Hi David,
Please consider pulling from:
master.kernel.org:/pub/scm/linux/kernel/git/acme/net-2.6.23
I briefed Thomas Gleixner about the new ktime_us_delta and
ktime_add_us functions and he is OK with having them added to ktime.h.
More work on this are going on Gerrit
This provides a reusable time difference function which returns the difference
in
microseconds, as often used in the DCCP code.
Commiter note: renamed ktime_delta to ktime_us_delta and put it in ktime.h.
Signed-off-by: Gerrit Renker [EMAIL PROTECTED]
Signed-off-by: Arnaldo Carvalho de Melo
Signed-off-by: Arnaldo Carvalho de Melo [EMAIL PROTECTED]
---
include/linux/ktime.h |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/linux/ktime.h b/include/linux/ktime.h
index a208f9f..9800bae 100644
--- a/include/linux/ktime.h
+++ b/include/linux/ktime.h
@@
This updates the computation of t_nom and t_last_win_count to use the newer
gettimeofday interface.
Committer note: used ktime_to_timeval to set the 'now' variable to t_ld in
ccid3hctx_no_feedback_timer
Signed-off-by: Gerrit Renker [EMAIL PROTECTED]
Signed-off-by: Arnaldo
ccid3_hc_tx_send_packet currently returns 0 when the time difference between
current time and t_nom is less than 1000 microseconds.
In this case the packet is sent immediately; but, unlike other packets that can
be emitted on first attempt, it will not have its window counter updated and
its
From: Arnaldo Carvalho de Melo [EMAIL PROTECTED]
Date: Sun, 17 Jun 2007 23:05:40 -0300
Please consider pulling from:
master.kernel.org:/pub/scm/linux/kernel/git/acme/net-2.6.23
I briefed Thomas Gleixner about the new ktime_us_delta and
ktime_add_us functions and he is OK with
19 matches
Mail list logo