From patchwork Mon Nov 9 04:24:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Muneendra Kumar X-Patchwork-Id: 321786 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=-11.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_PATCH,MAILING_LIST_MULTI, MIME_HEADER_CTYPE_ONLY,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, T_TVD_MIME_NO_HEADERS,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 C372FC2D0A3 for ; Mon, 9 Nov 2020 11:18:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 705A42084C for ; Mon, 9 Nov 2020 11:18:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="aK9lZpXL" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729539AbgKILSc (ORCPT ); Mon, 9 Nov 2020 06:18:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729522AbgKILSb (ORCPT ); Mon, 9 Nov 2020 06:18:31 -0500 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9372C0613CF for ; Mon, 9 Nov 2020 03:18:31 -0800 (PST) Received: by mail-pf1-x443.google.com with SMTP id q5so4873984pfk.6 for ; Mon, 09 Nov 2020 03:18:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=SgRcv1ruFQT5B3YQr5m+8P69mz6AQ1rRBXBPmMr6kjU=; b=aK9lZpXLxvlLeH+kIMWpEV8bmfLB7Tk9Ja6v7Jvef7Mr97UGAVHSwfX1hU79ReVjQ3 c8kpBWAQAy4OYB8Qz5W6EAFo/WZs9egTsv9sQZipnycYffsFeM7ykLGxWN748j3tyffQ tFXKqdlj1Us+biq5yVxvDzR5lE9dUfwHqV3gI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=SgRcv1ruFQT5B3YQr5m+8P69mz6AQ1rRBXBPmMr6kjU=; b=M7zbuXb97VCyxh6qt6SQL0dplHbC7avCJYfHuQJ1gWVnQlu0YDzrbKaYM/sYjPtwj2 RSAOQtbkSDnJlKWRynN4rQIVlb4lRK7CeS9kq0VaWJQjECXLgWG5sc7lx3djmJzQzFI5 S/yq/wqkZ42IDjups7qqxge3qajSqtftTyFYL+HFVI5dbx5CGXBud8obRbnCyQqZNElr DWkzXTnDBkQZjJ3+QNvFKvBoOnomvDQsyPJr/h2wSUtDUd41DsN6ZV9kVgUpUfbemDg3 MtfwhFEgsepnGs078OzVMv5xXm04BuvVRW0E2k42DnD3WcIftG3FYnPHKxYA4gk1Yw0h Ni8A== X-Gm-Message-State: AOAM531e2fFWwFCRY3MmLYDZMVmpNZUxK+uOCgZexvy9k9HPYJWbBr84 o16g8aHQXRWcEhw+IhKoPFnbqAwOCfjSSbTg X-Google-Smtp-Source: ABdhPJxxlMbUEEiP1Z5MxrCkEJQjfoTlMAqn72vRIaFHinTYAGJ7m/alyt6pq+qYPfciDXBfpBMUCQ== X-Received: by 2002:a62:7e14:0:b029:18a:d515:dc47 with SMTP id z20-20020a627e140000b029018ad515dc47mr13786924pfc.78.1604920711302; Mon, 09 Nov 2020 03:18:31 -0800 (PST) Received: from localhost.localdomain ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id k9sm10889364pfp.68.2020.11.09.03.18.28 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Nov 2020 03:18:30 -0800 (PST) From: Muneendra To: 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, pbonzini@redhat.com, Muneendra Subject: [PATCH v4 19/19] scsi: Made changes in Kconfig to select BLK_CGROUP_FC_APPID Date: Mon, 9 Nov 2020 09:54:05 +0530 Message-Id: <1604895845-2587-20-git-send-email-muneendra.kumar@broadcom.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1604895845-2587-1-git-send-email-muneendra.kumar@broadcom.com> References: <1604895845-2587-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. Signed-off-by: Muneendra Reported-by: kernel test robot Reviewed-by: Hannes Reinecke --- 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