Linux 4.18.10
[linux/fpc-iii.git] / drivers / scsi / qedi / qedi_hsi.h
blob8ca44c78f0936301b97bd332d0ec7afb5c1d9ce1
1 /*
2 * QLogic iSCSI Offload Driver
3 * Copyright (c) 2016 Cavium Inc.
5 * This software is available under the terms of the GNU General Public License
6 * (GPL) Version 2, available from the file COPYING in the main directory of
7 * this source tree.
8 */
9 #ifndef __QEDI_HSI__
10 #define __QEDI_HSI__
12 * Add include to common target
14 #include <linux/qed/common_hsi.h>
17 * Add include to common storage target
19 #include <linux/qed/storage_common.h>
22 * Add include to common TCP target
24 #include <linux/qed/tcp_common.h>
27 * Add include to common iSCSI target for both eCore and protocol driver
29 #include <linux/qed/iscsi_common.h>
32 * iSCSI CMDQ element
34 struct iscsi_cmdqe {
35 __le16 conn_id;
36 u8 invalid_command;
37 u8 cmd_hdr_type;
38 __le32 reserved1[2];
39 __le32 cmd_payload[13];
43 * iSCSI CMD header type
45 enum iscsi_cmd_hdr_type {
46 ISCSI_CMD_HDR_TYPE_BHS_ONLY /* iSCSI BHS with no expected AHS */,
47 ISCSI_CMD_HDR_TYPE_BHS_W_AHS /* iSCSI BHS with expected AHS */,
48 ISCSI_CMD_HDR_TYPE_AHS /* iSCSI AHS */,
49 MAX_ISCSI_CMD_HDR_TYPE
52 #endif /* __QEDI_HSI__ */