- Update to version 2.4:
* plugins/ocp: Add SMART cloud log to solidigm plugin
* nvme-print: Unify number base format for nsid
* nvme-(discover,connect,connect-all): enable options '--keyring' and '--tls_key'
* nvme-connect: enable option '--tls'
* nvme-check-tls-key: add options to derive a 'retained' TLS key
* nvme-gen-tls-key: add options to derive a TLS key
* plugins/ocp: Move SMART cloud log methods to separate file for reusability
* nvme: validate storage tag size correctly
* nvme-print-json: Add json output status function
* util: Cleanup argconfig parse function
* nvme: Fix format command function indentation errors
* util: Use argconfig commandline options pointer directly
* nvme-print: Fix nvme show status function indentation errors
* nvme: Check fw-commit command support MUD
* print: print csi and opcode in error log (TP4113)
* plugins/inspur: Cast vendor specific smart log value
* nvme: Use correct ABORT type for self abort test
* plugins/solidigm: Do not overwrite previously initialized variable
* nvme-print: sanitize supported-log-pages output
* nvme: Enforce length to a multiple of 4 in get_log_page
* nvme: fix block count and data size logic
* util: Introduce argconfig simple helper to check seen condition
* plugins/ocp: Add set feature EOL/PLP failure mode no-uuid option
* plugins/ocp: Refactor to clear feature identifier C1h and C3h
* plugins/ocp: Add support for clear PCIe correctable error counters feature
* nvme-doc: update man page for supported-log-pages
* plugins/ocp: OCP 2.0 field updates for SMART cloud log
* nvme: Fix parameter limit range
* fdp: Fix wrong Reclaim Unit Handle Status size
OBS-URL: https://build.opensuse.org/request/show/1076524
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=135
- Update to version 2.3:
* Added support for Flexible Data Placement (TP4146)
* Added Persistent Discovery Controller support (TP8013/TP8014)
* nvme-mi: support for firmware downloads
* nvme device-self-test learned the --wait command line argument
which makes nvme-cli to wait (incl. progress bar) in foreground
until the test has finished.
* A lot of bug fixes all over the place
- Update spec file
* Project depends on meson >= 0.50.0
* make build dependency dropped
OBS-URL: https://build.opensuse.org/request/show/1062068
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=133
- Update to version 2.2.1:
* Added parsing for Solidigm telemetry observable data.
* add item ddr_ecc_err_cnt in smart-log-add
* build: Drop dependency on libuuid
* build: Fix endian check for cross build
* build: Remove unused uuid.wrap file
* build: Remove unusned uuid.h include
* completions: Add show-topology tab completion
* fabrics: Honor JSON config file in connect-all command
* fabrics: Trigger auto connect if config.json exists
* fabrics: fix 'persistent' handling during connect-all with JSON file
* fabrics: nvme config --modify depends on -n and -t argument
* fabrics: re-read the discovery log page when a discovery controller reconnected
* json: Support uint64 types serialization for older json-c versions
* nvme, plugins: fix __u64 -> unsigned long long assumptions
* nvme-print: Add missing values in id-ctrl for JSON output
* nvme-print: Handle NULL hostid in JSON output
* nvme-print: Output 128bit values as uint128 type instead of double
* nvme-print: Print fguid as a UUID
* nvme-print: Use uint128 JSON function for media_units_written
* nvme-print: decode MI status values
* nvme-print: decode status types
* nvme-print: fix wrong json key
* nvme: Add helper function to parse 16-bit comma separated list
* nvme: Add nvme_cmd wrapper for get_features
* nvme: Add show-topology command
* nvme: Add wrapper for Format NVM
* nvme: Add wrapper for Sanitize NVM
* nvme: Add wrappers for Get Log page helpers
* nvme: Add wrappers for Identify controller lists
* nvme: Add wrappers for NS attach/detach
* nvme: Add wrappers for NS management functions
* nvme: Add wrappers for basic NS identify
* nvme: Add wrappers for firmware commands
* nvme: Fix set feature command to get feature identifier 0Dh length as zero
* nvme: Introduce a union in struct nvme_dev for different transport types
* nvme: Introduce nvme_cli_ wrappers, wrap identify and identify_ctrl
* nvme: Make static nvme_dev private to open_dev(), use locals elsewhere
* nvme: Masks SSTAT in sanize-log output
* nvme: Remove static nvme_dev, allocate on open instead
* nvme: Use correct print format specifier for sizeof arguments
* nvme: Use local struct nvme_dev for show_registers & map_registers
* nvme: check if cfg.metadata is NULL before passing it to strlen()
* nvme: use helpers for checking status types
* plugins/innogrit: Include timer.h
* plugins/innogrit: add smart items for smart-log-add
* plugins/micron-nvme: Use correct print format specifier for sizeof arguments
* plugins/ocp: Include timer.h
* plugins/ocp: Output 128bit values as uint128 type instead of double
* plugins/ocp: pass struct nvme_dev to internal functions
* plugins/seagate: Add support for OCP
* plugins/toshiba: pass struct nvme_dev rather than fd + name
* plugins/virtium: Output 128bit values as uint128 type instead of double
* plugins/wdc: Add support for SN660 drive
* plugins/wdc: Add type case for feature id
* plugins/wdc: Output 128bit values as uint128 type instead of double
* plugins/wdc: pass a struct nvme_dev around rather than a fd
* plugins/wdc: pass struct nvme_dev rather than using global nvme_dev
* plugins/ytmc: pass struct nvme_dev rather than fd + name
* plugins: Use PRIu64 format specifier for 64bit types
* print: Add Controller Ready Timeout Exceeded HW error code
* solidgm: fix initialization warning
* solidigm: Added parsing for telemetry customer screenable data
* solidigm: Fix printf format for size_t variable
* solidigm: Updated Telemetry parsing code to MIT license.
* subprojects/libnvme: update for MI admin command coverage
* tests: Update license to GPL-2.0-or-later
* tree: Add NVMe-MI support
* tree: Add dev_fd() helper
* tree: Change nvme_dev from global to static
* tree: Combine NVMe file descriptor into struct nvme_dev
* tree: Move global device info to a single struct
* tree: fail on non-negative return values from parse_and_open
* udev: Add HOST_IFACE to udev rule
* util/json.h: Add json_object_get_uint64 fallback implementation
* util/json: Add 128 bit JSON helpers
* util/types: Add 128 bit conversion helpers
* util: Fix le128_to_cpu on big-endian
* util: Fix le128_to_cpu on little-endian
* util: Move common type conversion helpers into util section
* utils/json: Add json_object_new_uint64 for json-c < 0.14
* utils: Fix uint128_t usage
* wdc: OCP Log page updates and fixes
* zns.c: report zones should be started after retrieved zone
- Handle suse-missing-rclink lint warnings by providing the symlinks
- Drop rpmlintrc as it is not needed anymore
OBS-URL: https://build.opensuse.org/request/show/1033046
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=131
- Update to version 2.1.2:
* build: Update version to v2.1.2
* wrapper: Update SPDIX license
* wrapper: Call library version of nvme_init_copy_range_f1
* Revert "udev: re-read the discovery log page when a discovery controller reconnected"
* nvme: Simplify ns list identify
* meson: we don't need a c++ compiler
* plugins/ocp: drop unused fd argument
* plugins/wdc: remove fd argument from print functions
* plugins/wdc: fix memset() on the address of a pointer
* plugins/solidigm: fix return value on format parse failure
* plugins/wdc: prevent duplicate close on NVMe device
OBS-URL: https://build.opensuse.org/request/show/997603
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=124
- Update to version v2.1:
* nvme: Do not print error message in collect_effects_log helper
* fabrics: Remove dhchap-ctrl-secret from discover/connect-all
* nvme-print: sanitize the get-feature async event config output
* nvme: Set default rae value for nvme_get_nsid_log users
* fabrics: Avoid nvme_scan_ctrl when disconnecting
* print: Fix nvme_id_uuid_list
OBS-URL: https://build.opensuse.org/request/show/992455
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=121
- Update to version 2.0:
* fabrics: Create persistent controller using unique subsystem NQN (bsc#1198243)
* fabrics: Set KATO for discovery controller when connecting
* fabrics: Do no modify default config for discovery controller
* fabrics: Set default trsvcid ports for TCP and RDMA (bsc#1195858)
* fabrics: Support connect even when no /etc/nvme/hostnqn file exists
* nvme: update to nvme_scan_filter_t modifications (bsc#1195938)
* plugins/intel: make 'buckets' a json array
* plugins: Update WDC capabilities command with new commmands
* plugins: Add OCP plugin
OBS-URL: https://build.opensuse.org/request/show/967888
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=117
- Update to version 2.0-rc8:
* fabrics: Add DIM command
* fabrics: Introduce force flag to overwrite persistence logic (bsc#1197076)
* fabrics: Free non-matching controller during discovery
* fabrics: add 'nvme config' command
* fabrics: Correctly stringify discovery.conf and config.json paths
* nvme-print: Add human readable print for nsattr field
* nvme-print: Update Persistent Event log fields
* nvme-print: print discovery async event support
* nvme-rpmb: Fix spelling for 'Partition'
* nvme-copy: add missing field to the command
* nvme: add get_mi_cmd_support_effects_log command
* nvme: Fixup namespace filtering yet again
* nvme: Use type bool for OPT_FLAG
* nvme: use filter for 'list-subsys <devname>' (bsc#1195938)
* Add lbstm option to create-ns
* argconfig: Do not use default value loading by getopt_long_only
* argconfig: Rename CFG_NONE to CFG_FLAG
* plugins: Use type bool for OPT_FLAG
* documenation updates
- Drop 'ProtectKernelTunables=true' (bsc#1197076)
OBS-URL: https://build.opensuse.org/request/show/966436
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=115
- Update to version 2.0-rc7:
* netapp-nvme: fix smdevices segfault in json output (bsc#1195937)
* fabrics: keep the backward compatibility
* nvme: Do not slash escape strings in JSON output (bsc#1195937)
* nvme: Print full device path
* nvme-print: Make JSON keys consistent with nvme-cli 1.x
* nvme-print: print generic device in list command
* fabrics: check for discovery controller instead of subsystem NQN (bsc#1197061)
* connect: Set errno to zero on nvmf_add_ctrl() success
* documenation updates
- Set path to systemctl via newly introduced config option
- Update 0100-harden_nvmf-connect@.service.patch due to upstream file rename
- Moved bash completion script to /usr/share/bash-completion/completions/nvme
OBS-URL: https://build.opensuse.org/request/show/962943
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=111
- Update to version v2.0-rc3:
* nvme-print: Fix json output for list-subsys
* nvme: Allow --verbose flag to increase log level
* Added telemetry log fetch support for SN810, SN530 and SN740 series NVMe SSDs through wdc vs-internal-log command
* nvmf: Remove --matching from systemd service file (bsc#1195665)
* nvme: Fix --force flag inversion (bsc#1195637)
* nvme: Add support for data area 4 to get-telemetry-log
* nvme: Add Supported Capacity Configuration List log page(LID: 0x11)
* nvme: Add Enhanced Controller Meta Data(FID: 0x7D)
* nvme-print: Add NVME_FEAT_FID_ENH_CTRL_METADATA to nvme_feature_to_string
* nvme-print: remove unused nvme_show_id_ctrl function
* nvme: Add nvm-id-ns-lba-format(CNS 0Ah) command from TP4095
* nvme: Add NVM Command Set specific identify namespace command
* nvme: Add id-ns-lba-format(CNS 09h) command from TP4095
* nvme: Add nulbaf(Number of Unique Capability LBA Formats) field on nvmd_id_ns
- Include precompiled documentation
OBS-URL: https://build.opensuse.org/request/show/953754
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=104
- Update to version 1.16:
+ Print ProductName found even if subvendor/subdevice is unknown.
+ Add New fields on PEL based on NVMe 2.0a.
+ nvme-cli:
- Split media units written/read into hi/lo 64 bit fields.
- Add support for new SN650 device.
- Update WDC pluging version to 1.15.3.
- fix the [data|mdata]_len param (boo#1193547).
- Add support for C3/Latency Monitor Log page parsing.
- ctrl-loss-tmo should accept -1 as value.
+ nvme: add spinup control feature (fid=0x1A).
+ nvme: Add Identify for CNS 08h NVMe spec 2.0a based.
+ nvme: add boot partition log support.
+ nvme: add support for fid supported and effects log(lid =
0x12).
+ add identify endurance group list (cns 0x19) support.
+ add json support for zns report zones.
+ fabrics: fix 'nvme discover' segfault if sysfs path is not
available.
OBS-URL: https://build.opensuse.org/request/show/937405
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=98
- update to 1.15
* add NVMe MI features
* add uuid index in get and set features command
* nvme-cli: Add lsi option for get-log command
* nvme: add json output format for list_ns
* fabrics: add fast_io_fail_tmo option
* fabrics: add --host-iface option
* nvme: add latency parameter for passthru commands
* nvme: add optional copy format support id ctrl field
* nvme: add zone desc changed notice async event
* nvme: add json, binary and human readable output format for id iocs
* fabrics: print device name on connect
* nvme: add get log page 2.0 spec fields
* nvme: add the status codes from 2.0 spec
* zns: add timeout parameter for Zone Management Commands
* nvme: add CDW2 and CDW3 support for Write Zeroes and Verify Command
* nvme: add Storage Tag Check field in NVM Commands
* bash: updated completion support for latest commands and plugins
* nvme: add capacity management command support
* add identify CNS 0x18 domain list support
OBS-URL: https://build.opensuse.org/request/show/912907
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=95