1. 01 3月, 2016 1 次提交
  2. 13 2月, 2016 1 次提交
  3. 03 2月, 2016 2 次提交
  4. 22 1月, 2016 7 次提交
  5. 24 12月, 2015 2 次提交
  6. 29 10月, 2015 2 次提交
  7. 08 10月, 2015 2 次提交
  8. 25 9月, 2015 1 次提交
  9. 04 9月, 2015 1 次提交
  10. 05 6月, 2015 1 次提交
    • H
      mlx5: Enable mutual support for IB and Ethernet · 4aa17b28
      Haggai Abramonvsky 提交于
      Ethernet functionality is only available when working in ISSI > 0 mode.
      
      Previously, the IB driver wasn't ready to work on that mode, and hence
      building both the IB driver and the Ethernet functionality in the core
      driver were disallowed by Kconfigs.
      
      Now, once we have all the pre-steps in place, we can remove this limitation.
      
      The last steps in the IB driver for getting that setup to work are:
      create dummy SRQ for the driver's use (until now we could use XRC_SRQ
      as SRQ and XRC_SRQ, after moving to ISSI > 0, we separate XRC SRQs from
      basic SRQs) and adapt the create QP function to be compatible with ISSI > 0.
      Signed-off-by: NHaggai Abramovsky <hagaya@mellanox.com>
      Signed-off-by: NOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4aa17b28
  11. 31 5月, 2015 2 次提交
  12. 13 5月, 2015 1 次提交
  13. 03 4月, 2015 4 次提交
  14. 16 12月, 2014 3 次提交
  15. 09 12月, 2014 1 次提交
  16. 22 11月, 2014 1 次提交
  17. 09 10月, 2014 4 次提交
  18. 04 10月, 2014 1 次提交
  19. 13 8月, 2014 1 次提交
  20. 31 7月, 2014 2 次提交
    • J
      mlx5: minor fixes (mainly avoidance of hidden casts) · f241e749
      Jack Morgenstein 提交于
      There were many places where parameters which should be u8/u16 were
      integer type.
      
      Additionally, in 2 places, a check for a non-null pointer was added
      before dereferencing the pointer (this is actually a bug fix).
      Signed-off-by: NJack Morgenstein <jackm@dev.mellanox.co.il>
      Signed-off-by: NEli Cohen <eli@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f241e749
    • J
      mlx5: Move pci device handling from mlx5_ib to mlx5_core · 9603b61d
      Jack Morgenstein 提交于
      In preparation for a new mlx5 device which is VPI (i.e., ports can be
      either IB or ETH), move the pci device functionality from mlx5_ib
      to mlx5_core.
      
      This involves the following changes:
      1. Move mlx5_core_dev struct out of mlx5_ib_dev. mlx5_core_dev
         is now an independent structure maintained by mlx5_core.
         mlx5_ib_dev now has a pointer to that struct.
         This requires changing a lot of places where the core_dev
         struct was accessed via mlx5_ib_dev (now, this needs to
         be a pointer dereference).
      2. All PCI initializations are now done in mlx5_core. Thus,
         it is now mlx5_core which does pci_register_device (and not
         mlx5_ib, as was previously).
      3. mlx5_ib now registers itself with mlx5_core as an "interface"
         driver. This is very similar to the mechanism employed for
         the mlx4 (ConnectX) driver. Once the HCA is initialized
         (by mlx5_core), it invokes the interface drivers to do
         their initializations.
      4. There is a new event handler which the core registers:
         mlx5_core_event(). This event handler invokes the
         event handlers registered by the interfaces.
      
      Based on a patch by Eli Cohen <eli@mellanox.com>
      Signed-off-by: NJack Morgenstein <jackm@dev.mellanox.co.il>
      Signed-off-by: NEli Cohen <eli@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9603b61d