From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3454C43470 for ; Thu, 8 Apr 2021 08:34:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 672A661178 for ; Thu, 8 Apr 2021 08:34:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229877AbhDHIfC (ORCPT ); Thu, 8 Apr 2021 04:35:02 -0400 Received: from mx2.suse.de ([195.135.220.15]:41990 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229689AbhDHIfB (ORCPT ); Thu, 8 Apr 2021 04:35:01 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id C94BFB10B; Thu, 8 Apr 2021 08:34:49 +0000 (UTC) Subject: Re: [PATCH v9 04/13] lpfc: vmid: Add the datastructure for supporting VMID in lpfc To: Muneendra , linux-block@vger.kernel.org, linux-scsi@vger.kernel.org, tj@kernel.org, linux-nvme@lists.infradead.org Cc: jsmart2021@gmail.com, emilne@redhat.com, mkumar@redhat.com, Gaurav Srivastava References: <1617750397-26466-1-git-send-email-muneendra.kumar@broadcom.com> <1617750397-26466-5-git-send-email-muneendra.kumar@broadcom.com> From: Hannes Reinecke Message-ID: <8bfcafe4-d116-62d5-4f6f-049f6c9fe260@suse.de> Date: Thu, 8 Apr 2021 10:28:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <1617750397-26466-5-git-send-email-muneendra.kumar@broadcom.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On 4/7/21 1:06 AM, Muneendra wrote: > From: Gaurav Srivastava > > This patch adds the primary datastructures needed to implement VMID > in lpfc driver. It maintains the capability, current state, > hash table for the vmid/appid along with other information. > The implementation supports the two versions of vmid implementation > (app header and priority tagging) > > Signed-off-by: Gaurav Srivastava > Signed-off-by: James Smart > > --- > v9: > Updated the data structures > Merged patch 5 and 6 of previous version v8 to this patch > > v8: > modify structure member to uniform data type naming scheme > > v7: > No change > > v6: > No change > > v5: > No Change > > v4: > No change > > v3: > No change > > v2: > Ported the patch on top of 5.10/scsi-queue > Removed unused variable. > --- > drivers/scsi/lpfc/lpfc.h | 122 +++++++++++++++++++++++++++++++++ > drivers/scsi/lpfc/lpfc_crtn.h | 11 +++ > drivers/scsi/lpfc/lpfc_disc.h | 1 + > drivers/scsi/lpfc/lpfc_hw.h | 124 ++++++++++++++++++++++++++++++++-- > drivers/scsi/lpfc/lpfc_sli.h | 8 +++ > 5 files changed, 262 insertions(+), 4 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer