From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Christie Subject: Re: [PATCH 04/13] qla4xxx: Do not add duplicate CHAP entry in FLASH Date: Mon, 03 Oct 2011 15:41:55 -0500 Message-ID: <4E8A1E13.90401@cs.wisc.edu> References: <1317662967-30110-1-git-send-email-vikas.chaudhary@qlogic.com> <1317662967-30110-5-git-send-email-vikas.chaudhary@qlogic.com> <4E8A1DC7.8040803@cs.wisc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from sabe.cs.wisc.edu ([128.105.6.20]:36853 "EHLO sabe.cs.wisc.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932210Ab1JCUgp (ORCPT ); Mon, 3 Oct 2011 16:36:45 -0400 In-Reply-To: <4E8A1DC7.8040803@cs.wisc.edu> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: vikas.chaudhary@qlogic.com Cc: jbottomley@parallels.com, linux-scsi@vger.kernel.org, lalit.chandivade@qlogic.com, ravi.anand@qlogic.com On 10/03/2011 03:40 PM, Mike Christie wrote: > On 10/03/2011 12:29 PM, vikas.chaudhary@qlogic.com wrote: >> From: Lalit Chandivade >> >> 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? > Or does the the qlogic app store the targets in flash too or just the chap info?