1. 10 10月, 2007 10 次提交
  2. 13 8月, 2007 1 次提交
  3. 28 7月, 2007 1 次提交
  4. 21 7月, 2007 1 次提交
    • R
      mlx4_core: Change command token on timeout · 0981582d
      Roland Dreier 提交于
          
      The FW command token is currently only updated on a command completion
      event. This means that on command timeout, the same token will be
      reused for new command, which results in a mess if the timed out
      command *does* eventually complete.
      
      This is the same change as the patch for mthca from Michael
      S. Tsirkin <mst@dev.mellanox.co.il> that was just merged.  It seems
      sensible to avoid gratuitous differences in FW command processing
      between mthca and mlx4.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      0981582d
  5. 18 7月, 2007 2 次提交
  6. 13 7月, 2007 2 次提交
  7. 10 7月, 2007 2 次提交
  8. 09 7月, 2007 1 次提交
  9. 03 7月, 2007 1 次提交
  10. 18 6月, 2007 2 次提交
    • R
      IB/mlx4: Handle FW command interface rev 3 · 5ae2a7a8
      Roland Dreier 提交于
      Upcoming firmware introduces command interface revision 3, which
      changes the way port capabilities are queried and set.  Update the
      driver to handle both the new and old command interfaces by adding a
      new MLX4_FLAG_OLD_PORT_CMDS that it is set after querying the firmware
      interface revision and then using the correct interface based on the
      setting of the flag.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      5ae2a7a8
    • R
      IB/mlx4: Handle new FW requirement for send request prefetching · 0e6e7416
      Roland Dreier 提交于
      New ConnectX firmware introduces FW command interface revision 2,
      which requires that for each QP, a chunk of send queue entries (the
      "headroom") is kept marked as invalid, so that the HCA doesn't get
      confused if it prefetches entries that haven't been posted yet.  Add
      code to the driver to do this, and also update the user ABI so that
      userspace can request that the prefetcher be turned off for userspace
      QPs (we just leave the prefetcher on for all kernel QPs).
      
      Unfortunately, marking send queue entries this way is confuses older
      firmware, so we change the driver to allow only FW command interface
      revisions 2.  This means that users will have to update their firmware
      to work with the new driver, but the firmware is changing quickly and
      the old firmware has lots of other bugs anyway, so this shouldn't be too
      big a deal.
      
      Based on a patch from Jack Morgenstein <jackm@dev.mellanox.co.il>.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      0e6e7416
  11. 08 6月, 2007 6 次提交
  12. 30 5月, 2007 1 次提交
  13. 19 5月, 2007 1 次提交
  14. 16 5月, 2007 1 次提交
  15. 13 5月, 2007 1 次提交
  16. 12 5月, 2007 1 次提交
  17. 09 5月, 2007 1 次提交
    • R
      IB/mlx4: Add a driver Mellanox ConnectX InfiniBand adapters · 225c7b1f
      Roland Dreier 提交于
      Add an InfiniBand driver for Mellanox ConnectX adapters.  Because
      these adapters can also be used as ethernet NICs and Fibre Channel 
      HBAs, the driver is split into two modules: 
       
        mlx4_core: Handles low-level things like device initialization and 
          processing firmware commands.  Also controls resource allocation 
          so that the InfiniBand, ethernet and FC functions can share a 
          device without stepping on each other. 
       
        mlx4_ib: Handles InfiniBand-specific things; plugs into the 
          InfiniBand midlayer. 
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      225c7b1f