Spdk/test/unit/lib/nvmf
Changpeng Liu d8843dccc5 nvmf/reservation: register new registrant when IEKEY is enabled
The specification says:
"A host may replace its reservation key without regard to its registration
status or current reservation key value by setting the Ignore Existing Key
(IEKEY) bit to '1' in the Reservation Register command."

So for this case we treat it as a new registrant, also add UT to cover
the added cases.

Change-Id: I5990f15da36706063a35565d110ed4c6eb30a3f3
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8024
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2021-07-16 07:12:48 +00:00
..
ctrlr_bdev.c thread: Make the definition of struct spdk_io_channel private 2021-06-25 05:01:45 +00:00
ctrlr_discovery.c nvmf: remove a bdev_module.h #include 2021-05-11 11:57:01 +00:00
ctrlr.c thread: Make the definition of struct spdk_io_channel private 2021-06-25 05:01:45 +00:00
fc_ls.c nvmf/fc: Cleanup pollgroup and hwqp mapping logic. 2021-01-14 16:18:25 +00:00
fc.c mk/unit: link with trace library 2021-06-10 10:58:05 +00:00
rdma.c unittest/nvmf: test for nvmf_rdma_update_ibv_state 2021-07-13 09:01:14 +00:00
subsystem.c nvmf/reservation: register new registrant when IEKEY is enabled 2021-07-16 07:12:48 +00:00
tcp.c mk/unit: link with trace library 2021-06-10 10:58:05 +00:00
vfio_user.c nvme: map PRP and SGL lists RO 2021-07-13 16:53:42 +00:00
Makefile UT/nvmf/vfio-user: restore nvme_cmd_map UT in nvmf/vfio-user 2021-07-13 16:53:42 +00:00