23 Oct, 2010

1 commit

  • 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: David Dillow
    Signed-off-by: Roland Dreier

    David Dillow
     

18 Jun, 2006

1 commit

  • Add enum values for I/O Class values from rev. 10 and rev. 16a SRP
    drafts. The values are used to detect targets that implement obsolete
    revisions of SRP, so that the initiator can use the old format for
    port identifier when connecting to them.

    Signed-off-by: Ramachandra K
    Signed-off-by: Roland Dreier

    Ramachandra K
     

28 Apr, 2006

1 commit

  • Several structs in 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 .

    Signed-off-by: Roland Dreier
    Signed-off-by: James Bottomley

    Roland Dreier
     

03 Nov, 2005

1 commit