+36
−0
+5
−2
lib/nvme/nvme_discovery.c
0 → 100644
+200
−0
+1
−0
Loading
This API is a helper for getting the full discovery log page from a discovery controller. It will read the log page header to get the total number of entries, allocate a buffer for all of the entries, and then issue a series of get_log_page commands to read each 4KiB worth of entries. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: I02666ef5adcb9fc8825a221655811ace708f97b8 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10564 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>