All of lore.kernel.org
 help / color / mirror / Atom feed
From: Himanshu Madhani <himanshu.madhani@oracle.com>
To: Nilesh Javali <njavali@marvell.com>,
	"martin.petersen@oracle.com" <martin.petersen@oracle.com>
Cc: "linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
	GR-QLogic-Storage-Upstream
	<GR-QLogic-Storage-Upstream@marvell.com>
Subject: Re: [EXT] Re: [PATCH v3 10/11] qla2xxx: enable heartbeat validation for edif command
Date: Wed, 23 Jun 2021 23:27:09 -0500	[thread overview]
Message-ID: <e793b8a9-54f3-68ba-c853-39ff8eb7e011@oracle.com> (raw)
In-Reply-To: <CO6PR18MB45009B91FA30BDE67A994F9BAF079@CO6PR18MB4500.namprd18.prod.outlook.com>



On 6/23/21 11:02 PM, Nilesh Javali wrote:
> Himanshu,
> 
> The heartbeat check patch attached does the actual validation,
> and the same is extended for edif commands too.
> 
Correct.... this patch is not doing that enablment right?

My point is that your commit subject and commit log does not match. it 
should say "qla2xxx: Increment EDIF command and completion counts" 
instead of "qla2xxx: enable heartbeat validation for edif command"

> Thanks,
> Nilesh
> 
>> -----Original Message-----
>> From: Himanshu Madhani <himanshu.madhani@oracle.com>
>> Sent: Thursday, June 24, 2021 12:17 AM
>> To: Nilesh Javali <njavali@marvell.com>; martin.petersen@oracle.com
>> Cc: linux-scsi@vger.kernel.org; GR-QLogic-Storage-Upstream <GR-QLogic-
>> Storage-Upstream@marvell.com>
>> Subject: [EXT] Re: [PATCH v3 10/11] qla2xxx: enable heartbeat validation for
>> edif command
>>
>> External Email
>>
>> ----------------------------------------------------------------------
>>
>>
>> On 6/23/21 5:26 AM, Nilesh Javali wrote:
>>> From: Quinn Tran <qutran@marvell.com>
>>>
>>> Increment the command and the completion counts.
>>
>> I don't see enablement of heartbeat validation code in this patch.
>>
>> Am i missing something?
>>
>>>
>>> Signed-off-by: Quinn Tran <qutran@marvell.com>
>>> Signed-off-by: Nilesh Javali <njavali@marvell.com>
>>> ---
>>>    drivers/scsi/qla2xxx/qla_edif.c | 1 +
>>>    drivers/scsi/qla2xxx/qla_isr.c  | 3 +--
>>>    2 files changed, 2 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/drivers/scsi/qla2xxx/qla_edif.c b/drivers/scsi/qla2xxx/qla_edif.c
>>> index 8e730cc882e6..ccbe0e1bfcbc 100644
>>> --- a/drivers/scsi/qla2xxx/qla_edif.c
>>> +++ b/drivers/scsi/qla2xxx/qla_edif.c
>>> @@ -2926,6 +2926,7 @@ qla28xx_start_scsi_edif(srb_t *sp)
>>>    		req->ring_ptr++;
>>>    	}
>>>
>>> +	sp->qpair->cmd_cnt++;
>>>    	/* Set chip new ring index. */
>>>    	wrt_reg_dword(req->req_q_in, req->ring_index);
>>>
>>> diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c
>>> index ce4f93fb4d25..e8928fd83049 100644
>>> --- a/drivers/scsi/qla2xxx/qla_isr.c
>>> +++ b/drivers/scsi/qla2xxx/qla_isr.c
>>> @@ -3192,10 +3192,9 @@ qla2x00_status_entry(scsi_qla_host_t *vha,
>> struct rsp_que *rsp, void *pkt)
>>>    		return;
>>>    	}
>>>
>>> -	sp->qpair->cmd_completion_cnt++;
>>> -
>>>    	/* Fast path completion. */
>>>    	qla_chk_edif_rx_sa_delete_pending(vha, sp, sts24);
>>> +	sp->qpair->cmd_completion_cnt++;
>>>
>>>    	if (comp_status == CS_COMPLETE && scsi_status == 0) {
>>>    		qla2x00_process_completed_request(vha, req, handle);
>>>
>>
>> --
>> Himanshu Madhani                                Oracle Linux Engineering

-- 
Himanshu Madhani                                Oracle Linux Engineering

  reply	other threads:[~2021-06-24  4:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-23 10:26 [PATCH v3 00/11] qla2xxx: Add EDIF support Nilesh Javali
2021-06-23 10:26 ` [PATCH v3 01/11] qla2xxx: Add start + stop bsg's Nilesh Javali
2021-06-23 10:26 ` [PATCH v3 02/11] qla2xxx: Add getfcinfo and statistic bsg's Nilesh Javali
2021-06-23 10:26 ` [PATCH v3 03/11] qla2xxx: Add send, receive and accept for auth_els Nilesh Javali
2021-06-23 10:26 ` [PATCH v3 04/11] qla2xxx: Add extraction of auth_els from the wire Nilesh Javali
2021-06-23 10:26 ` [PATCH v3 05/11] qla2xxx: Add key update Nilesh Javali
2021-06-23 10:26 ` [PATCH v3 06/11] qla2xxx: Add authentication pass + fail bsg's Nilesh Javali
2021-06-23 10:26 ` [PATCH v3 07/11] qla2xxx: Add detection of secure device Nilesh Javali
2021-06-23 10:26 ` [PATCH v3 08/11] qla2xxx: Add doorbell notification for app Nilesh Javali
2021-06-23 10:26 ` [PATCH v3 09/11] qla2xxx: Add encryption to IO path Nilesh Javali
2021-06-23 10:26 ` [PATCH v3 10/11] qla2xxx: enable heartbeat validation for edif command Nilesh Javali
2021-06-23 18:47   ` Himanshu Madhani
2021-06-24  4:02     ` [EXT] " Nilesh Javali
2021-06-24  4:27       ` Himanshu Madhani [this message]
2021-06-24  4:52         ` Nilesh Javali
2021-06-23 10:26 ` [PATCH v3 11/11] qla2xxx: Update version to 10.02.00.107-k Nilesh Javali

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e793b8a9-54f3-68ba-c853-39ff8eb7e011@oracle.com \
    --to=himanshu.madhani@oracle.com \
    --cc=GR-QLogic-Storage-Upstream@marvell.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=njavali@marvell.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.