mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-27 04:54:41 +08:00
ace7f46ba5
The QLogic FastLinQ Driver for iSCSI (qedi) is the iSCSI specific module for 41000 Series Converged Network Adapters by QLogic. This patch consists of following changes: - MAINTAINERS Makefile and Kconfig changes for qedi, - PCI driver registration, - iSCSI host level initialization, - Debugfs and log level infrastructure. The following indiviual changes are merged into this commit: qedi: Add LL2 iSCSI interface for offload iSCSI. qedi: Add support for iSCSI session management. qedi: Add support for data path. Signed-off-by: Nilesh Javali <nilesh.javali@cavium.com> Signed-off-by: Adheer Chandravanshi <adheer.chandravanshi@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@cavium.com> Signed-off-by: Arun Easi <arun.easi@cavium.com> Signed-off-by: Manish Rangankar <manish.rangankar@cavium.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
53 lines
1.1 KiB
C
53 lines
1.1 KiB
C
/*
|
|
* QLogic iSCSI Offload Driver
|
|
* Copyright (c) 2016 Cavium Inc.
|
|
*
|
|
* 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.
|
|
*/
|
|
#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__ */
|