1. 09 9月, 2008 1 次提交
  2. 04 9月, 2008 2 次提交
    • G
      dccp ccid-3: Update the RX history records in one place · 88e97a93
      Gerrit Renker 提交于
      This patch is a requirement for enabling ECN support later on. With that change
      in mind, the following preparations are done:
       * renamed handle_loss() into congestion_event() since it returns true when a
         congestion event happens (it will eventually also take care of ECN packets);
       * lets tfrc_rx_congestion_event() always update the RX history records, since
         this routine needs to be called for each non-duplicate packet anyway;
       * made all involved boolean-type functions to have return type `bool';
      
      Updating the RX history records is now only necessary for the packets received
      up to sending the first feedback. The receiver code becomes again simpler.
      Signed-off-by: NGerrit Renker <gerrit@erg.abdn.ac.uk>
      88e97a93
    • G
      dccp tfrc: Return type of update_i_mean is void · 3ca7aea0
      Gerrit Renker 提交于
      This changes the return type of tfrc_lh_update_i_mean() to void, since that 
      function returns always `false'. This is due to 
      
       	len = dccp_delta_seqno(cur->li_seqno, DCCP_SKB_CB(skb)->dccpd_seq) + 1;
       
       	if (len - (s64)cur->li_length <= 0)	/* duplicate or reordered */
      		return 0;
      
      which means that update_i_mean can only increase the length of the open loss
      interval I_0, and hence the value of I_tot0 (RFC 3448, 5.4). Consequently the
      test `i_mean < old_i_mean' at the end of the function always evaluates to false.
      
      There is no known way by which a loss interval can suddenly become shorter,
      therefore the return type of the function is changed to void. (That is, under
      the given circumstances step (3) in RFC 3448, 6.1 will not occur.)
      
      Further changes:
      ----------------
       * the function is now called from tfrc_rx_handle_loss, which is equivalent
         to the previous way of calling from rx_packet_recv (it was called whenever
         there was no new or pending loss, now  it is also updated when there is
         a pending loss - this increases the accuracy a bit);
       * added a FIXME to possibly consider NDP counting as per RFC 4342 (this is
         not implemented yet).
      Signed-off-by: NGerrit Renker <gerrit@erg.abdn.ac.uk>
      3ca7aea0
  3. 29 1月, 2008 2 次提交
  4. 11 10月, 2007 1 次提交
  5. 11 7月, 2007 6 次提交
  6. 08 12月, 2006 1 次提交
  7. 27 8月, 2006 2 次提交
    • I
      [DCCP]: Fix CCID3 · 66a377c5
      Ian McDonald 提交于
      This fixes CCID3 to give much closer performance to RFC4342.
      
      CCID3 is meant to alter sending rate based on RTT and loss.
      
      The performance was verified against:
      http://wand.net.nz/~perry/max_download.php
      
      For example I tested with netem and had the following parameters:
      Delayed Acks 1, MSS 256 bytes, RTT 105 ms, packet loss 5%.
      
      This gives a theoretical speed of 71.9 Kbits/s. I measured across three
      runs with this patch set and got 70.1 Kbits/s. Without this patchset the
      average was 232 Kbits/s which means Linux can't be used for CCID3 research
      properly.
      
      I also tested with netem turned off so box just acting as router with 1.2
      msec RTT. The performance with this is the same with or without the patch
      at around 30 Mbit/s.
      
      Signed off by: Ian McDonald <ian.mcdonald@jandi.co.nz>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      66a377c5
    • I
      [DCCP]: Update contact details and copyright · e6bccd35
      Ian McDonald 提交于
      Just updating copyright and contacts
      
      Signed off by: Ian McDonald <ian.mcdonald@jandi.co.nz>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e6bccd35
  8. 01 7月, 2006 1 次提交
  9. 09 10月, 2005 1 次提交
  10. 30 8月, 2005 1 次提交