Re: [PATCH 04/13] qla4xxx: Do not add duplicate CHAP entry in FLASH

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

 




On 03/10/11 1:41 PM, "Mike Christie" <michaelc@xxxxxxxxxxx> wrote:

>On 10/03/2011 03:40 PM, Mike Christie wrote:
>> On 10/03/2011 12:29 PM, vikas.chaudhary@xxxxxxxxxx wrote:
>>> From: Lalit Chandivade <lalit.chandivade@xxxxxxxxxx>
>>>
>>> QLogic applications store the CHAP information in FLASH. During login,
>>> authentication information is provided using an index into the CHAP
>>>region.
>>>
>>> In order to support QLogic applications along with iscsiadm, updated
>>>the
>>> LLD to not add duplicate CHAP entries in the CHAP region and preserve
>>>the
>>> existing CHAP info in the CHAP region in FLASH.
>>> This allows QLogic applications to pre-write the CHAP entries in the
>>>CHAP
>>> region.
>>>
>>> With iscsiadm, when the CHAP authentication information is sent to the
>>>LLD, the
>>> LLD searches for the entry in CHAP region in FLASH, if exists then do
>>>not add.
>>> If CHAP entry does not exist then add the CHAP entry in the CHAP
>>>region.
>>>
>>
>> Does the qlogic app use the bsg flash commands to send down everything
>> then or how does one app work differently and use the same driver for
>> everything else?

Yes, QLogic app will use BSG flash to write to the CHAP table in FLASH.
For isciadm, LLD would check if CHAP entry is present in the FLASH and
if not then add it to the FLASH. The difference between QLogic app and
iscsiadm would be the delete part. Going forward we would need
A way to delete the CHAP entries from FLASH using iscsiadm.


>>
>
>Or does the the qlogic app store the targets in flash too or just the
>chap info?

Target info for boot target only is stored in the FLASH. All other
targets are not stored in FLASH.
And also CHAP table is stored in FLASH since firmware while doing
CHAP authentication uses the index into CHAP table to find the
user/secret information.



This message and any attached documents contain information from QLogic Corporation or its wholly-owned subsidiaries that may be confidential. If you are not the intended recipient, you may not read, copy, distribute, or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message.

--
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