b68f2eeb0b
This patch adds the framework for a discovery service in the bdev/nvme module. Users can specify an IP/port of a discovery service. The bdev/nvme module will connect to a discovery controller, get the discovery log page, and then register for AERs. It will connect to each subsystem specified in the initial log page. AER completions will trigger fetching the log page again, at which point new subsystems will be connected to, or removed subsystems will be detached. This patch does the following: * Adds the new start_discovery RPC * Connects to the discovery controller * Gets the discovery log page * Registers for AERs * Detach from discovery controllers at shutdown Subsequent patches in this series will: * Connect to subsystems listed in discovery log page * Detach from subsystems that were listed in earlier discovery log pages but subsequently removed * Add a stop_discovery RPC Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I54bfa896a48c5619676f156b5ea9f2d1f886c72f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10694 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> |
||
---|---|---|
.. | ||
bash-completion | ||
bpf | ||
ceph | ||
perf | ||
pkgdep | ||
rpc | ||
spdkcli | ||
vagrant | ||
arm_cross_compile.sh | ||
bpftrace.sh | ||
check_format.sh | ||
common.sh | ||
core-collector.sh | ||
detect_cc.sh | ||
dpdk_mem_info.py | ||
eofnl | ||
fio-wrapper | ||
gdb_macros.py | ||
gen_ftl.sh | ||
gen_nvme.sh | ||
genconfig.py | ||
get-pmr | ||
histogram.py | ||
iostat.py | ||
lspci | ||
pc_libs.sh | ||
pc_modules.sh | ||
pc.sh | ||
pkgdep.sh | ||
posix.txt | ||
prep_benchmarks.sh | ||
qat_setup.sh | ||
rpc_http_proxy.py | ||
rpc.py | ||
rxe_cfg_small.sh | ||
setup.sh | ||
spdk-gpt.py | ||
spdkcli.py | ||
sync_dev_uevents.sh |