1. 02 Aug, 2018 5 commits
  2. 31 Jul, 2018 9 commits
  3. 27 Jul, 2018 19 commits
  4. 26 Jul, 2018 1 commit
  5. 25 Jul, 2018 2 commits
  6. 24 Jul, 2018 4 commits
    • Nishanth Devarajan's avatar
      net/sched: add skbprio scheduler · aea5f654
      Nishanth Devarajan authored
      Skbprio (SKB Priority Queue) is a queueing discipline that prioritizes packets
      according to their skb->priority field. Under congestion, already-enqueued lower
      priority packets will be dropped to make space available for higher priority
      packets. Skbprio was conceived as a solution for denial-of-service defenses that
      need to route packets with different priorities as a means to overcome DoS
      attacks.
      
      v5
      *Do not reference qdisc_dev(sch)->tx_queue_len for setting limit. Instead set
      default sch->limit to 64.
      
      v4
      *Drop Documentation/networking/sch_skbprio.txt doc file to move it to tc man
      page for Skbprio, in iproute2.
      
      v3
      *Drop max_limit parameter in struct skbprio_sched_data and instead use
      sch->limit.
      
      *Reference qdisc_dev(sch)->tx_queue_len only once, during initialisation for
      qdisc (previously being referenced every time qdisc changes).
      
      *Move qdisc's detailed description from in-code to Documentation/networking.
      
      *When qdisc is saturated, enqueue incoming packet first before dequeueing
      lowest priority packet in queue - improves usage of call stack registers.
      
      *Introduce and use overlimit stat to keep track of number of dropped packets.
      
      v2
      *Use skb->priority field rather than DS field. Rename queueing discipline as
      SKB Priority Queue (previously Gatekeeper Priority Queue).
      
      *Queueing discipline is made classful to expose Skbprio's internal priority
      queues.
      Signed-off-by: default avatarNishanth Devarajan <ndev2021@gmail.com>
      Reviewed-by: default avatarSachin Paryani <sachin.paryani@gmail.com>
      Reviewed-by: default avatarCody Doucette <doucette@bu.edu>
      Reviewed-by: default avatarMichel Machado <michel@digirati.com.br>
      Acked-by: default avatarCong Wang <xiyou.wangcong@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      aea5f654
    • Heiner Kallweit's avatar
      net: phy: add GBit master / slave error detection · b8f8c8eb
      Heiner Kallweit authored
      Certain PHY's have issues when operating in GBit slave mode and can
      be forced to master mode. Examples are RTL8211C, also the Micrel PHY
      driver has a DT setting to force master mode.
      If two such chips are link partners the autonegotiation will fail.
      Standard defines a self-clearing on read, latched-high bit to
      indicate this error. Check this bit to inform the user.
      Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b8f8c8eb
    • David S. Miller's avatar
      Merge branch 'net-whitespace-cleanups' · 7836899c
      David S. Miller authored
      Stephen Hemminger says:
      
      ====================
      net whitespace cleanups
      
      Ran script that I use to check for trailing whitespace and
      blank lines at end of files across all files in net/ directory.
      These are errors that checkpatch reports and git flags.
      
      These are the resulting fixes broken up mostly by subsystem.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7836899c
    • Stephen Hemminger's avatar
      net: remove blank lines at end of file · e446a276
      Stephen Hemminger authored
      Several files have extra line at end of file.
      Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e446a276