1. 26 3月, 2019 2 次提交
  2. 23 2月, 2019 1 次提交
  3. 16 2月, 2019 1 次提交
  4. 12 2月, 2019 1 次提交
  5. 09 2月, 2019 1 次提交
  6. 05 2月, 2019 1 次提交
  7. 15 1月, 2019 2 次提交
  8. 11 1月, 2019 1 次提交
  9. 19 12月, 2018 1 次提交
  10. 12 12月, 2018 1 次提交
  11. 17 10月, 2018 1 次提交
  12. 27 9月, 2018 1 次提交
  13. 31 7月, 2018 1 次提交
  14. 19 6月, 2018 1 次提交
  15. 23 3月, 2018 1 次提交
  16. 20 3月, 2018 1 次提交
  17. 18 10月, 2017 1 次提交
  18. 10 8月, 2017 1 次提交
    • L
      RDMA: Simplify get firmware interface · 9abb0d1b
      Leon Romanovsky 提交于
      There is a need to forward FW version to user space
      application through RDMA netlink. In order to make it safe, there
      is need to declare nla_policy and limit the size of FW string.
      
      The new define IB_FW_VERSION_NAME_MAX will limit the size of
      FW version string. That define was chosen to be equal to
      ETHTOOL_FWVERS_LEN, because many drivers anyway are limited
      by that value indirectly.
      
      The introduction of this define allows us to remove the string size
      from get_fw_str function signature.
      Signed-off-by: NLeon Romanovsky <leonro@mellanox.com>
      9abb0d1b
  19. 20 7月, 2017 1 次提交
  20. 02 5月, 2017 1 次提交
  21. 26 4月, 2017 1 次提交
  22. 21 4月, 2017 2 次提交
  23. 02 3月, 2017 1 次提交
  24. 15 2月, 2017 1 次提交
  25. 25 1月, 2017 2 次提交
  26. 14 12月, 2016 1 次提交
  27. 08 10月, 2016 2 次提交
  28. 24 6月, 2016 1 次提交
  29. 27 5月, 2016 1 次提交
    • C
      IB/core: Make device counter infrastructure dynamic · b40f4757
      Christoph Lameter 提交于
      In practice, each RDMA device has a unique set of counters that the
      hardware implements.  Having a central set of counters that they must
      all adhere to is limiting and causes many useful counters to not be
      available.
      
      Therefore we create a dynamic counter registration infrastructure.
      
      The driver must implement a stats structure allocation routine, in
      which the driver must place the directory name it wants, a list of
      names for all of the counters, an array of u64 counters themselves,
      plus a few generic configuration options.
      
      We then implement a core routine to create a sysfs file for each
      of the named stats elements, and a core routine to retrieve the
      stats when any of the sysfs attribute files are read.
      
      To avoid excessive beating on the stats generation routine in the
      drivers, the core code also caches the stats for a short period of
      time so that someone attempting to read all of the stats in a
      given device's directory will not result in a stats generation
      call per file read.
      
      Future work will attempt to standardize just the shared stats
      elements, and possibly add a method to get the stats via netlink
      in addition to sysfs.
      Signed-off-by: NChristoph Lameter <cl@linux.com>
      Signed-off-by: NMark Bloch <markb@mellanox.com>
      Reviewed-by: NSteve Wise <swise@opengridcomputing.com>
      Signed-off-by: NDoug Ledford <dledford@redhat.com>
      [ Add caching, make structure names more informative, add i40iw support,
        other significant rewrites from the original patch ]
      b40f4757
  30. 14 5月, 2016 2 次提交
  31. 27 4月, 2016 1 次提交
  32. 02 3月, 2016 1 次提交
  33. 24 12月, 2015 2 次提交