From patchwork Wed Dec 16 05:29:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Muneendra Kumar M X-Patchwork-Id: 11977447 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=-17.2 required=3.0 tests=BAYES_00,DATE_IN_PAST_06_12, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT 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 A6624C2BBCA for ; Wed, 16 Dec 2020 12:25:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6216C230FA for ; Wed, 16 Dec 2020 12:25:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725985AbgLPMYz (ORCPT ); Wed, 16 Dec 2020 07:24:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725778AbgLPMYz (ORCPT ); Wed, 16 Dec 2020 07:24:55 -0500 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C705C0619DB for ; Wed, 16 Dec 2020 04:23:45 -0800 (PST) Received: by mail-pf1-x441.google.com with SMTP id 131so16479487pfb.9 for ; Wed, 16 Dec 2020 04:23:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:from:to:cc:subject:date:message-id:in-reply-to :references; bh=EtPL2PBwDd77Q8U/crtVYhcG6v0LbZMwpNCUdsTMUT0=; b=MchA5joX/o1jSWu3Q8c9SU+jM859ww0/8AJiuQrouS4WfATw0I/elfbZBloykMAnhZ iqRZ3rTM/RWTtMi5I79X0FP5sku6otTqiO+tR2upKavPUUSbAWaW/4ajDNkda3DGhSEt Bt4kMTI+aCHMGs6sAaIOB9KSLkQSM0VJrI3w0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references; bh=EtPL2PBwDd77Q8U/crtVYhcG6v0LbZMwpNCUdsTMUT0=; b=VkIs+HQPiXralJdY9WycZdQUEd29hjtvQTFk87UEAWq3GzZb8+s+uKyNF1FCJPWaet fOOCXySfSd5E3LCeNg1tyAsHqsfEHxHB1I68YgX2dr7iVeuEdYnz9ChFhAYD8qrfehUv TvHZiWMXZfbWPkDNvXNZqQqkj3HF96LWJLe2uyW9ymAceadr9yPi45WLPzSYdpPcU8e0 m63H+RIw4gx4PVowqzsFqFovxu1gUpF6aIJpebZ/gxglYsO8ktwclolY+jo/QGEYW+5Z y4NpULygEd+LUut9fOtjjKFulKPorrLGTgYSr106ee4nRr1ZBRNdV/LuNDqBZ0EnH3qm dkYA== MIME-Version: 1.0 X-Gm-Message-State: AOAM532lO7/+nxyoqFnrNCQqhOgaP6F226QviAOFQBdiB+eTSd/QzHc6 gcdbrGBIIgPdQdfU57nC9pgKXUMxvNTnnZKQ4zfszKxhkFZ5VYPpHSnRWUbQnHPKc/yOq0311rd Fmrgi5M/3h7SZ9KvdEeN/36E= X-Google-Smtp-Source: ABdhPJyy+6dwj0PPZFiZrnYOnSc3tBKkom9gKX3bghAuJoeKbZVQ8ZXeS6UgD2THpSjA0LJmgKLXmA== X-Received: by 2002:a63:4083:: with SMTP id n125mr33154867pga.356.1608121424672; Wed, 16 Dec 2020 04:23:44 -0800 (PST) Received: from localhost.localdomain ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id s7sm2477296pfh.207.2020.12.16.04.23.41 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Dec 2020 04:23:44 -0800 (PST) From: Muneendra To: linux-block@vger.kernel.org, linux-scsi@vger.kernel.org, tj@kernel.org, linux-nvme@lists.infradead.org, hare@suse.de Cc: jsmart2021@gmail.com, emilne@redhat.com, mkumar@redhat.com, pbonzini@redhat.com, Muneendra Subject: [PATCH v5 16/16] scsi: Made changes in Kconfig to select BLK_CGROUP_FC_APPID Date: Wed, 16 Dec 2020 10:59:46 +0530 Message-Id: <1608096586-21656-17-git-send-email-muneendra.kumar@broadcom.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1608096586-21656-1-git-send-email-muneendra.kumar@broadcom.com> References: <1608096586-21656-1-git-send-email-muneendra.kumar@broadcom.com> Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Added a new config FC_APPID to select BLK_CGROUP_FC_APPID which Enable support to track FC io Traffic. Reported-by: kernel test robot Signed-off-by: Muneendra --- v5: No change v4: Addressed the error reported by kernel test robot v3: New patch --- drivers/scsi/Kconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index 701b61ec76ee..1c73c60e398f 100644 --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig @@ -235,6 +235,19 @@ config SCSI_FC_ATTRS each attached FiberChannel device to sysfs, say Y. Otherwise, say N. +config FC_APPID + bool "Enable support to track FC io Traffic" + depends on BLOCK && BLK_CGROUP + depends on SCSI + select BLK_CGROUP_FC_APPID + default y + help + If you say Y here, it enables the support to track + FC IO traffic over fabric.It enables the Fabric and the + storage targets to identify, monitor, and handle FC traffic + based on vm tags by inserting application specific + identification into the FC frame + config SCSI_ISCSI_ATTRS tristate "iSCSI Transport Attributes" depends on SCSI && NET