1. 29 10月, 2014 1 次提交
  2. 20 9月, 2014 1 次提交
    • I
      net/mlx4_en: Add mlx4_en_get_cqe helper · b1b6b4da
      Ido Shamay 提交于
      This function derives the base address of the CQE from the CQE size,
      and calculates the real CQE context segment in it from the factor
      (this is like before). Before this change the code used the factor to
      calculate the base address of the CQE as well.
      
      The factor indicates in which segment of the cqe stride the cqe information
      is located. For 32-byte strides, the segment is 0, and for 64 byte strides,
      the segment is 1 (bytes 32..63). Using the factor was ok as long as we had
      only 32 and 64 byte strides. However, with larger strides, the factor is zero,
      and so cannot be used to calculate the base of the CQE.
      
      The helper uses the same method of CQE buffer pulling made by all other
      components that reads the CQE buffer (mlx4_ib driver and libmlx4).
      Signed-off-by: NIdo Shamay <idos@mellanox.com>
      Signed-off-by: NJack Morgenstein <jackm@dev.mellanox.co.il>
      Signed-off-by: NOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b1b6b4da
  3. 30 8月, 2014 1 次提交
  4. 23 7月, 2014 2 次提交
  5. 09 7月, 2014 3 次提交
  6. 08 7月, 2014 1 次提交
  7. 12 6月, 2014 1 次提交
    • Y
      net/mlx4_en: Use affinity hint · 9e311e77
      Yuval Atias 提交于
      The “affinity hint” mechanism is used by the user space
      daemon, irqbalancer, to indicate a preferred CPU mask for irqs.
      Irqbalancer can use this hint to balance the irqs between the
      cpus indicated by the mask.
      
      We wish the HCA to preferentially map the IRQs it uses to numa cores
      close to it.  To accomplish this, we use cpumask_set_cpu_local_first(), that
      sets the affinity hint according the following policy:
      First it maps IRQs to “close” numa cores.  If these are exhausted, the
      remaining IRQs are mapped to “far” numa cores.
      Signed-off-by: NYuval Atias <yuvala@mellanox.com>
      Signed-off-by: NAmir Vadai <amirv@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9e311e77
  8. 02 6月, 2014 2 次提交
  9. 15 5月, 2014 3 次提交
  10. 14 5月, 2014 1 次提交
  11. 09 5月, 2014 1 次提交
  12. 17 4月, 2014 1 次提交
  13. 02 4月, 2014 1 次提交
  14. 29 3月, 2014 1 次提交
  15. 14 3月, 2014 1 次提交
  16. 13 3月, 2014 1 次提交
  17. 03 3月, 2014 1 次提交
  18. 27 2月, 2014 2 次提交
  19. 08 1月, 2014 1 次提交
  20. 01 1月, 2014 2 次提交
  21. 20 12月, 2013 2 次提交
  22. 22 11月, 2013 1 次提交
  23. 08 11月, 2013 3 次提交
  24. 05 11月, 2013 1 次提交
  25. 18 10月, 2013 1 次提交
  26. 02 8月, 2013 1 次提交
  27. 11 7月, 2013 2 次提交
  28. 26 6月, 2013 1 次提交