1 #ifndef __57XX_L5CM_CONSTANTS_H_ 2 #define __57XX_L5CM_CONSTANTS_H_ 3 4 /** 5 * This file defines HSI constants for the L4 flows 6 */ 7 8 9 // KWQ (kernel work queue) request op codes 10 #define L4_KWQE_OPCODE_VALUE_CONNECT1 (50) 11 #define L4_KWQE_OPCODE_VALUE_CONNECT2 (51) 12 #define L4_KWQE_OPCODE_VALUE_CONNECT3 (52) 13 #define L4_KWQE_OPCODE_VALUE_RESET (53) 14 #define L4_KWQE_OPCODE_VALUE_CLOSE (54) 15 #define L4_KWQE_OPCODE_VALUE_UPDATE_SECRET (60) 16 #define L4_KWQE_OPCODE_VALUE_INIT_ULP (61) 17 18 #ifndef L4_KWQE_OPCODE_VALUE_OFFLOAD_PG 19 #define L4_KWQE_OPCODE_VALUE_OFFLOAD_PG (1) 20 #endif 21 22 // KCQ (kernel completion queue) response op codes 23 #define L4_KCQE_OPCODE_VALUE_MINIMUM (53) /*bottom limit to L4 KCQE values*/ 24 #define L4_KCQE_OPCODE_VALUE_CLOSE_COMP (53) 25 #define L4_KCQE_OPCODE_VALUE_RESET_COMP (54) 26 #define L4_KCQE_OPCODE_VALUE_FW_TCP_UPDATE (55) 27 #define L4_KCQE_OPCODE_VALUE_CONNECT_COMPLETE (56) 28 #define L4_KCQE_OPCODE_VALUE_REMOTE_CONNECTION_ABORTED (57) 29 #define L4_KCQE_OPCODE_VALUE_CLOSE_RECEIVED (58) 30 #define L4_KCQE_OPCODE_VALUE_INIT_ULP (61) 31 #define L4_KCQE_OPCODE_VALUE_TERMINATE_COMP (62) 32 #define L4_KCQE_OPCODE_VALUE_MAXIMUM (62) /*top limit to L4 KCQE values*/ 33 34 #ifndef L4_KCQE_OPCODE_VALUE_OFFLOAD_PG 35 #define L4_KCQE_OPCODE_VALUE_OFFLOAD_PG (1) 36 #endif 37 38 #ifndef L4_KWQE_OPCODE_VALUE_UPDATE_PG 39 #define L4_KWQE_OPCODE_VALUE_UPDATE_PG (9) 40 #endif 41 42 #ifndef L4_KWQE_OPCODE_VALUE_UPLOAD_PG 43 #define L4_KWQE_OPCODE_VALUE_UPLOAD_PG (14) 44 #endif 45 46 47 48 // KCQ (kernel completion queue) completion status 49 #define L4_KCQE_COMPLETION_STATUS_SUCCESS (0) 50 #define L4_KCQE_COMPLETION_STATUS_TIMEOUT (0x93) 51 52 #define L4_LAYER_CODE (4) 53 54 #endif //__57XX_L5CM_CONSTANTS_H_ 55