]> www.infradead.org Git - users/sagi/libnvme.git/commit
libnvme: 64-bit Reference Tags and TP-4068 changes
authorBrandon Paupore <brandon.paupore@wdc.com>
Fri, 18 Mar 2022 22:03:56 +0000 (17:03 -0500)
committerDaniel Wagner <dwagner@suse.de>
Fri, 20 May 2022 08:17:00 +0000 (10:17 +0200)
commit9350e73e302a2dfaa3be9b964e6a9681c6740ff5
tree9f615ae49b54ae26624b40b2217e3963acd0216b
parent0b14eb6930fe612c904d1457ec50a780c18f5ab5
libnvme: 64-bit Reference Tags and TP-4068 changes

Adds support for expanded reference and storage tags, automatically
placing them into the appropriate bits based on Protection Information
Format and Storage Tag Size. This includes updates to nvme_io_args
expanding the size of the tags and adding these STS and PIF values.

Also adds a new copy range format as defined by the NVMe 2.0 spec, as it
determines the reference/storage tags associated to the range being
copied.

Signed-off-by: Brandon Paupore <brandon.paupore@wdc.com>
Signed-off-by: Jeff Lien <jeff.lien@wdc.com>
src/libnvme.map
src/nvme/ioctl.c
src/nvme/ioctl.h
src/nvme/types.h
src/nvme/util.c
src/nvme/util.h