Jim Harris b68f2eeb0b bdev_nvme: add bdev_nvme_start_discovery RPC
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>
2022-01-10 15:23:39 +00:00
..
2021-12-02 15:41:33 +00:00
2021-09-08 21:53:48 +00:00
2021-08-26 19:27:22 +00:00
2021-09-08 21:53:48 +00:00
2021-08-26 19:27:22 +00:00
2021-09-08 21:53:48 +00:00
2021-09-08 21:53:48 +00:00
2021-08-26 19:27:22 +00:00
2021-12-02 15:41:33 +00:00
2021-08-26 19:27:22 +00:00
2021-09-08 21:53:48 +00:00
2021-11-30 09:05:19 +00:00
2018-12-10 15:56:50 +00:00
2021-08-26 19:27:22 +00:00
2021-08-26 19:27:22 +00:00
2021-08-26 19:27:22 +00:00
2021-11-30 09:05:19 +00:00
2021-11-30 09:05:19 +00:00
2021-09-08 21:53:48 +00:00
2021-08-26 19:27:22 +00:00
2021-08-26 19:27:22 +00:00
2021-09-08 21:53:48 +00:00
2021-03-18 14:43:08 +00:00
2021-08-26 19:27:22 +00:00
2021-08-26 19:27:22 +00:00
2021-08-26 19:27:22 +00:00
2021-09-08 21:53:48 +00:00
2021-09-08 21:53:48 +00:00
2021-08-26 19:27:22 +00:00
2021-08-26 19:27:22 +00:00
2021-08-05 07:42:35 +00:00
2021-11-30 09:05:19 +00:00
2021-11-30 09:05:19 +00:00
2021-01-04 16:28:01 +00:00
2021-09-08 21:53:48 +00:00
2021-06-08 08:27:15 +00:00
2021-08-26 19:27:22 +00:00
2021-08-26 19:27:22 +00:00
2021-08-26 19:27:22 +00:00
2021-08-26 19:27:22 +00:00

SPDK Documentation

The current version of the SPDK documentation can be found online at http://www.spdk.io/doc/

Building the Documentation

To convert the documentation into HTML run make in the doc directory. The output will be located in doc/output/html. Before running make ensure all pre-requisites are installed. See Installing Prerequisites for more details.