Received: by 2002:a05:7412:b795:b0:e2:908c:2ebd with SMTP id iv21csp209813rdb; Thu, 2 Nov 2023 00:57:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHaUX40T0iC6Xj61JonS2UcscHEeI93dEx9B7mz60Gd4J3O11C147WbiZGRKNDh1/J7tN01 X-Received: by 2002:a05:6358:904c:b0:168:e452:c163 with SMTP id f12-20020a056358904c00b00168e452c163mr22012486rwf.17.1698911878007; Thu, 02 Nov 2023 00:57:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698911877; cv=none; d=google.com; s=arc-20160816; b=vWJeiKkky73ihOT7b8BAMQcRQQqm5vVLzIHeFy3chm866LUdNtV+EkRZy3/qL60GMl cVHfNzwoo9Vm1fzQM7wA9wTBG80jRA0/r5k0jo7YupXo4JOGMUYRexZEsVq6lFAIqjli e3En1Y7H6zeG8J6aK41SS8Zq0xLORFiW9yyVy66H15CTATjsXVHhR1PQMcvpfjd18g5w 2U8i2txw3CFohLNMbusBv9AtYPERkiX03gDGWV+23QGz15toieFOOLY84ZJLdw9ciZHI NbtR4PL2iI6hWRkFprlCksQvxPjTG9rSG/4Q36VlReuN6nc34XOcJ71pclW1qgaEjckg xH7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=M5Bchcd+Er1eE72zn/WwJj0b3qaoRpbMB9J8bqpGlK4=; fh=4ZUM7khSEhjdNbLwQ8q4Wir3bHJm1lctn4k9VbVzS3c=; b=pRFBrtXejFvU8B8ykJP80FZGSGFZWajy4QT2xcv5MdmgB2ID1M+MVv/f1AvVvafC+r 3VGNgzhftATULw1jcVzUIeVm1gSWJwXlw6Cn1MU8ePFNy9hnN5XDbFURtWENiGSb1aMt xy/VHSlbJ4Rsy0yH9eNFacaD5iv0Ue6pG+roy8JsPqjMmius67Mx6CNAC3/C7sYVF+TR DZoE2MwwV7WpMUyUBAUbhQ5VK3m1f7cjC+UPPQtOZYZRpbAsITbx0xOCnSnRMGs9M/kx DSjmAbiRkw6oQ4vxgeOBd6NJYIVKHg0g6+r0ONnezEaA7qP2EdVhImgyqZwbpORNBkVT uq+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=pdQFXTqn; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=DwTkg5TZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id l4-20020a639844000000b005abcd0ad422si1303154pgo.533.2023.11.02.00.57.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 00:57:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=pdQFXTqn; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=DwTkg5TZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 27F8D81E14C4; Thu, 2 Nov 2023 00:57:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234370AbjKBH5u (ORCPT + 99 others); Thu, 2 Nov 2023 03:57:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbjKBH5s (ORCPT ); Thu, 2 Nov 2023 03:57:48 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EEEF2E7; Thu, 2 Nov 2023 00:57:42 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id AA5AE1F853; Thu, 2 Nov 2023 07:57:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1698911861; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=M5Bchcd+Er1eE72zn/WwJj0b3qaoRpbMB9J8bqpGlK4=; b=pdQFXTqnEtw4PDvNdMeq/frwVsQcnJdfzfz1YJ+TlsaNh0VAj41e/M4S3nG5SDLGfjT8e7 NtAKedu0r3tQAW2KaRXbmOSl7waE9lnVBIiDgdts95ERuvKVVI47FxIWP3+dlkjpOufcuj P/XqPZPJUcOMDt3YIQ/EQpSLWxIDbIs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1698911861; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=M5Bchcd+Er1eE72zn/WwJj0b3qaoRpbMB9J8bqpGlK4=; b=DwTkg5TZEUDdAj+0+0PHVXehWM/Pb/81+z0iLwRLHfa0Ky/CDIlfnEOW8dR1ycdJn4A7WT 5PI+yar9p3shwWCA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id E92A713584; Thu, 2 Nov 2023 07:57:40 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 6JqxNXRWQ2W1PQAAMHmgww (envelope-from ); Thu, 02 Nov 2023 07:57:40 +0000 Message-ID: Date: Thu, 2 Nov 2023 08:57:40 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 10/13] scsi: fnic: Add support for multiqueue (MQ) in fnic_main.c Content-Language: en-US To: Karan Tilak Kumar , sebaddel@cisco.com Cc: arulponn@cisco.com, djhawar@cisco.com, gcboffa@cisco.com, mkai2@cisco.com, satishkh@cisco.com, jejb@linux.ibm.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231027180302.418676-1-kartilak@cisco.com> <20231027180302.418676-11-kartilak@cisco.com> From: Hannes Reinecke In-Reply-To: <20231027180302.418676-11-kartilak@cisco.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 02 Nov 2023 00:57:57 -0700 (PDT) On 10/27/23 20:02, Karan Tilak Kumar wrote: > Set map_queues in the fnic_host_template to fnic_mq_map_queues_cpus. > Define fnic_mq_map_queues_cpus to set cpu assignment to > fnic queues. > Refactor code in fnic_probe to enable vnic queues before scsi_add_host. > Modify notify set to the correct index. > > Reviewed-by: Sesidhar Baddela > Reviewed-by: Arulprabhu Ponnusamy > Signed-off-by: Karan Tilak Kumar > --- > drivers/scsi/fnic/fnic.h | 2 +- > drivers/scsi/fnic/fnic_main.c | 137 ++++++++++++++++++++++++++-------- > 2 files changed, 105 insertions(+), 34 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: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman