+5
−0
+13
−11
+23
−0
+27
−0
+16
−0
Loading
For Linux kernel version >= 5.13, when host connects the admin queue successfully, it will call nvme_init_non_mdts_limits() to post a NVME_ID_CNS_CS_CTRL identify cmd and init max discard size with dmrl, dmrsl and max write_zeroes size with wzsl in response. So we add the NVME_ID_CNS_CS_CTRL identify cmd handler in the nvmf target side and add two new parameters to RPC nvmf_create_subsystem. Change-Id: Ib72d6caa34fced68d63df9c01760a58effa5ca34 Signed-off-by:Haoqian He <haoqian.he@smartx.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19632 Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Community-CI: Mellanox Build Bot Reviewed-by:
Jim Harris <jim.harris@samsung.com> Reviewed-by:
Ben Walker <ben@nvidia.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>