Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / target / tcm_remote / tcm_remote.h
blob913d1a6eb3a2277fddf9fcba3a27d23bedc7b62e
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <linux/types.h>
3 #include <linux/device.h>
5 #define TCM_REMOTE_VERSION "v0.1"
6 #define TL_WWN_ADDR_LEN 256
7 #define TL_TPGS_PER_HBA 32
9 struct tcm_remote_tpg {
10 unsigned short remote_tpgt;
11 struct se_portal_group remote_se_tpg;
12 struct tcm_remote_hba *remote_hba;
15 struct tcm_remote_hba {
16 u8 remote_proto_id;
17 unsigned char remote_wwn_address[TL_WWN_ADDR_LEN];
18 struct tcm_remote_tpg remote_hba_tpgs[TL_TPGS_PER_HBA];
19 struct se_wwn remote_hba_wwn;