lib/nvmf: create an spdk_nvmf_target_opts struct
This will end up being the argument to spdk_nvmf_tgt_create. It will be necessary as we add more options for configuring the target. This is step 1 in moving the nvmf_rpc file under the nvmf library header. Change-Id: I2cb4b2c33f69a268077a3bdf581cec3c83524e8d Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/465328 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
This commit is contained in:
parent
7b3aec455b
commit
4ce77af64c
@ -63,6 +63,10 @@ struct spdk_nvmf_poll_group;
|
||||
struct spdk_json_write_ctx;
|
||||
struct spdk_nvmf_transport;
|
||||
|
||||
struct spdk_nvmf_target_opts {
|
||||
uint32_t max_subsystems;
|
||||
};
|
||||
|
||||
struct spdk_nvmf_transport_opts {
|
||||
uint16_t max_queue_depth;
|
||||
uint16_t max_qpairs_per_ctrlr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user