From patchwork Thu Apr 30 17:57:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Kicinski X-Patchwork-Id: 220163 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=-10.1 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, 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 1E058C47253 for ; Thu, 30 Apr 2020 17:58:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EC84B20873 for ; Thu, 30 Apr 2020 17:58:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588269489; bh=cS8WZ1PkdgZTZriWGQbCR5J5KUjuu6VHvNnIPNVO7Ec=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=nlMZA3bouJ12KARoKl41CMWCASfNl8kjARuqfdTba9rpeN7Hjt/YdbuzmnpJLFCz5 ZIDB+x06RWTP1jdQS2vNNrNAO5yyAsvOLs9Fsn0M/KENglH6r2IEraYQGYGGL4hyhC OuEkgtLvTf8GolEc+F2/vwbKYVugbxR5U5zoWfg0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726661AbgD3R6I (ORCPT ); Thu, 30 Apr 2020 13:58:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:39910 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726549AbgD3R6H (ORCPT ); Thu, 30 Apr 2020 13:58:07 -0400 Received: from kicinski-fedora-PC1C0HJN.thefacebook.com (unknown [163.114.132.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0486521775; Thu, 30 Apr 2020 17:58:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588269487; bh=cS8WZ1PkdgZTZriWGQbCR5J5KUjuu6VHvNnIPNVO7Ec=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=m1omNjIt++OvpDYK1EGLebSBOD8FCTE8r9K3VD2wcnYBBZgSRAgm/eDnKRrCqwPni kMc/QxfRs0GUC6h1KoBIMJ1fIl7vzPxSVooj8b5j9PY1z4KRpoBRR2CCwP7BLFzqTE wAbID5FhaIU8shxtG+92nb5kTRj6QT4Vn/vycM8I= From: Jakub Kicinski To: davem@davemloft.net, jiri@resnulli.us Cc: netdev@vger.kernel.org, kernel-team@fb.com, jacob.e.keller@intel.com, Jakub Kicinski Subject: [PATCH net-next v3 3/3] docs: devlink: clarify the scope of snapshot id Date: Thu, 30 Apr 2020 10:57:58 -0700 Message-Id: <20200430175759.1301789-4-kuba@kernel.org> X-Mailer: git-send-email 2.25.4 In-Reply-To: <20200430175759.1301789-1-kuba@kernel.org> References: <20200430175759.1301789-1-kuba@kernel.org> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org In past discussions Jiri explained snapshot ids are cross-region. Explain this in the docs. v3: new patch Signed-off-by: Jakub Kicinski --- Documentation/networking/devlink/devlink-region.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/networking/devlink/devlink-region.rst b/Documentation/networking/devlink/devlink-region.rst index daf35427fce1..3654c3e9658f 100644 --- a/Documentation/networking/devlink/devlink-region.rst +++ b/Documentation/networking/devlink/devlink-region.rst @@ -14,6 +14,10 @@ Region snapshots are collected by the driver, and can be accessed via read or dump commands. This allows future analysis on the created snapshots. Regions may optionally support triggering snapshots on demand. +Snapshot identifiers are scoped to the devlink instance, not a region. +All snapshots with the same snapshot id within a devlink instance +correspond to the same event. + The major benefit to creating a region is to provide access to internal address regions that are otherwise inaccessible to the user.