summaryrefslogtreecommitdiffstats
path: root/plugins/ocp/ocp-nvme.h
blob: c20646a2445664f4ccd2630660e6eeac652bb3e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Copyright (c) 2022 Meta Platforms, Inc.
 *
 * Authors: Arthur Shau <arthurshau@fb.com>,
 *          Wei Zhang <wzhang@fb.com>,
 *   	    Venkat Ramesh <venkatraghavan@fb.com>
 */
#undef CMD_INC_FILE
#define CMD_INC_FILE plugins/ocp/ocp-nvme

#if !defined(OCP_NVME) || defined(CMD_HEADER_MULTI_READ)
#define OCP_NVME

#include "cmd.h"

PLUGIN(NAME("ocp", "OCP cloud SSD extensions", NVME_VERSION),
	COMMAND_LIST(
		ENTRY("smart-add-log", "Retrieve extended SMART Information", ocp_smart_add_log)
		ENTRY("latency-monitor-log", "Get Latency Monitor Log Page",
		      ocp_latency_monitor_log)
		ENTRY("clear-fw-activate-history", "Clear firmware update history log",
		      clear_fw_update_history)
	)
);

#endif

#include "define_cmd.h"