1. 24 1月, 2018 1 次提交
    • B
      IB/srp: Add RDMA/CM support · 19f31343
      Bart Van Assche 提交于
      Since the SRP_LOGIN_REQ defined in the SRP standard is larger than
      what fits in the RDMA/CM login request private data, introduce a new
      login request format for the RDMA/CM.
      
      Note: since srp_daemon and ibsrpdm rely on the subnet manager and
      since there is no equivalent of the IB subnet manager in non-IB
      networks, login has to be performed manually for non-IB networks.
      Signed-off-by: NBart Van Assche <bart.vanassche@wdc.com>
      Signed-off-by: NDoug Ledford <dledford@redhat.com>
      19f31343
  2. 19 5月, 2015 1 次提交
  3. 23 10月, 2010 1 次提交
    • D
      IB/srp: Implement SRP_CRED_REQ and SRP_AER_REQ · bb12588a
      David Dillow 提交于
      This patch adds support for SRP_CRED_REQ to avoid a lockup by targets
      that use that mechanism to return credits to the initiator. This
      prevents a lockup observed in the field where we would never add the
      credits from the SRP_CRED_REQ to our current count, and would therefore
      never send another command to the target.
      
      Minimal support for SRP_AER_REQ is also added, as these messages can
      also be used to convey additional credits to the initiator.
      
      Based upon extensive debugging and code by Bart Van Assche and a bug
      report by Chris Worley.
      Signed-off-by: NDavid Dillow <dillowda@ornl.gov>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      bb12588a
  4. 18 6月, 2006 1 次提交
  5. 28 4月, 2006 1 次提交
    • R
      [SCSI] srp.h: avoid padding of structs · ec448a0a
      Roland Dreier 提交于
      Several structs in <scsi/srp.h> get padded to a multiple of 8 bytes on
      64-bit architectures and end up with a size that does not match the
      definition in the SRP spec:
      
                                           SRP spec     64-bit
          sizeof (struct indirect_buf)        20          24
          sizeof (struct srp_login_rsp)       52          56
          sizeof (struct srp_rsp)             36          40
      
      Fix this by adding __attribute__((packed)) to the offending structs.
      
      Problem pointed out by Arne Redlich <arne.redlich@xiranet.com>.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      ec448a0a
  6. 03 11月, 2005 1 次提交