14 Oct, 2007

1 commit

  • Commit 3d73c288 ("mlx4_core: Fix section mismatches") introduced a
    stupid bug in device init: when some of mlx4_init_one() was split off
    into __mlx4_init_one(), the call from the main mlx4_init_one()
    function was back to mlx4_init_one() rather than to __mlx4_init_one(),
    which leads to an obvious infinite loop if the function is every
    called.

    Signed-off-by: Roland Dreier

    Roland Dreier
     

11 Oct, 2007

1 commit

  • Commit ee49bd93 ("mlx4_core: Reset device when internal error is
    detected") introduced some section mismatch problems when
    CONFIG_HOTPLUG=n, because the error recovery code tears down and
    reinitializes the device after everything is loaded, which ends up
    calling into lots of code marked __devinit and __devexit from regular
    .text. Fix this by getting rid of these now-incorrect section
    markers.

    Signed-off-by: Roland Dreier

    Roland Dreier
     

10 Oct, 2007

13 commits


13 Aug, 2007

1 commit


28 Jul, 2007

1 commit


21 Jul, 2007

1 commit

  • 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 that was just merged. It seems
    sensible to avoid gratuitous differences in FW command processing
    between mthca and mlx4.

    Signed-off-by: Roland Dreier

    Roland Dreier
     

18 Jul, 2007

2 commits


13 Jul, 2007

2 commits


10 Jul, 2007

2 commits


09 Jul, 2007

1 commit


03 Jul, 2007

1 commit


18 Jun, 2007

2 commits

  • 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: Roland Dreier

    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 .

    Signed-off-by: Roland Dreier

    Roland Dreier
     

08 Jun, 2007

6 commits


30 May, 2007

1 commit


19 May, 2007

1 commit


16 May, 2007

2 commits

  • Signed-off-by: Al Viro
    Acked-by: Jeff Garzik
    Acked-by: Roland Dreier
    Signed-off-by: Linus Torvalds

    Al Viro
     
  • * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband:
    IPoIB/cm: Optimize stale connection detection
    IB/mthca: Set cleaned CQEs back to HW ownership when cleaning CQ
    IB/mthca: Fix posting >255 recv WRs for Tavor
    RDMA/cma: Add check to validate that cm_id is bound to a device
    RDMA/cma: Fix synchronization with device removal in cma_iw_handler
    RDMA/cma: Simplify device removal handling code
    IB/ehca: Disable scaling code by default, bump version number
    IB/ehca: Beautify sysfs attribute code and fix compiler warnings
    IB/ehca: Remove _irqsave, move #ifdef
    IB/ehca: Fix AQP0/1 QP number
    IB/ehca: Correctly set GRH mask bit in ehca_modify_qp()
    IB/ehca: Serialize hypervisor calls in ehca_register_mr()
    IB/ipath: Shadow the gpio_mask register
    IB/mlx4: Fix uninitialized spinlock for 32-bit archs
    mlx4_core: Remove unused doorbell_lock
    net: Trivial MLX4_DEBUG dependency fix.

    Linus Torvalds
     

13 May, 2007

1 commit


12 May, 2007

1 commit