1. 22 12月, 2010 2 次提交
  2. 21 12月, 2010 4 次提交
    • E
      net_sched: sch_sfq: fix allot handling · aa3e2199
      Eric Dumazet 提交于
      When deploying SFQ/IFB here at work, I found the allot management was
      pretty wrong in sfq, even changing allot from short to int...
      
      We should init allot for each new flow, not using a previous value found
      in slot.
      
      Before patch, I saw bursts of several packets per flow, apparently
      denying the default "quantum 1514" limit I had on my SFQ class.
      
      class sfq 11:1 parent 11: 
       (dropped 0, overlimits 0 requeues 0) 
       backlog 0b 7p requeues 0 
       allot 11546 
      
      class sfq 11:46 parent 11: 
       (dropped 0, overlimits 0 requeues 0) 
       backlog 0b 1p requeues 0 
       allot -23873 
      
      class sfq 11:78 parent 11: 
       (dropped 0, overlimits 0 requeues 0) 
       backlog 0b 5p requeues 0 
       allot 11393 
      
      After patch, better fairness among each flow, allot limit being
      respected, allot is positive :
      
      class sfq 11:e parent 11: 
       (dropped 0, overlimits 0 requeues 86) 
       backlog 0b 3p requeues 86 
       allot 596 
      
      class sfq 11:94 parent 11: 
       (dropped 0, overlimits 0 requeues 0) 
       backlog 0b 3p requeues 0 
       allot 1468 
      
      class sfq 11:a4 parent 11: 
       (dropped 0, overlimits 0 requeues 0) 
       backlog 0b 4p requeues 0 
       allot 650 
      
      class sfq 11:bb parent 11: 
       (dropped 0, overlimits 0 requeues 0) 
       backlog 0b 3p requeues 0 
       allot 596 
      Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      aa3e2199
    • D
      typhoon: memory corruption in typhoon_get_drvinfo() · 914e5cea
      Dan Carpenter 提交于
      info->version only has space for 32 characters but my UTS_RELEASE is
      "2.6.37-rc6-next-20101217-05817-ge935fc8-dirty" so it doesn't fit.
      This is supposed to be the version of the driver, not the kernel
      version.  This driver doesn't have a version so lets just leave it
      blank.
      Signed-off-by: NDan Carpenter <error27@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      914e5cea
    • A
      net: Add USB PID for new MOSCHIP USB ethernet controller MCS7832 variant · bbccc16c
      Andreas Mohr 提交于
      Due to active notification of the new MCS7832 version by the manufacturer
      (Mr. Milton; thanks!) -- quote: "functionality same as MCS7830",
      I'm now submitting this patch (on -rc6), intended for networking.git and -stable.
      
      - add MCS7832 USB PID to be able to support this new device variant, too
      - add related descriptions
      Signed-off-by: NAndreas Mohr <andi@lisas.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      bbccc16c
    • C
      net_sched: always clone skbs · 17302107
      Changli Gao 提交于
      Pawel reported a panic related to handling shared skbs in ixgbe
      incorrectly. So we need to revert my previous patch to work around
      this bug. Instead of reverting the patch completely, I just revert
      the essential lines, so we can add the previous optimization
      back more easily in future.
      
          commit 3511c913
          Author: Changli Gao <xiaosuo@gmail.com>
          Date:   Sat Oct 16 13:04:08 2010 +0000
      
              net_sched: remove the unused parameter of qdisc_create_dflt()
      Reported-by: NPawel Staszewski <pstaszewski@itcare.pl>
      Signed-off-by: NChangli Gao <xiaosuo@gmail.com>
      Acked-by: NEric Dumazet <eric.dumazet@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      17302107
  3. 20 12月, 2010 1 次提交
  4. 18 12月, 2010 3 次提交
  5. 17 12月, 2010 12 次提交
  6. 16 12月, 2010 1 次提交
  7. 15 12月, 2010 1 次提交
  8. 14 12月, 2010 5 次提交
  9. 13 12月, 2010 7 次提交
  10. 11 12月, 2010 4 次提交