1. 08 7月, 2012 5 次提交
  2. 26 6月, 2012 2 次提交
  3. 18 5月, 2012 1 次提交
    • A
      net/mlx4_en: num cores tx rings for every UP · bc6a4744
      Amir Vadai 提交于
      Change the TX ring scheme such that the number of rings for untagged packets
      and for tagged packets (per each of the vlan priorities) is the same, unlike
      the current situation where for tagged traffic there's one ring per priority
      and for untagged rings as the number of core.
      
      Queue selection is done as follows:
      
      If the mqprio qdisc is operates on the interface, such that the core networking
      code invoked the device setup_tc ndo callback, a mapping of skb->priority =>
      queue set is forced - for both, tagged and untagged traffic.
      
      Else, the egress map skb->priority =>  User priority is used for tagged traffic, and
      all untagged traffic is sent through tx rings of UP 0.
      
      The patch follows the convergence of discussing that issue with John Fastabend
      over this thread http://comments.gmane.org/gmane.linux.network/229877
      
      Cc: John Fastabend <john.r.fastabend@intel.com>
      Cc: Liran Liss <liranl@mellanox.com>
      Signed-off-by: NAmir Vadai <amirv@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      bc6a4744
  4. 24 4月, 2012 3 次提交
  5. 05 4月, 2012 3 次提交
  6. 07 3月, 2012 1 次提交
    • Y
      net/mlx4_en: Saving mem access on data path · ebf8c9aa
      Yevgeny Petrilin 提交于
      Localized the pdev->dev, and using dma_map instead of pci_map
      There are multiple map/unmap operations on data path,
      optimizing those by saving redundant pointer access.
      Those places were identified as hot-spots when running kernel profiling
      during some benchmarks.
      The fixes had most impact when testing packet rate with small packets,
      reducing several % from CPU load, and in some case being the difference
      between reaching wire speed or being CPU bound.
      Signed-off-by: NYevgeny Petrilin <yevgenyp@mellanox.co.il>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ebf8c9aa
  7. 07 2月, 2012 1 次提交
  8. 01 2月, 2012 1 次提交
  9. 23 1月, 2012 2 次提交
  10. 20 12月, 2011 1 次提交
  11. 14 12月, 2011 1 次提交
  12. 09 12月, 2011 1 次提交
  13. 28 11月, 2011 1 次提交
  14. 19 10月, 2011 1 次提交
  15. 10 10月, 2011 4 次提交
  16. 18 8月, 2011 1 次提交
  17. 11 8月, 2011 1 次提交
  18. 22 7月, 2011 1 次提交
  19. 19 7月, 2011 1 次提交
  20. 16 4月, 2011 1 次提交
  21. 31 3月, 2011 1 次提交
  22. 28 3月, 2011 1 次提交
  23. 24 3月, 2011 5 次提交