1. 11 11月, 2005 2 次提交
    • S
      [TCP]: fix congestion window update when using TSO deferal · f4805ede
      Stephen Hemminger 提交于
      TCP peformance with TSO over networks with delay is awful.
      On a 100Mbit link with 150ms delay, we get 4Mbits/sec with TSO and
      50Mbits/sec without TSO.
      
      The problem is with TSO, we intentionally do not keep the maximum
      number of packets in flight to fill the window, we hold out to until 
      we can send a MSS chunk. But, we also don't update the congestion window 
      unless we have filled, as per RFC2861.
      
      This patch replaces the check for the congestion window being full
      with something smarter that accounts for TSO.
      Signed-off-by: NStephen Hemminger <shemminger@osdl.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f4805ede
    • H
      [NET]: Detect hardware rx checksum faults correctly · fb286bb2
      Herbert Xu 提交于
      Here is the patch that introduces the generic skb_checksum_complete
      which also checks for hardware RX checksum faults.  If that happens,
      it'll call netdev_rx_csum_fault which currently prints out a stack
      trace with the device name.  In future it can turn off RX checksum.
      
      I've converted every spot under net/ that does RX checksum checks to
      use skb_checksum_complete or __skb_checksum_complete with the
      exceptions of:
      
      * Those places where checksums are done bit by bit.  These will call
      netdev_rx_csum_fault directly.
      
      * The following have not been completely checked/converted:
      
      ipmr
      ip_vs
      netfilter
      dccp
      
      This patch is based on patches and suggestions from Stephen Hemminger
      and David S. Miller.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fb286bb2
  2. 10 11月, 2005 26 次提交
  3. 09 11月, 2005 12 次提交