From patchwork Mon Mar 14 18:14:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Satish Kharat X-Patchwork-Id: 8583451 Return-Path: X-Original-To: patchwork-linux-scsi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C90A29F294 for ; Mon, 14 Mar 2016 18:24:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ED5772025B for ; Mon, 14 Mar 2016 18:24:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D7FAA20259 for ; Mon, 14 Mar 2016 18:24:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755002AbcCNSYC (ORCPT ); Mon, 14 Mar 2016 14:24:02 -0400 Received: from rcdn-iport-9.cisco.com ([173.37.86.80]:10456 "EHLO rcdn-iport-9.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753792AbcCNSYB (ORCPT ); Mon, 14 Mar 2016 14:24:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1155; q=dns/txt; s=iport; t=1457979840; x=1459189440; h=from:to:subject:date:message-id:in-reply-to:references; bh=8pKE71WYo7JiDZvlexG30v3YvjX6RF5mjwrmm+9VysE=; b=LFF+zfgK97RMkYpG4ANaXfHpTyL84JhiPH8wKZ//SrdYbzRukS1rM7po i0H0TxlNI707UoNtgB/A5NsvJmDYLE29zZJDORc35zSWdPUhVFAQ+njJh x/C4VUBrUKfYBd5I/yvyFbkoqzIHmTuRy5WW6do6Oij8L4RL0qoMzPRee U=; X-IronPort-AV: E=Sophos;i="5.24,336,1454976000"; d="scan'208";a="80608846" Received: from rcdn-core-3.cisco.com ([173.37.93.154]) by rcdn-iport-9.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Mar 2016 18:14:29 +0000 Received: from satishkh-lnx.cisco.com (satishkh-lnx.cisco.com [171.71.12.158]) by rcdn-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id u2EIER5P021862; Mon, 14 Mar 2016 18:14:29 GMT From: Satish Kharat To: satishkh@cisco.com, linux-scsi@vger.kernel.org Subject: [PATCH 4/5] Setting scsi host template to indicate that fnic does not support multiqueue Date: Mon, 14 Mar 2016 11:14:21 -0700 Message-Id: <1457979262-26571-4-git-send-email-satishkh@cisco.com> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1457979262-26571-1-git-send-email-satishkh@cisco.com> References: <1457979262-26571-1-git-send-email-satishkh@cisco.com> Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Spam-Status: No, score=-14.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY, USER_IN_DEF_DKIM_WL autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fnic does not support mutiqueue. Setting the scsi_host_template in fnic_host_template to indicate that. Changing fnic_version from 1.6.0.21 to 1.6.0.22 Signed-off-by: Satish Kharat Reviewed-by: Ewan D. Milne --- drivers/scsi/fnic/fnic.h | 2 +- drivers/scsi/fnic/fnic_main.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/fnic/fnic.h b/drivers/scsi/fnic/fnic.h index 9ddc920..35264c7 100644 --- a/drivers/scsi/fnic/fnic.h +++ b/drivers/scsi/fnic/fnic.h @@ -39,7 +39,7 @@ #define DRV_NAME "fnic" #define DRV_DESCRIPTION "Cisco FCoE HBA Driver" -#define DRV_VERSION "1.6.0.21" +#define DRV_VERSION "1.6.0.22" #define PFX DRV_NAME ": " #define DFX DRV_NAME "%d: " diff --git a/drivers/scsi/fnic/fnic_main.c b/drivers/scsi/fnic/fnic_main.c index 58ce902..fa8a121 100644 --- a/drivers/scsi/fnic/fnic_main.c +++ b/drivers/scsi/fnic/fnic_main.c @@ -119,6 +119,7 @@ static struct scsi_host_template fnic_host_template = { .max_sectors = 0xffff, .shost_attrs = fnic_attrs, .track_queue_depth = 1, + .disable_blk_mq = 1, }; static void