1. 20 Mar, 2015 10 commits
  2. 19 Mar, 2015 27 commits
  3. 18 Mar, 2015 3 commits
    • David S. Miller's avatar
      Merge branch 'txq_max_rate' · 8f6320de
      David S. Miller authored
      Or Gerlitz says:
      
      ====================
      Add max rate TXQ attribute
      
      Add the ability to set a max-rate limitation for TX queues.
      The attribute name is maxrate and the units are Mbs, to make
      it similar to the existing max-rate limitation knobs (ETS and
      SRIOV ndo calls).
      
      changes from V2:
        - added Documentation (thanks Florian and Tom)
        - rebased to latest net-next to comply with the swdev ndo removal
        - addressed more feedback from Dave on the comments style
      
      changes from V1:
        - addressed feedback from Dave
      
      changes from V0:
        - addressed feedback from Sergei
      
      John Fastabend (1):
        net: Add max rate tx queue attribute
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8f6320de
    • Or Gerlitz's avatar
      net/mlx4_en: Add tx queue maxrate support · c10e4fc6
      Or Gerlitz authored
      Add ndo_set_tx_maxrate support.
      
      To support per tx queue maxrate limit, we use the update-qp firmware
      command to do run-time rate setting for the qp that serves this tx ring.
      Signed-off-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: default avatarIdo Shamay <idos@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c10e4fc6
    • Or Gerlitz's avatar
      net/mlx4_core: Add basic support for QP max-rate limiting · fc31e256
      Or Gerlitz authored
      Add the low-level device commands and definitions used for QP max-rate limiting.
      
      This is done through the following elements:
      
        - read rate-limit device caps in QUERY_DEV_CAP: number of different
          rates and the min/max rates in Kbs/Mbs/Gbs units
      
        - enhance the QP context struct to contain rate limit units and value
      
        - allow to do run time rate-limit setting to QPs through the
          update-qp firmware command
      
        - QP rate-limiting is disallowed for VFs
      Signed-off-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      fc31e256