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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CCA44C4332F for ; Thu, 2 Nov 2023 07:57:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344449AbjKBH5u (ORCPT ); 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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