netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] devlink: remove trigger command from devlink-region.rst
@ 2020-03-02 22:21 Jacob Keller
  2020-03-02 22:22 ` Jacob Keller
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jacob Keller @ 2020-03-02 22:21 UTC (permalink / raw)
  To: netdev; +Cc: jiri, Jacob Keller

The devlink trigger command does not exist. While rewriting the
documentation for devlink into the reStructuredText format,
documentation for the trigger command was accidentally merged in. This
occurred because the author was also working on a potential extension to
devlink regions which included this trigger command, and accidentally
squashed the documentation incorrectly.

Further review eventually settled on using the previously unused "new"
command instead of creating a new trigger command.

Fix this by removing mention of the trigger command from the
documentation.

Fixes: 0b0f945f5458 ("devlink: add a file documenting devlink regions", 2020-01-10)
Noticed-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
---
 Documentation/networking/devlink/devlink-region.rst | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/Documentation/networking/devlink/devlink-region.rst b/Documentation/networking/devlink/devlink-region.rst
index 1a7683e7acb2..8b46e8591fe0 100644
--- a/Documentation/networking/devlink/devlink-region.rst
+++ b/Documentation/networking/devlink/devlink-region.rst
@@ -40,9 +40,6 @@ example usage
     # Delete a snapshot using:
     $ devlink region del pci/0000:00:05.0/cr-space snapshot 1
 
-    # Trigger (request) a snapshot be taken:
-    $ devlink region trigger pci/0000:00:05.0/cr-space
-
     # Dump a snapshot:
     $ devlink region dump pci/0000:00:05.0/fw-health snapshot 1
     0000000000000000 0014 95dc 0014 9514 0035 1670 0034 db30
-- 
2.24.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] devlink: remove trigger command from devlink-region.rst
  2020-03-02 22:21 [PATCH] devlink: remove trigger command from devlink-region.rst Jacob Keller
@ 2020-03-02 22:22 ` Jacob Keller
  2020-03-03 13:31 ` Jiri Pirko
  2020-03-04  1:36 ` David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: Jacob Keller @ 2020-03-02 22:22 UTC (permalink / raw)
  To: netdev; +Cc: jiri

Heh, forgot to set subject properly, it should be [net].

Thanks,
Jake

On 3/2/2020 2:21 PM, Jacob Keller wrote:
> The devlink trigger command does not exist. While rewriting the
> documentation for devlink into the reStructuredText format,
> documentation for the trigger command was accidentally merged in. This
> occurred because the author was also working on a potential extension to
> devlink regions which included this trigger command, and accidentally
> squashed the documentation incorrectly.
> 
> Further review eventually settled on using the previously unused "new"
> command instead of creating a new trigger command.
> 
> Fix this by removing mention of the trigger command from the
> documentation.
> 
> Fixes: 0b0f945f5458 ("devlink: add a file documenting devlink regions", 2020-01-10)
> Noticed-by: Jiri Pirko <jiri@resnulli.us>
> Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
> ---
>  Documentation/networking/devlink/devlink-region.rst | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/Documentation/networking/devlink/devlink-region.rst b/Documentation/networking/devlink/devlink-region.rst
> index 1a7683e7acb2..8b46e8591fe0 100644
> --- a/Documentation/networking/devlink/devlink-region.rst
> +++ b/Documentation/networking/devlink/devlink-region.rst
> @@ -40,9 +40,6 @@ example usage
>      # Delete a snapshot using:
>      $ devlink region del pci/0000:00:05.0/cr-space snapshot 1
>  
> -    # Trigger (request) a snapshot be taken:
> -    $ devlink region trigger pci/0000:00:05.0/cr-space
> -
>      # Dump a snapshot:
>      $ devlink region dump pci/0000:00:05.0/fw-health snapshot 1
>      0000000000000000 0014 95dc 0014 9514 0035 1670 0034 db30
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] devlink: remove trigger command from devlink-region.rst
  2020-03-02 22:21 [PATCH] devlink: remove trigger command from devlink-region.rst Jacob Keller
  2020-03-02 22:22 ` Jacob Keller
@ 2020-03-03 13:31 ` Jiri Pirko
  2020-03-04  1:36 ` David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: Jiri Pirko @ 2020-03-03 13:31 UTC (permalink / raw)
  To: Jacob Keller; +Cc: netdev

Mon, Mar 02, 2020 at 11:21:19PM CET, jacob.e.keller@intel.com wrote:
>The devlink trigger command does not exist. While rewriting the
>documentation for devlink into the reStructuredText format,
>documentation for the trigger command was accidentally merged in. This
>occurred because the author was also working on a potential extension to
>devlink regions which included this trigger command, and accidentally
>squashed the documentation incorrectly.
>
>Further review eventually settled on using the previously unused "new"
>command instead of creating a new trigger command.
>
>Fix this by removing mention of the trigger command from the
>documentation.
>
>Fixes: 0b0f945f5458 ("devlink: add a file documenting devlink regions", 2020-01-10)
>Noticed-by: Jiri Pirko <jiri@resnulli.us>
>Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>

Reviewed-by: Jiri Pirko <jiri@mellanox.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] devlink: remove trigger command from devlink-region.rst
  2020-03-02 22:21 [PATCH] devlink: remove trigger command from devlink-region.rst Jacob Keller
  2020-03-02 22:22 ` Jacob Keller
  2020-03-03 13:31 ` Jiri Pirko
@ 2020-03-04  1:36 ` David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2020-03-04  1:36 UTC (permalink / raw)
  To: jacob.e.keller; +Cc: netdev, jiri

From: Jacob Keller <jacob.e.keller@intel.com>
Date: Mon,  2 Mar 2020 14:21:19 -0800

> The devlink trigger command does not exist. While rewriting the
> documentation for devlink into the reStructuredText format,
> documentation for the trigger command was accidentally merged in. This
> occurred because the author was also working on a potential extension to
> devlink regions which included this trigger command, and accidentally
> squashed the documentation incorrectly.
> 
> Further review eventually settled on using the previously unused "new"
> command instead of creating a new trigger command.
> 
> Fix this by removing mention of the trigger command from the
> documentation.
> 
> Fixes: 0b0f945f5458 ("devlink: add a file documenting devlink regions", 2020-01-10)
> Noticed-by: Jiri Pirko <jiri@resnulli.us>
> Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>

Applied, thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-03-04  1:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-02 22:21 [PATCH] devlink: remove trigger command from devlink-region.rst Jacob Keller
2020-03-02 22:22 ` Jacob Keller
2020-03-03 13:31 ` Jiri Pirko
2020-03-04  1:36 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).