1. 20 12月, 2013 8 次提交
    • D
      Merge branch 'for-davem' of git://gitorious.org/linux-can/linux-can-next · de47c4ab
      David S. Miller 提交于
      Marc Kleine-Budde says:
      
      ====================
      this is a pull request of four patches for net-next/master.
      
      There is one patch by Markus Pargmann, which speeds up the c_can
      driver, a patch by John Whitmore which updates the in tree
      documentation. A patch by Jeff Kirsher which replaces the FSF's address
      by a link and a patch by Alexander Shiyan which converts the mcp251x
      driver to make use of managed resources.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      de47c4ab
    • P
      xen-netback: add gso_segs calculation · b89587a7
      Paul Durrant 提交于
      netback already has code which parses IPv4 and v6 headers to set up checksum
      offsets and these are always applied to GSO packets being sent from
      frontends. It's therefore suboptimal that GSOs are being marked
      SKB_GSO_DODGY to defer the gso_segs calculation when netback already has all
      necessary information to hand to do the calculation. This patch adds that
      calculation.
      Signed-off-by: NPaul Durrant <paul.durrant@citrix.com>
      Cc: Wei Liu <wei.liu2@citrix.com>
      Cc: Ian Campbell <ian.campbell@citrix.com>
      Cc: David Vrabel <david.vrabel@citrix.com>
      Cc: Eric Dumazet <eric.dumazet@gmail.com>
      Acked-by: NEric Dumazet <edumazet@google.com>
      Acked-by: NWei Liu <wei.liu2@citrix.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b89587a7
    • Y
      sch_cbq: remove unnecessary null pointer check · 79c11f2e
      Yang Yingliang 提交于
      It already has a NULL pointer check of rtab in qdisc_put_rtab().
      Remove the check outside of qdisc_put_rtab().
      Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      79c11f2e
    • Y
      act_police: remove unnecessary null pointer check · 3b69a4c9
      Yang Yingliang 提交于
      It already has a NULL pointer check of rtab in qdisc_put_rtab().
      Remove the check outside of qdisc_put_rtab().
      Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3b69a4c9
    • W
      sfc: fix sparse non static symbol warning · d2adcaa8
      Wei Yongjun 提交于
      Fixes the following sparse warning:
      
      drivers/net/ethernet/sfc/falcon.c:2601:6: warning:
       symbol 'falcon_pull_nic_stats' was not declared. Should it be static?
      Signed-off-by: NWei Yongjun <yongjun_wei@trendmicro.com.cn>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d2adcaa8
    • D
      net: skbuff: improve comment on checksumming · 78ea85f1
      Daniel Borkmann 提交于
      It can be a bit confusing when looking for checksumming flags that
      the actual comment for this resides elsewhere further below in the
      header file.
      
      Thus, bring the documentation where we define these flags, and
      slightly improve the doc text to make it a bit more clear/readable.
      
      Also, whitespace-align values of the define while at it.
      Signed-off-by: NDaniel Borkmann <dborkman@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      78ea85f1
    • T
      net-qdisc-hhf: Heavy-Hitter Filter (HHF) qdisc · 10239edf
      Terry Lam 提交于
      This patch implements the first size-based qdisc that attempts to
      differentiate between small flows and heavy-hitters.  The goal is to
      catch the heavy-hitters and move them to a separate queue with less
      priority so that bulk traffic does not affect the latency of critical
      traffic.  Currently "less priority" means less weight (2:1 in
      particular) in a Weighted Deficit Round Robin (WDRR) scheduler.
      
      In essence, this patch addresses the "delay-bloat" problem due to
      bloated buffers. In some systems, large queues may be necessary for
      obtaining CPU efficiency, or due to the presence of unresponsive
      traffic like UDP, or just a large number of connections with each
      having a small amount of outstanding traffic. In these circumstances,
      HHF aims to reduce the HoL blocking for latency sensitive traffic,
      while not impacting the queues built up by bulk traffic.  HHF can also
      be used in conjunction with other AQM mechanisms such as CoDel.
      
      To capture heavy-hitters, we implement the "multi-stage filter" design
      in the following paper:
      C. Estan and G. Varghese, "New Directions in Traffic Measurement and
      Accounting", in ACM SIGCOMM, 2002.
      
      Some configurable qdisc settings through 'tc':
      - hhf_reset_timeout: period to reset counter values in the multi-stage
                           filter (default 40ms)
      - hhf_admit_bytes:   threshold to classify heavy-hitters
                           (default 128KB)
      - hhf_evict_timeout: threshold to evict idle heavy-hitters
                           (default 1s)
      - hhf_non_hh_weight: Weighted Deficit Round Robin (WDRR) weight for
                           non-heavy-hitters (default 2)
      - hh_flows_limit:    max number of heavy-hitter flow entries
                           (default 2048)
      
      Note that the ratio between hhf_admit_bytes and hhf_reset_timeout
      reflects the bandwidth of heavy-hitters that we attempt to capture
      (25Mbps with the above default settings).
      
      The false negative rate (heavy-hitter flows getting away unclassified)
      is zero by the design of the multi-stage filter algorithm.
      With 100 heavy-hitter flows, using four hashes and 4000 counters yields
      a false positive rate (non-heavy-hitters mistakenly classified as
      heavy-hitters) of less than 1e-4.
      Signed-off-by: NTerry Lam <vtlam@google.com>
      Acked-by: NEric Dumazet <edumazet@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      10239edf
    • M
      3c59x: Add software timestamping · 2a2529ef
      Matthew Whitehead 提交于
      Added software timestamping ability. Tested with linuxptp and synchronized
      clocks to an average of less than 200 microseconds on 10 megabit ethernet.
      
      Tested on both Vortex and Boomerang models.
      Signed-off-by: NMatthew Whitehead <tedheadster@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2a2529ef
  2. 19 12月, 2013 26 次提交
  3. 18 12月, 2013 6 次提交