Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * cxgb4i.h: Chelsio T4 iSCSI driver.
0003  *
0004  * Copyright (c) 2010-2015 Chelsio Communications, Inc.
0005  *
0006  * This program is free software; you can redistribute it and/or modify
0007  * it under the terms of the GNU General Public License as published by
0008  * the Free Software Foundation.
0009  *
0010  * Written by: Karen Xie (kxie@chelsio.com)
0011  * Written by: Rakesh Ranjan (rranjan@chelsio.com)
0012  */
0013 
0014 #ifndef __CXGB4I_H__
0015 #define __CXGB4I_H__
0016 
0017 #define CXGB4I_SCSI_HOST_QDEPTH 1024
0018 #define CXGB4I_MAX_CONN     16384
0019 #define CXGB4I_MAX_TARGET   CXGB4I_MAX_CONN
0020 #define CXGB4I_MAX_LUN      0x1000
0021 
0022 /* for TX: a skb must have a headroom of at least TX_HEADER_LEN bytes */
0023 #define CXGB4I_TX_HEADER_LEN \
0024     (sizeof(struct fw_ofld_tx_data_wr) + sizeof(struct sge_opaque_hdr))
0025 
0026 #define T5_ISS_VALID        (1 << 18)
0027 
0028 #endif  /* __CXGB4I_H__ */