]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
plugins/ocp:Added the ocp C6h feature api
authorVigneshwaran Saravanan/SSD TS Dev /SSIR/Engineer/Samsung Electronics <s.vignesh@samsung.com>
Mon, 6 Nov 2023 11:47:48 +0000 (17:17 +0530)
committerDaniel Wagner <wagi@monom.org>
Tue, 7 Nov 2023 08:05:12 +0000 (09:05 +0100)
Reviewed-by: Karthik Balan karthik.b82@samsung.com, Arunpandian J arun.j@samsung.com
Signed-off-by: Vigneshwaran Saravanan/SSD TS Dev /SSIR/Engineer/Samsung Electronics <s.vignesh@samsung.com>
Documentation/nvme-ocp-set-plp-health-check-interval.txt
plugins/ocp/ocp-nvme.c

index df02f4fc623decd71d5c9f79d2a670e547b221af..ac3acb322e41ede3b7c1faa2a01d7582c0c08950 100644 (file)
@@ -8,7 +8,7 @@ nvme-ocp-set-plp-health-check-interval - Define and set PLP health check interva
 SYNOPSIS
 --------
 [verse]
-'nvme ocp set-plp-health-check-interval' <device> [--plp_health_interval=<plp_health_interval> | -p <plp_health_interval>] [--save | -s] [--no-uuid | -n] 
+'nvme ocp set-plp-health-check-interval' <device> [--plp_health_interval=<plp_health_interval> | -p <plp_health_interval>] [--save | -s] [--no-uuid | -n]
 
 
 DESCRIPTION
index c62329fcbcddcc841f9eb5a65cac7d0fb6b2c73b..34c395e3c8752d8bea72f7a62bd091c9c20189ed 100644 (file)
@@ -1967,9 +1967,10 @@ static int set_dssd_power_state_feature(int argc, char **argv, struct command *c
 /// plp_health_check_interval
 
 static int set_plp_health_check_interval(int argc, char **argv, struct command *cmd,
-                struct plugin *plugin)
+                                         struct plugin *plugin)
 {
-    const char *desc = "Define Issue Set Feature command (FID : 0xC2) PLP Health Check Interval";
+
+    const char *desc = "Define Issue Set Feature command (FID : 0xC6) PLP Health Check Interval";
     const char *plp_health_interval = "[31:16]:PLP Health Check Interval";
     const char *save = "Specifies that the controller shall save the attribute";
     const __u32 nsid = 0;
@@ -2043,9 +2044,10 @@ static int set_plp_health_check_interval(int argc, char **argv, struct command *
 }
 
 static int get_plp_health_check_interval(int argc, char **argv, struct command *cmd,
-                struct plugin *plugin)
+                                         struct plugin *plugin)
 {
-    const char *desc = "Define Issue Get Feature command (FID : 0xC2) PLP Health Check Interval";
+
+    const char *desc = "Define Issue Get Feature command (FID : 0xC6) PLP Health Check Interval";
     const char *sel = "[0-3,8]: current/default/saved/supported/changed";
     const __u32 nsid = 0;
     const __u8 fid = 0xc6;