xref: /spdk/module/event/subsystems/nvmf/event_nvmf.h (revision 98c3a9462776ef8ba36de773f8f637e1b2751c8e)
1 /*   SPDX-License-Identifier: BSD-3-Clause
2  *   Copyright (C) 2016 Intel Corporation.
3  *   All rights reserved.
4  *   Copyright (c) 2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
5  */
6 
7 #ifndef NVMF_TGT_H
8 #define NVMF_TGT_H
9 
10 #include "spdk/stdinc.h"
11 
12 #include "spdk/nvmf.h"
13 #include "spdk/queue.h"
14 
15 #include "spdk_internal/init.h"
16 #include "spdk/log.h"
17 
18 struct spdk_nvmf_admin_passthru_conf {
19 	bool identify_ctrlr;
20 };
21 
22 struct spdk_nvmf_tgt_conf {
23 	struct spdk_nvmf_target_opts opts;
24 	struct spdk_nvmf_admin_passthru_conf admin_passthru;
25 };
26 
27 extern struct spdk_nvmf_tgt_conf g_spdk_nvmf_tgt_conf;
28 
29 extern struct spdk_nvmf_tgt *g_spdk_nvmf_tgt;
30 
31 extern struct spdk_cpuset *g_poll_groups_mask;
32 
33 #endif
34