162306a36Sopenharmony_ci/* 262306a36Sopenharmony_ci * cxgb4i.h: Chelsio T4 iSCSI driver. 362306a36Sopenharmony_ci * 462306a36Sopenharmony_ci * Copyright (c) 2010-2015 Chelsio Communications, Inc. 562306a36Sopenharmony_ci * 662306a36Sopenharmony_ci * This program is free software; you can redistribute it and/or modify 762306a36Sopenharmony_ci * it under the terms of the GNU General Public License as published by 862306a36Sopenharmony_ci * the Free Software Foundation. 962306a36Sopenharmony_ci * 1062306a36Sopenharmony_ci * Written by: Karen Xie (kxie@chelsio.com) 1162306a36Sopenharmony_ci * Written by: Rakesh Ranjan (rranjan@chelsio.com) 1262306a36Sopenharmony_ci */ 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci#ifndef __CXGB4I_H__ 1562306a36Sopenharmony_ci#define __CXGB4I_H__ 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ci#define CXGB4I_SCSI_HOST_QDEPTH 1024 1862306a36Sopenharmony_ci#define CXGB4I_MAX_CONN 16384 1962306a36Sopenharmony_ci#define CXGB4I_MAX_TARGET CXGB4I_MAX_CONN 2062306a36Sopenharmony_ci#define CXGB4I_MAX_LUN 0x1000 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci/* for TX: a skb must have a headroom of at least TX_HEADER_LEN bytes */ 2362306a36Sopenharmony_ci#define CXGB4I_TX_HEADER_LEN \ 2462306a36Sopenharmony_ci (sizeof(struct fw_ofld_tx_data_wr) + sizeof(struct sge_opaque_hdr)) 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci#define T5_ISS_VALID (1 << 18) 2762306a36Sopenharmony_ci 2862306a36Sopenharmony_ci#endif /* __CXGB4I_H__ */ 29