change detail- add support for cxl mailbox command from "cxl" cli

update cxl code for all supported mailbox command, start with 2 basic mailbox 
command get-partition-info and get-supported-log

[root@fedora dp]# ./cxl/cxl --list-cmds
version
list
help
zero-labels
read-labels
write-labels
disable-memdev
enable-memdev
reserve-dpa
free-dpa
disable-port
enable-port
set-partition
disable-bus
create-region
enable-region
disable-region
destroy-region
mbx_get_partition_info
mbx_get_supp_log
[root@fedora dp]#
[root@fedora dp]# ./cxl/cxl mbx_get_supp_log mem0
num_of_sup_log_entry = 1
log_identifier = 0d a9 c0 b5 bf 41 4b 78 8f 79 96 b1 62 3b 3f 17
log_size = 52
cxl memdev: cmd_mbx_get_supp_log: get_supplog 1 mem
[root@fedora dp]# ./cxl/cxl mbx_get_partition_info mem0
active_volatile = 0
active_persistent = 2
next_volatile = 0
next_persistent = 0
cxl memdev: cmd_mbx_get_partition_info: get_partition 1 mem
[root@fedora dp]#

Attaching patch.

--
--
Regards,
Dharmesh

Attachment: ndctl_mbxsupport_v1.patch.tar.tgz
Description: ndctl_mbxsupport_v1.patch.tar.tgz

Reply via email to