^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) * cxgb4i.h: Chelsio T4 iSCSI driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) * Copyright (c) 2010-2015 Chelsio Communications, Inc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) * This program is free software; you can redistribute it and/or modify
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) * it under the terms of the GNU General Public License as published by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) * the Free Software Foundation.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) * Written by: Karen Xie (kxie@chelsio.com)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) * Written by: Rakesh Ranjan (rranjan@chelsio.com)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #ifndef __CXGB4I_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #define __CXGB4I_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #define CXGB4I_SCSI_HOST_QDEPTH 1024
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) #define CXGB4I_MAX_CONN 16384
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #define CXGB4I_MAX_TARGET CXGB4I_MAX_CONN
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #define CXGB4I_MAX_LUN 0x1000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) /* for TX: a skb must have a headroom of at least TX_HEADER_LEN bytes */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) #define CXGB4I_TX_HEADER_LEN \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) (sizeof(struct fw_ofld_tx_data_wr) + sizeof(struct sge_opaque_hdr))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) #define T5_ISS_VALID (1 << 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) #endif /* __CXGB4I_H__ */