18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * cxgb4i.h: Chelsio T4 iSCSI driver. 38c2ecf20Sopenharmony_ci * 48c2ecf20Sopenharmony_ci * Copyright (c) 2010-2015 Chelsio Communications, Inc. 58c2ecf20Sopenharmony_ci * 68c2ecf20Sopenharmony_ci * This program is free software; you can redistribute it and/or modify 78c2ecf20Sopenharmony_ci * it under the terms of the GNU General Public License as published by 88c2ecf20Sopenharmony_ci * the Free Software Foundation. 98c2ecf20Sopenharmony_ci * 108c2ecf20Sopenharmony_ci * Written by: Karen Xie (kxie@chelsio.com) 118c2ecf20Sopenharmony_ci * Written by: Rakesh Ranjan (rranjan@chelsio.com) 128c2ecf20Sopenharmony_ci */ 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci#ifndef __CXGB4I_H__ 158c2ecf20Sopenharmony_ci#define __CXGB4I_H__ 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci#define CXGB4I_SCSI_HOST_QDEPTH 1024 188c2ecf20Sopenharmony_ci#define CXGB4I_MAX_CONN 16384 198c2ecf20Sopenharmony_ci#define CXGB4I_MAX_TARGET CXGB4I_MAX_CONN 208c2ecf20Sopenharmony_ci#define CXGB4I_MAX_LUN 0x1000 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci/* for TX: a skb must have a headroom of at least TX_HEADER_LEN bytes */ 238c2ecf20Sopenharmony_ci#define CXGB4I_TX_HEADER_LEN \ 248c2ecf20Sopenharmony_ci (sizeof(struct fw_ofld_tx_data_wr) + sizeof(struct sge_opaque_hdr)) 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci#define T5_ISS_VALID (1 << 18) 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci#endif /* __CXGB4I_H__ */ 29