1 #ifndef __TOE_CONSTANTS_H_
2 #define __TOE_CONSTANTS_H_
3 
4 /**
5 * This file defines HSI constatnts for the TOE flows
6 */
7 
8 
9 /********* thresholds of xOff xOn *****************************************/
10 #define GRQ_XOFF_TH		 (64)
11 #define GRQ_XOFF_OOO_TH  (96) // (1.5*GRQ_XOFF_TH)
12 
13 //(maximum pending incoming packet msgs) * (maximum completions) + (maximum ramrods)
14 #define CQ_XOFF_TH  ((64*6) + MAX_RAMRODS_PER_PORT)
15 
16 #define	GRQ_XON_TH 		(2*GRQ_XOFF_TH)
17 #define	CQ_XON_TH  		(2*CQ_XOFF_TH)
18 
19 
20 /********* TOE RSS indirection table *****************************************/
21 #define	TOE_INDIRECTION_TABLE_SIZE		128	//Size in bytes
22 
23 /********* Roll Over Param Constants *****************************************/
24 #define TOE_XSTORM_IP_ID_INIT_LO 0
25 #define TOE_XSTORM_IP_ID_INIT_HI 0x8000
26 #define TOE_XSTORM_IP_ID_INIT_ALL 0
27 /************************************************************************/
28 
29 /********* xcm minimum global delayed ack max count**********************/
30 #define TCP_XCM_MIN_GLB_DEL_ACK_MAX_CNT 1
31 /************************************************************************/
32 
33 /********* tstorm maximum dup ack threshold *****************************/
34 #define TCP_TSTORM_MAX_DUP_ACK_TH 255
35 /************************************************************************/
36 
37 
38 #endif /*__TOE_CONSTANTS_H_ */
39