In preparation for implementing Expected TID caching we do some simple clean up of header file macros.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -127,13 +127,13 @@ · 126 unmodified lines | |||
| 127 | #define HFI1_CMD_TID_UPDATE 4 /* update expected TID entries */ | 127 | #define HFI1_CMD_TID_UPDATE 4 /* update expected TID entries */ |
| 128 | #define HFI1_CMD_TID_FREE 5 /* free expected TID entries */ | 128 | #define HFI1_CMD_TID_FREE 5 /* free expected TID entries */ |
| 129 | #define HFI1_CMD_CREDIT_UPD 6 /* force an update of PIO credit */ | 129 | #define HFI1_CMD_CREDIT_UPD 6 /* force an update of PIO credit */ |
| 130 | #define HFI1_CMD_SDMA_STATUS_UPD 7 /* force update of SDMA status ring */ | 130 | #define HFI1_CMD_SDMA_STATUS_UPD 7 /* force update of SDMA status ring */ |
| 131 | 131 | ||
| 132 | #define HFI1_CMD_RECV_CTRL 8 /* control receipt of packets */ | 132 | #define HFI1_CMD_RECV_CTRL 8 /* control receipt of packets */ |
| 133 | #define HFI1_CMD_POLL_TYPE 9 /* set the kind of polling we want */ | 133 | #define HFI1_CMD_POLL_TYPE 9 /* set the kind of polling we want */ |
| 134 | #define HFI1_CMD_ACK_EVENT 10 /* ack & clear user status bits */ | 134 | #define HFI1_CMD_ACK_EVENT 10 /* ack & clear user status bits */ |
| 135 | #define HFI1_CMD_SET_PKEY 11 /* set context's pkey */ | 135 | #define HFI1_CMD_SET_PKEY 11 /* set context's pkey */ |
| 136 | #define HFI1_CMD_CTXT_RESET 12 /* reset context's HW send context */ | 136 | #define HFI1_CMD_CTXT_RESET 12 /* reset context's HW send context */ |
| 137 | /* separate EPROM commands from normal PSM commands */ | 137 | /* separate EPROM commands from normal PSM commands */ |
| 138 | #define HFI1_CMD_EP_INFO 64 /* read EPROM device ID */ | 138 | #define HFI1_CMD_EP_INFO 64 /* read EPROM device ID */ |
| 139 | #define HFI1_CMD_EP_ERASE_CHIP 65 /* erase whole EPROM */ | 139 | #define HFI1_CMD_EP_ERASE_CHIP 65 /* erase whole EPROM */ |
| @@ -144,18 +144,18 @@ · 4 unmodified lines | |||
| 144 | #define HFI1_CMD_EP_WRITE_P0 70 /* write EPROM partition 0 */ | 144 | #define HFI1_CMD_EP_WRITE_P0 70 /* write EPROM partition 0 */ |
| 145 | #define HFI1_CMD_EP_WRITE_P1 71 /* write EPROM partition 1 */ | 145 | #define HFI1_CMD_EP_WRITE_P1 71 /* write EPROM partition 1 */ |
| 146 | 146 | ||
| 147 | #define _HFI1_EVENT_FROZEN_BIT 0 | 147 | #define _HFI1_EVENT_FROZEN_BIT 0 |
| 148 | #define _HFI1_EVENT_LINKDOWN_BIT 1 | 148 | #define _HFI1_EVENT_LINKDOWN_BIT 1 |
| 149 | #define _HFI1_EVENT_LID_CHANGE_BIT 2 | 149 | #define _HFI1_EVENT_LID_CHANGE_BIT 2 |
| 150 | #define _HFI1_EVENT_LMC_CHANGE_BIT 3 | 150 | #define _HFI1_EVENT_LMC_CHANGE_BIT 3 |
| 151 | #define _HFI1_EVENT_SL2VL_CHANGE_BIT 4 | 151 | #define _HFI1_EVENT_SL2VL_CHANGE_BIT 4 |
| 152 | #define _HFI1_MAX_EVENT_BIT _HFI1_EVENT_SL2VL_CHANGE_BIT | 152 | #define _HFI1_MAX_EVENT_BIT _HFI1_EVENT_SL2VL_CHANGE_BIT |
| 153 | 153 | ||
| 154 | #define HFI1_EVENT_FROZEN (1UL << _HFI1_EVENT_FROZEN_BIT) | 154 | #define HFI1_EVENT_FROZEN (1UL << _HFI1_EVENT_FROZEN_BIT) |
| 155 | #define HFI1_EVENT_LINKDOWN_BIT (1UL << _HFI1_EVENT_LINKDOWN_BIT) | 155 | #define HFI1_EVENT_LINKDOWN (1UL << _HFI1_EVENT_LINKDOWN_BIT) |
| 156 | #define HFI1_EVENT_LID_CHANGE_BIT (1UL << _HFI1_EVENT_LID_CHANGE_BIT) | 156 | #define HFI1_EVENT_LID_CHANGE (1UL << _HFI1_EVENT_LID_CHANGE_BIT) |
| 157 | #define HFI1_EVENT_LMC_CHANGE_BIT (1UL << _HFI1_EVENT_LMC_CHANGE_BIT) | 157 | #define HFI1_EVENT_LMC_CHANGE (1UL << _HFI1_EVENT_LMC_CHANGE_BIT) |
| 158 | #define HFI1_EVENT_SL2VL_CHANGE_BIT (1UL << _HFI1_EVENT_SL2VL_CHANGE_BIT) | 158 | #define HFI1_EVENT_SL2VL_CHANGE (1UL << _HFI1_EVENT_SL2VL_CHANGE_BIT) |
| 159 | 159 | ||
| 160 | /* | 160 | /* |
| 161 | * These are the status bits readable (in ASCII form, 64bit value) | 161 | * These are the status bits readable (in ASCII form, 64bit value) |