WIP FPC-III support
[linux/fpc-iii.git] / drivers / scsi / qedi / qedi_hsi.h
blobd82ab99acb042b2356101ad9d76384052b5de241
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * QLogic iSCSI Offload Driver
4 * Copyright (c) 2016 Cavium Inc.
5 */
6 #ifndef __QEDI_HSI__
7 #define __QEDI_HSI__
8 /*
9 * Add include to common target
11 #include <linux/qed/common_hsi.h>
14 * Add include to common storage target
16 #include <linux/qed/storage_common.h>
19 * Add include to common TCP target
21 #include <linux/qed/tcp_common.h>
24 * Add include to common iSCSI target for both eCore and protocol driver
26 #include <linux/qed/iscsi_common.h>
29 * iSCSI CMDQ element
31 struct iscsi_cmdqe {
32 __le16 conn_id;
33 u8 invalid_command;
34 u8 cmd_hdr_type;
35 __le32 reserved1[2];
36 __le32 cmd_payload[13];
40 * iSCSI CMD header type
42 enum iscsi_cmd_hdr_type {
43 ISCSI_CMD_HDR_TYPE_BHS_ONLY /* iSCSI BHS with no expected AHS */,
44 ISCSI_CMD_HDR_TYPE_BHS_W_AHS /* iSCSI BHS with expected AHS */,
45 ISCSI_CMD_HDR_TYPE_AHS /* iSCSI AHS */,
46 MAX_ISCSI_CMD_HDR_TYPE
49 #endif /* __QEDI_HSI__ */