1. 30 4月, 2008 2 次提交
  2. 24 4月, 2008 1 次提交
    • C
      RDMA/nes: Fix adapter reset after PXE boot · bc5698f3
      Chien Tung 提交于
      After PXE boot, the iw_nes driver does a full reset to ensure the card
      is in a clean state.  However, it doesn't wait for firmware to
      complete its work before issuing a port reset to enable the ports,
      which leads to problems bringing up the ports.
      
      The solution is to wait for firmware to complete its work before
      proceeding with port reset.
      
      This bug was flagged by Roland Dreier <rolandd@cisco.com>.
      
      Cc: <stable@kernel.org>
      Signed-off-by: NChien Tung <ctung@neteffect.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      bc5698f3
  3. 17 4月, 2008 3 次提交
    • R
      IB/core: Add support for "send with invalidate" work requests · 0f39cf3d
      Roland Dreier 提交于
      Add a new IB_WR_SEND_WITH_INV send opcode that can be used to mark a
      "send with invalidate" work request as defined in the iWARP verbs and
      the InfiniBand base memory management extensions.  Also put "imm_data"
      and a new "invalidate_rkey" member in a new "ex" union in struct
      ib_send_wr. The invalidate_rkey member can be used to pass in an
      R_Key/STag to be invalidated.  Add this new union to struct
      ib_uverbs_send_wr.  Add code to copy the invalidate_rkey field in
      ib_uverbs_post_send().
      
      Fix up low-level drivers to deal with the change to struct ib_send_wr,
      and just remove the imm_data initialization from net/sunrpc/xprtrdma/,
      since that code never does any send with immediate operations.
      
      Also, move the existing IB_DEVICE_SEND_W_INV flag to a new bit, since
      the iWARP drivers currently in the tree set the bit.  The amso1100
      driver at least will silently fail to honor the IB_SEND_INVALIDATE bit
      if passed in as part of userspace send requests (since it does not
      implement kernel bypass work request queueing).  Remove the flag from
      all existing drivers that set it until we know which ones are OK.
      
      The values chosen for the new flag is not consecutive to avoid clashing
      with flags defined in the XRC patches, which are not merged yet but
      which are already in use and are likely to be merged soon.
      
      This resurrects a patch sent long ago by Mikkel Hagen <mhagen@iol.unh.edu>.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      0f39cf3d
    • H
      IB: Replace remaining __FUNCTION__ occurrences with __func__ · 33718363
      Harvey Harrison 提交于
      __FUNCTION__ is gcc-specific, use __func__ instead.
      Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      33718363
    • R
      RDMA/nes: Make symbols used only in a single source file static · 1a855fbf
      Roland Dreier 提交于
      Avoid namespace pollution and allow the compiler to optimize better.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      1a855fbf
  4. 27 2月, 2008 1 次提交
  5. 05 2月, 2008 1 次提交