mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-17 07:54:54 +08:00
3287e96af0
Based on 1 normalized pattern(s): this software is available under the terms of the gnu general public license gpl version 2 available from the file copying in the main directory of this source tree extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 35 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190531190115.411886531@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
50 lines
955 B
C
50 lines
955 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* QLogic iSCSI Offload Driver
|
|
* Copyright (c) 2016 Cavium Inc.
|
|
*/
|
|
#ifndef __QEDI_HSI__
|
|
#define __QEDI_HSI__
|
|
/*
|
|
* Add include to common target
|
|
*/
|
|
#include <linux/qed/common_hsi.h>
|
|
|
|
/*
|
|
* Add include to common storage target
|
|
*/
|
|
#include <linux/qed/storage_common.h>
|
|
|
|
/*
|
|
* Add include to common TCP target
|
|
*/
|
|
#include <linux/qed/tcp_common.h>
|
|
|
|
/*
|
|
* Add include to common iSCSI target for both eCore and protocol driver
|
|
*/
|
|
#include <linux/qed/iscsi_common.h>
|
|
|
|
/*
|
|
* iSCSI CMDQ element
|
|
*/
|
|
struct iscsi_cmdqe {
|
|
__le16 conn_id;
|
|
u8 invalid_command;
|
|
u8 cmd_hdr_type;
|
|
__le32 reserved1[2];
|
|
__le32 cmd_payload[13];
|
|
};
|
|
|
|
/*
|
|
* iSCSI CMD header type
|
|
*/
|
|
enum iscsi_cmd_hdr_type {
|
|
ISCSI_CMD_HDR_TYPE_BHS_ONLY /* iSCSI BHS with no expected AHS */,
|
|
ISCSI_CMD_HDR_TYPE_BHS_W_AHS /* iSCSI BHS with expected AHS */,
|
|
ISCSI_CMD_HDR_TYPE_AHS /* iSCSI AHS */,
|
|
MAX_ISCSI_CMD_HDR_TYPE
|
|
};
|
|
|
|
#endif /* __QEDI_HSI__ */
|