1 #ifndef __FCOE_CONSTANTS_H_ 2 #define __FCOE_CONSTANTS_H_ 3 4 5 /** 6 * This file defines HSI constants for the FCOE flows 7 */ 8 9 /* Slow path commands */ 10 #define FCOE_RAMROD_CMD_ID_INIT_FUNC (FCOE_KCQE_OPCODE_INIT_FUNC) 11 #define FCOE_RAMROD_CMD_ID_DESTROY_FUNC (FCOE_KCQE_OPCODE_DESTROY_FUNC) 12 #define FCOE_RAMROD_CMD_ID_STAT_FUNC (FCOE_KCQE_OPCODE_STAT_FUNC) 13 #define FCOE_RAMROD_CMD_ID_OFFLOAD_CONN (FCOE_KCQE_OPCODE_OFFLOAD_CONN) 14 #define FCOE_RAMROD_CMD_ID_ENABLE_CONN (FCOE_KCQE_OPCODE_ENABLE_CONN) 15 #define FCOE_RAMROD_CMD_ID_DISABLE_CONN (FCOE_KCQE_OPCODE_DISABLE_CONN) 16 /* Known only to FW and VBD */ 17 #define FCOE_RAMROD_CMD_ID_TERMINATE_CONN (0x81) 18 19 /* number of elements in the EQ that are reserved for slow path completions, catastrophic error 20 in case the EQ is (almost) full, and an end of page element */ 21 #define RESERVED_FCOE_EQ_ELEMENTS (MAX_RAMRODS_PER_PORT + 2) 22 23 #define REC_TOV_EXPIRATION 1 24 #define NO_REC_TOV_EXPIRATION 0 25 26 #endif //__FCOE_CONSTANTS_H_ 27