Re: [PATCH-v2] ib_srpt: Initial SRP Target merge for v3.2-rc1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 24, 2011 at 11:33 AM, Nicholas A. Bellinger
<nab@xxxxxxxxxxxxxxx> wrote:
>> - Handle IB completion timeouts. Although the InfiniBand Architecture
>> Manual specifies that a HCA must generate an error completion for each
>> pending work item when a queue pair reset is issued, an important
>> class of HCAs doesn't do this (that includes the HCA in your test
>> setup). In the SCST version of this driver such timeouts are handled
>> by the function srpt_pending_cmd_timeout().

Hold on... not sure what you mean by a "queue pair reset" but the IB
spec does not say that a flush error should be generated when a QP is
transitioned to the "reset" state.  The flush error completions are
required when a QP is transitioned to the "error" state, and in fact
completion entries may be lost when a QP transitions to "reset".

As far as I know every HCA supported by Linux does implement this
correctly.  Which class did you have in mind as not doing that?

 - R.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux