1. 26 Jan, 2020 6 commits
  2. 25 Jan, 2020 1 commit
  3. 24 Jan, 2020 26 commits
  4. 23 Jan, 2020 7 commits
    • David S. Miller's avatar
      Merge tag 'mlx5-updates-2020-01-22' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux · 9bbc8be2
      David S. Miller authored
      Saeed Mahameed says:
      
      ====================
      mlx5-updates-2020-01-22
      
      This series provides updates to mlx5 driver.
      1) Misc small cleanups
      2) Some SW steering updates including header copy support
      3) Full ethtool statistics support for E-Switch uplink representor
      Some refactoring was required to share the bare-metal NIC ethtool
      stats with the Uplink representor. On Top of this Vlad converts the
      ethtool stats support in E-Swtich vports representors to use the mlx5e
      "stats groups" infrastructure and then applied all applicable stats
      to the uplink representor netdev.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9bbc8be2
    • David S. Miller's avatar
      Merge branch 'Add-PHY-IDs-for-DP83825-6' · 790e0114
      David S. Miller authored
      Dan Murphy says:
      
      ====================
      Add PHY IDs for DP83825/6
      
      Adding new PHY IDs for the DP83825 and DP83826 TI Ethernet PHYs to the DP83822
      PHY driver.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      790e0114
    • Dan Murphy's avatar
      net: phy: DP83822: Add support for additional DP83825 devices · 2ace13e1
      Dan Murphy authored
      Add PHY IDs for the DP83825CS, DP83825CM and the DP83825S devices to the
      DP83822 driver.
      Signed-off-by: default avatarDan Murphy <dmurphy@ti.com>
      Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2ace13e1
    • Dan Murphy's avatar
      phy: dp83826: Add phy IDs for DP83826N and 826NC · 783da36b
      Dan Murphy authored
      Add phy IDs to the DP83822 phy driver for the DP83826N
      and the DP83826NC devices.  The register map and features
      are the same for basic enablement.
      Signed-off-by: default avatarDan Murphy <dmurphy@ti.com>
      Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      783da36b
    • David S. Miller's avatar
      Merge branch 'net-sched-add-Flow-Queue-PIE-packet-scheduler' · 6d9f6e67
      David S. Miller authored
      Gautam Ramakrishnan says:
      
      ====================
      net: sched: add Flow Queue PIE packet scheduler
      
      Flow Queue PIE packet scheduler
      
      This patch series implements the Flow Queue Proportional
      Integral controller Enhanced (FQ-PIE) active queue
      Management algorithm. It is an enhancement over the PIE
      algorithm. It integrates the PIE aqm with a deficit round robin
      scheme.
      
      FQ-PIE is implemented over the latest version of PIE which
      uses timestamps to calculate queue delay with an additional
      option of using average dequeue rate to calculate the queue
      delay. This patch also adds a memory limit of all the packets
      across all queues to a default value of 32Mb.
      
       - Patch #1
         - Creates pie.h and moves all small functions and structures
           common to PIE and FQ-PIE here. The functions are all made
           inline.
       - Patch #2 - #8
         - Addresses code formatting, indentation, comment changes
           and rearrangement of structure members.
       - Patch #9
         - Refactors sch_pie.c by changing arguments to
           calculate_probability(), [pie_]drop_early() and
           pie_process_dequeue() to make it generic enough to
           be used by sch_fq_pie.c. These functions are exported
           to be used by sch_fq_pie.c.
       - Patch #10
         - Adds the FQ-PIE Qdisc.
      
      For more information:
      https://tools.ietf.org/html/rfc8033
      
      Changes from v6 to v7
       - Call tcf_block_put() when destroying the Qdisc as suggested
         by Jakub Kicinski.
      
      Changes from v5 to v6
       - Rearranged struct members according to their access pattern
         and to remove holes.
      
      Changes from v4 to v5
       - This patch series breaks down patch 1 of v4 into
         separate logical commits as suggested by David Miller.
      
      Changes from v3 to v4
       - Used non deprecated version of nla_parse_nested
       - Used SZ_32M macro
       - Removed an unused variable
       - Code cleanup
       All suggested by Jakub and Toke.
      
      Changes from v2 to v3
       - Exported drop_early, pie_process_dequeue and
         calculate_probability functions from sch_pie as
         suggested by Stephen Hemminger.
      
      Changes from v1 ( and RFC patch) to v2
       - Added timestamp to calculate queue delay as recommended
         by Dave Taht
       - Packet memory limit implemented as recommended by Toke.
       - Added external classifier as recommended by Toke.
       - Used NET_XMIT_CN instead of NET_XMIT_DROP as the return
         value in the fq_pie_qdisc_enqueue function.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6d9f6e67
    • Mohit P. Tahiliani's avatar
      net: sched: add Flow Queue PIE packet scheduler · ec97ecf1
      Mohit P. Tahiliani authored
      Principles:
        - Packets are classified on flows.
        - This is a Stochastic model (as we use a hash, several flows might
                                      be hashed to the same slot)
        - Each flow has a PIE managed queue.
        - Flows are linked onto two (Round Robin) lists,
          so that new flows have priority on old ones.
        - For a given flow, packets are not reordered.
        - Drops during enqueue only.
        - ECN capability is off by default.
        - ECN threshold (if ECN is enabled) is at 10% by default.
        - Uses timestamps to calculate queue delay by default.
      
      Usage:
      tc qdisc ... fq_pie [ limit PACKETS ] [ flows NUMBER ]
                          [ target TIME ] [ tupdate TIME ]
                          [ alpha NUMBER ] [ beta NUMBER ]
                          [ quantum BYTES ] [ memory_limit BYTES ]
                          [ ecnprob PERCENTAGE ] [ [no]ecn ]
                          [ [no]bytemode ] [ [no_]dq_rate_estimator ]
      
      defaults:
        limit: 10240 packets, flows: 1024
        target: 15 ms, tupdate: 15 ms (in jiffies)
        alpha: 1/8, beta : 5/4
        quantum: device MTU, memory_limit: 32 Mb
        ecnprob: 10%, ecn: off
        bytemode: off, dq_rate_estimator: off
      Signed-off-by: default avatarMohit P. Tahiliani <tahiliani@nitk.edu.in>
      Signed-off-by: default avatarSachin D. Patil <sdp.sachin@gmail.com>
      Signed-off-by: default avatarV. Saicharan <vsaicharan1998@gmail.com>
      Signed-off-by: default avatarMohit Bhasi <mohitbhasi1998@gmail.com>
      Signed-off-by: default avatarLeslie Monis <lesliemonis@gmail.com>
      Signed-off-by: default avatarGautam Ramakrishnan <gautamramk@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ec97ecf1
    • Mohit P. Tahiliani's avatar
      net: sched: pie: export symbols to be reused by FQ-PIE · 5205ea00
      Mohit P. Tahiliani authored
      This patch makes the drop_early(), calculate_probability() and
      pie_process_dequeue() functions generic enough to be used by
      both PIE and FQ-PIE (to be added in a future commit). The major
      change here is in the way the functions take in arguments. This
      patch exports these functions and makes FQ-PIE dependent on
      sch_pie.
      Signed-off-by: default avatarMohit P. Tahiliani <tahiliani@nitk.edu.in>
      Signed-off-by: default avatarLeslie Monis <lesliemonis@gmail.com>
      Signed-off-by: default avatarGautam Ramakrishnan <gautamramk@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5205ea00