Commit Graph

35 Commits

Author SHA256 Message Date
Ana Guerrero
ee719c1a7d https://bugzilla.suse.com/show_bug.cgi?id=1213712
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=18
2023-07-27 12:13:24 +00:00
Ana Guerrero
f5e86317b0 Accepting request 1099915 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1099915
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=17
2023-07-26 11:21:36 +00:00
Dominique Leuenberger
a97697ff88 Accepting request 1076526 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1076526
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=16
2023-04-02 17:16:50 +00:00
Dominique Leuenberger
5a2ae642c4 Accepting request 1062069 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1062069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=15
2023-01-31 15:08:47 +00:00
Dominique Leuenberger
78e4d7dc47 Accepting request 1033047 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1033047
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=14
2022-11-03 18:13:45 +00:00
Dominique Leuenberger
9b12f652bb Accepting request 992454 from Base:System
OBS-URL: https://build.opensuse.org/request/show/992454
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=12
2022-08-04 11:22:52 +00:00
Richard Brown
a0ab7e0441 Accepting request 989207 from Base:System
OBS-URL: https://build.opensuse.org/request/show/989207
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=11
2022-07-21 09:32:43 +00:00
Dominique Leuenberger
4d31b12cf9 Accepting request 967889 from Base:System
OBS-URL: https://build.opensuse.org/request/show/967889
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=10
2022-04-10 17:05:25 +00:00
Dominique Leuenberger
4ae2c4c950 Accepting request 966439 from Base:System
OBS-URL: https://build.opensuse.org/request/show/966439
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=9
2022-04-03 19:30:42 +00:00
Dominique Leuenberger
c73954f8b1 Accepting request 962944 from Base:System
OBS-URL: https://build.opensuse.org/request/show/962944
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=8
2022-03-20 19:55:11 +00:00
Dominique Leuenberger
f3fc8b4066 Accepting request 961122 from Base:System
- Update to version 1.0-rc6:
  * tree: add nvme_ctrl_get_ana_state() (bsc#1195938)
  * tree: link paths to namespaces in nvme_subsystem_scan_namespace() (bsc#1195938)
  * ioctl.h: ns list bug fix (wrong cns value)
  * types.h: Key Value Command Set Identifier added (NVME_CSI_KV)
  * types: fix status code type bug (wrong masking)

OBS-URL: https://build.opensuse.org/request/show/961122
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=7
2022-03-14 18:35:07 +00:00
Dominique Leuenberger
65eb1d2808 Accepting request 959373 from Base:System
OBS-URL: https://build.opensuse.org/request/show/959373
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=5
2022-03-05 13:43:07 +00:00
Dominique Leuenberger
234ed0bc89 Accepting request 956834 from Base:System
OBS-URL: https://build.opensuse.org/request/show/956834
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=4
2022-02-23 15:25:56 +00:00
Dominique Leuenberger
bd49941e4e Accepting request 953755 from Base:System
OBS-URL: https://build.opensuse.org/request/show/953755
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=3
2022-02-13 18:50:27 +00:00
Dominique Leuenberger
fc53bb8338 Accepting request 950643 from Base:System
OBS-URL: https://build.opensuse.org/request/show/950643
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=2
2022-02-03 22:15:38 +00:00
Dominique Leuenberger
1265d08965 Accepting request 947390 from Base:System
OBS-URL: https://build.opensuse.org/request/show/947390
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnvme?expand=0&rev=1
2022-01-19 23:12:13 +00:00
Daniel Wagner
ad1ce60a0b Accepting request 1134173 from home:wagi:branches:Base:System
- Update to version 1.7.1+0.g13ba383:
  * tree: do no free ns on error in nvme_ns_init

- Update to version 1.7+0.gf38b1d7:
  * tree: do not open blk device on default
  * tree: read all attributes from sysfs when available
  * ioctl: set data length when retrieving LBA status
  * types: fix regression for vendor-specific field in nvme_id_ns
  * util: use cleanup functions
  * linux: use cleanup functions
  * json: use cleanup functions
  * fabrics: use cleanup functions
  * tree: use cleanup functions
  * cleanup: add cleanup functions
  * tree: fix incorrect return value
  * tree: Fix clearing application strings
  * libnvme: reshuffle nvme_generate_tls_key_identity()
  * libnvme: fixup error codes
  * libnvme: Implement 'nvme_generate_tls_key_identity()'
  * libnvme: support NVMe TLS identities version 1
  * libnvme: Add base64 functions
  * libnvme: separate out 'gen_tls_identity' and reshuffle 'derive_nvme_keys'
  * libnvme: separate out a function 'select_hmac'
  * libnvme: fix a memory leak when calling read_ssns()
  * libnvme: fix a memory leak in read_discovery()
  * fabrics: avoid redundant args in nvme_discovery_log()
  * fabrics: have nvmf_get_discovery_log() call nvmf_get_discovery_wargs()
  * fabrics: fetch smaller Discovery Log Page header
  * fabrics: avoid redundant Get Log Page on retry
  * fabrics: clear RAE for discovery log page commands

OBS-URL: https://build.opensuse.org/request/show/1134173
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=51
2023-12-20 10:19:58 +00:00
Lee Duncan
9d6075fe25 Accepting request 1118363 from home:mwilck:branches:Base:System
- Update to version 1.6+5.g68c6ffb:
  * avoid stack corruption by unaligned DMA to user space buffers
    (bsc#1216344, gh#linux-nvme/libnvme#727)

OBS-URL: https://build.opensuse.org/request/show/1118363
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=49
2023-10-18 20:28:49 +00:00
Daniel Wagner
f0a832ba71 Accepting request 1114408 from home:wagi:branches:Base:System
- Update to version 1.6:
  * docs: Fix Read-the-Docs configuration (deprecated config param)
  * mi-mctp: Fix free() in error path of mi_open_mctp
  * types: Use NVME_SET for status type mask to get status value
  * types: Define FLBAS MASK and SHIFT to use NVME_GET
  * types: Support Phy Rx Eye Opening Measurement Log
  * log: Add nvme root global variable to set for default output
  * types: Add support for the OAQD ID controller field
  * test: use non deprecated API
  * test: add tests for Get/Set Features functions
  * ioctl: implement nvme_set_features_lba_range()
  * ioctl: pass NSID in Get/Set Features commands that use it
  * ioctl: fix swapped parameters in nvme_set_features_host_id()
  * ioctl: export nvme_{g,s}et_features_iocs_profile()
  * ioctl: pass ENDGID in nvme_get_features_endurance_event_cfg()
  * ioctl: don't set SAVE bit on unsaveable features
  * ioctl: avoid sending uninitialized timestamp
  * ioctl: pass data for Get/Set Features commands
  * ioctl: set correct bits in Set Features commands
  * ioctl: correct feature IDs in Get/Set Features commands
  * tree: Add 2 new public functions to lookup existing controllers
  * ioctl: Add debugging feature to show command outputs
  * Fix incorrect article 'an' as 'a' to use for a description
  * linux: Added functions to enable faster telemetry data retrieval. Moved telemetry data area support detection into separate function. Added possibility to modify data transfer chunk size. Enable telemetry extraction up to specified data area. Removed some printf() and perror().
  * test: account for discovery log page entry stripping
  * fabrics: unconditionally strip discovery entry strings
  * fabrics: only look for spaces in strchomp()
  * tree: Use early return instead of else statements
  * test: fix lookup test case
  * test: make all function static

OBS-URL: https://build.opensuse.org/request/show/1114408
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=40
2023-09-29 16:19:18 +00:00
OBS User buildservice-autocommit
38d57886ed Updating link to change in openSUSE:Factory/libnvme revision 18
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=76766d9664e151b0393db6522529caaf
2023-07-27 12:13:24 +00:00
Daniel Wagner
3a342953a8 Accepting request 1098394 from home:wagi:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/1098394
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=35
2023-07-12 16:09:51 +00:00
Daniel Wagner
ed40e04f90 Accepting request 1076523 from home:wagi:branches:Base:System
- Update to version 1.4:
  * fabrics: Filter out invalid UUIDs from DMI
  * fabrics: Add define for DMI sysinfo
  * Print out correct TREQ strings for discovery
  * tree: fix generic device open failure
  * fabrics: add configuration option 'tls_key'
  * fabrics: add configuration option 'keyring'
  * linux: add key helper functions
  * nvme: add 'nvme_insert_tls_key()' function
  * linux: add nvme_lookup_keyring()
  * python: Change python option from combo to feature
  * types: add opcode field to error log page (TP4113)
  * python: Add setter property for controller DHCHAP Key
  * python: Remove redundant host.set_key() method
  * build, meson: Print option summary
  * Python: Add support for setting/getting Host DHCHAP key
  * Python: Add hostnqn_from_file() and hostid_from_file()
  * types: Update position of elbatm in struct nvme_copy_range{_f1}
  * doc: fix kernel-doc-check warning
  * python, meson: Assert that deps are present for -Dpython=true
  * python: Reformat SWIG input file
  * python test: Check there is no SIGSEGV during garbage collection
  * python: Return PyObject* from __str__() instead of a static char[]
  * python: Fix segmentation fault during garbage collection
  * build: Enable test in muon minimal build
  * build: Streamline workflows with nvme-cli
  * mi: Add nvme_mi_admin_get_log_page
  * ioctl: Set file descriptor in nvme_get_log_page()
  * fix endians
  * fabrics: Do not ignore one char whitespace when string sanitizing

OBS-URL: https://build.opensuse.org/request/show/1076523
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=33
2023-03-31 16:01:20 +00:00
Daniel Wagner
ba23671b6b Accepting request 1062067 from home:wagi:branches:Base:System
- Update to version 1.3:
 * Support added for Flexible Data Placement (TP4146)
 * Fabrics: added support for Persistent Discovery Controllers.
 * libnvme-mi added a quirk framework to workaround special behavior of
   certain devices
 * The python binding behaves more friendly in a threading environment
   by release the GIL on blocking calls.
 * Replaced  3the libsystemd dependency with libdbus
 * A lot of small fixes everywhere (leaks, wrong ordering of arguments, ...)
- Update spec file
  * Project depends on meson >= 0.50.0

OBS-URL: https://build.opensuse.org/request/show/1062067
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=31
2023-01-30 14:36:03 +00:00
Daniel Wagner
b0820117a5 Accepting request 1033045 from home:wagi:branches:Base:System
- Update to version 1.2:
  * Add more details for return code of MI admin cmds
  * Parse dhchap_host_key on controller level
  * Update json config schema for missing dhchap host key
  * fabrics: Add new TP8010 definitions
  * fabrics: Add nvmf_get_discovery_wargs()
  * fabrics: Duplicate strings when merging configs
  * fabrics: Filter out empty strings in add_argument()
  * fabrics: Use fallthrough statement
  * ioctl: Set log page offset for nvme_get_log_telemetry_host
  * json-schema: add dhchap_key details to host section
  * json: Enforce correctly formatted JSON config files
  * json: Verify JSON config file starts with an array
  * mi: Add Get Log Page helpers
  * mi: Add Identify function for secondary controller list
  * mi: Add Identify helper for ns-descs and primary-ctrl-caps
  * mi: Add firmware download and commit commands
  * mi: Add identify helper for nsid-capable Controller List
  * mi: Add identify helpers for namespace lists
  * mi: Add identify helpers for namespaces
  * mi: Allow Admin-message sized More Processing Required responses
  * mi: Distinguish MI status from NVMe (CDW3) status
  * mi: Fix C++ compiler errors
  * mi: Implement Format NVM command
  * mi: Implement Get & Set Features Admin commands
  * mi: Implement NS attach command and helpers
  * mi: Implement Namespace Management command and create/delete helpers
  * mi: Implement Sanitize command
  * mi: Init ctrl_id within xfer
  * mi: Introduce a helper for response status, unify values with ioctls
  * mi: Set log page offset for nvme_get_log_telemetry_host
  * mi: add nvme_mi_status_to_string()
  * mi: fix a memory leak in nvme_mi_open_mctp()
  * mi: fix get_log_page chunked offset check
  * nvme-tree: avoid segfault if auth keys are unavailable
  * python: Use nvmf_get_discovery_wargs()
  * tree: rename controller 'dhchap_key' to 'dhchap_ctrl_key'
  * types: Move enum nvme_data_tfr to types
  * util: Add LINE_MAX define
  * util: Add get feature length 2 API to support direction parameter
  * util: Add simple UUID type
  * util: Do not expose fallthrough defines
- Make man page build conditiional. Install man page location has been
  fixed upstream.
- Mark the Python directory own by the libnvme3-python package

OBS-URL: https://build.opensuse.org/request/show/1033045
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=29
2022-11-03 11:32:15 +00:00
Daniel Wagner
f72869a105 Accepting request 992385 from home:dirkmueller:Factory
- Update to version 1.1:
  * Regenerate all documentation
  * json: fixup dhchap_ctrl_key definitions
  * fabrics: Fix build_options() return values
  * fabrics: sanitize dump-config output
  * Fix poll.h includes
  * build: Drop -nostdinc for LibreSSL header checks
  * ioctl: Honor rae in nvme_get_nsid_log
  * build: Add support to build against LibreSSL
  * rpmbuild: Enable 'make rpm' to build rpm pkgs #408
  * mi: unify MI Get Log Page function with ioctl API
  * python: add missing ctrl attrs to Python bindings
  * mi-mctp: Add timeout support to MCTP transport
  * mi: Add maximum More Processing Required limit API
  * mi: Add endpoint get/set timeout API

OBS-URL: https://build.opensuse.org/request/show/992385
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=24
2022-08-03 07:14:41 +00:00
Daniel Wagner
8e53790b74 Accepting request 989204 from home:wagi:branches:Base:System
- Update to version v1.1-rc0:
  * update/cleanup of documentation
  * various build fixes
  * various fixes reported by coverity
  * 64-bit Reference Tags and TP-4068 changes
  * libnvme-mi: Introduce NVMe Managament Interface library

OBS-URL: https://build.opensuse.org/request/show/989204
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=22
2022-07-14 15:26:26 +00:00
Daniel Wagner
550d41faa2 Accepting request 967887 from home:wagi:branches:Base:System
- Update to version 1.0:
  * tree: Remove default port setting for TCP and RDMA ports
  * tree: add 'f_args' argument to pass user data to the filter function
  * tree: remove 'ctrl_get_ana_state()'
  * tree: add namespace path iterators
  * tree: filter out namespaces
  * tree: update nvme_scan_filter_t usage

OBS-URL: https://build.opensuse.org/request/show/967887
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=20
2022-04-08 17:20:51 +00:00
Daniel Wagner
7b866e3bf7 Accepting request 966437 from home:wagi:branches:Base:System
- Update to version 1.0-rc8:
  * types: Add support for get log - MI Command Supported
  * types: Add new Identify constant
  * types: Update persistent event entry struct added new fields
  * types: Add Host Initiated Data Gen Number to telemetry log struct
  * tree: always allocate config file in nvme_read_config()
  * tree: rework nvme_scan_subsystem()
  * tree: make subsystem name mandatory in nvme_scan_ctrl()
  * tree: move nvme_init_subsystem() into nvme_lookup_subsystem()
  * tree: do not return error when filtering out subsystems
  * tree: add debugging messages during scanning
  * tree: Handle NULL subsysname in nvme_scan_ctrl()
  * tree: Fix subsystem initialization in nvme_scan_ctrl()
  * tree: Fix leaking 'name' in nvme_subsystem_lookup_namespace()
  * tree: Avoid dereferencing nvme_subsystem_t before its check for NULL
  * tree: Clarify NULL return values from nvme_get_attr()
  * fabrics: Invoke nvmf_dim() with provided tas argument
  * fabrics: add 'nvmf_update_config()'
  * fabrics: Avoid out of bounds string chomping
  * fabrics: Free old traddr in nvmf_add_ctrl
  * fabrics: update log level for write failures
  * fabrics: Streamlining documentation
  * fabrics: Fix leaking ctrl in nvmf_connect_disc_entry()
  * fabrics: Add missing break in a switch
  * ioctl: Remove attribute packed and alignedof for args structs
  * ioctl: Align arguments indentation with braces
  * json: fix endless loop scanning for controllers
  * Remove nvme_init_id_ns
  * Add lbstm support for create-ns
  * documentation updates

OBS-URL: https://build.opensuse.org/request/show/966437
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=18
2022-04-01 13:45:07 +00:00
Daniel Wagner
268e9face7 Accepting request 962942 from home:wagi:branches:Base:System
- Update to version 1.0-rc7:
  * linux: fixup log page offset in nvme_get_log_page()
  * tree: Add support for default trsvcid for all controllers (bsc#1195858)
  * tree: fixup coredump during nvme discover

OBS-URL: https://build.opensuse.org/request/show/962942
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=16
2022-03-18 19:45:45 +00:00
Daniel Wagner
4996ba8c60 - Update to version 1.0-rc6:
* tree: add nvme_ctrl_get_ana_state()
  * tree: link paths to namespaces in nvme_subsystem_scan_namespace()
  * ioctl.h: ns list bug fix (wrong cns value)
  * types.h: Key Value Command Set Identifier added (NVME_CSI_KV)
  * types: fix status code type bug (wrong masking)

OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=13
2022-03-11 18:00:39 +00:00
Daniel Wagner
ed72b91977 Accepting request 959371 from home:wagi:branches:Base:System
- Update to version 1.0-rc5:
  * ioctl: Set lsp to action in nvme_get_log_persistent_event (bsc#1196121)
  * tree: Ignore traddr case in nvme_lookup_ctrl() (bsc#1194025)
  * fabrics: Do not swap bytes for system uuid (bsc#1196565)
  * documentation updates

OBS-URL: https://build.opensuse.org/request/show/959371
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=9
2022-03-04 10:41:17 +00:00
Daniel Wagner
367e180c00 Accepting request 956832 from home:wagi:branches:Base:System
- Update to version 1.0-rc4:
  * fabrics: add default port number for NVMe/TCP I/O controllers
  * linux: Update size when telemetry controller initiated data is unavailable
  * add cdw13 for set_feature_args structure
  * Add support for TP8010
  * Documentation cleanups

OBS-URL: https://build.opensuse.org/request/show/956832
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=8
2022-02-22 17:52:56 +00:00
Daniel Wagner
30378f393f Accepting request 953753 from home:wagi:branches:Base:System
- Update to version v1.0-rc3:
  * Properly create manuals/documentation
  * Fix memleaks in __nvme_free_ns() and nvme_scan_subsystem()
  * nvme: get log domain id included in Log Specific Identifier
  * nvme: Add nulbaf(Number of Unique Capability LBA Formats) field on nvmd_id_ns
  * ioctl: Add identify ioctl for CNS 09h, 0Ah
  * nvme: Add Enhanced Controller Meta Data(FID: 0x7D)
  * nvme: Add Supported Capacity Configuration List log page(LID: 0x11)
  * tree: do not set dhchap_key to 'none'
  * tree: restart controller lookup
  * tree: fixup memory leak in nvme_scan_ctrl()
  * Rename nvme_path_get_subsystem()
  * Remove nvme_reset_topology()
- Use precompiled documentation instead regenerating it

OBS-URL: https://build.opensuse.org/request/show/953753
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=7
2022-02-11 14:40:28 +00:00
Daniel Wagner
d87677c0be Accepting request 950641 from home:wagi:branches:Base:System
- Update to version 1.0~2:
  * Add fabrics config option 'tls'
  * Logging infrastructure reworked (API break)
  * Changed argument structs layout (API break)
  * Changed scan API (API break)
  * Fixed ctrl_loss_tmo handling concerning values of '-1'
  * Various build fixes

OBS-URL: https://build.opensuse.org/request/show/950641
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=6
2022-02-02 06:30:37 +00:00
Daniel Wagner
4b5a71b0d0 Accepting request 947238 from home:wagi
- Use osc_scm to manage upstream input source.

OBS-URL: https://build.opensuse.org/request/show/947238
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=3
2022-01-18 14:34:33 +00:00