1. 26 6月, 2012 1 次提交
  2. 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
  3. 24 4月, 2012 3 次提交
  4. 05 4月, 2012 3 次提交
  5. 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
  6. 07 2月, 2012 1 次提交
  7. 01 2月, 2012 1 次提交
  8. 23 1月, 2012 2 次提交
  9. 20 12月, 2011 1 次提交
  10. 14 12月, 2011 1 次提交
  11. 09 12月, 2011 1 次提交
  12. 28 11月, 2011 1 次提交
  13. 19 10月, 2011 1 次提交
  14. 10 10月, 2011 4 次提交
  15. 18 8月, 2011 1 次提交
  16. 11 8月, 2011 1 次提交
  17. 22 7月, 2011 1 次提交
  18. 19 7月, 2011 1 次提交
  19. 16 4月, 2011 1 次提交
  20. 31 3月, 2011 1 次提交
  21. 28 3月, 2011 1 次提交
  22. 24 3月, 2011 6 次提交
  23. 11 1月, 2011 1 次提交
  24. 26 10月, 2010 1 次提交
    • E
      IB/mlx4: Add VLAN support for IBoE · 4c3eb3ca
      Eli Cohen 提交于
      This patch allows IBoE traffic to be encapsulated in 802.1Q tagged
      VLAN frames.  The VLAN tag is encoded in the GID and derived from it
      by a simple computation.
      
      The netdev notifier callback is modified to catch VLAN device
      addition/removal and the port's GID table is updated to reflect the
      change, so that for each netdevice there is an entry in the GID table.
      When the port's GID table is exhausted, GID entries will not be added.
      Only children of the main interfaces can add to the GID table; if a
      VLAN interface is added on another VLAN interface (e.g. "vconfig add
      eth2.6 8"), then that interfaces will not add an entry to the GID
      table.
      Signed-off-by: NEli Cohen <eli@mellanox.co.il>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      4c3eb3ca
  25. 28 9月, 2010 1 次提交
  26. 25 8月, 2010 2 次提交