29 lines · c
1/*2 * cxgb4i.h: Chelsio T4 iSCSI driver.3 *4 * Copyright (c) 2010-2015 Chelsio Communications, Inc.5 *6 * This program is free software; you can redistribute it and/or modify7 * it under the terms of the GNU General Public License as published by8 * the Free Software Foundation.9 *10 * Written by: Karen Xie (kxie@chelsio.com)11 * Written by: Rakesh Ranjan (rranjan@chelsio.com)12 */13 14#ifndef __CXGB4I_H__15#define __CXGB4I_H__16 17#define CXGB4I_SCSI_HOST_QDEPTH 102418#define CXGB4I_MAX_CONN 1638419#define CXGB4I_MAX_TARGET CXGB4I_MAX_CONN20#define CXGB4I_MAX_LUN 0x100021 22/* for TX: a skb must have a headroom of at least TX_HEADER_LEN bytes */23#define CXGB4I_TX_HEADER_LEN \24 (sizeof(struct fw_ofld_tx_data_wr) + sizeof(struct sge_opaque_hdr))25 26#define T5_ISS_VALID (1 << 18)27 28#endif /* __CXGB4I_H__ */29