This commit "flips the switch" on the TID caching feature implemented in this patch series. As well as enabling the new feature by tying the new function with the PSM API, it also cleans up the old unneeded code, data structure members, and variables. Due to difference in operation and information, the tracing functions related to expected receives had to be changed. This patch include these changes. The tracing function changes could not be split into a separate commit without including both tracing variants at the same time. This would have caused other complications and ugliness.
Showing the changes to include/uapi (1 of 7 files). Show all
Unified · Split
| @@ -66,7 +66,7 @@ · 65 unmodified lines | |||
| 66 | * The major version changes when data structures change in an incompatible | 66 | * The major version changes when data structures change in an incompatible |
| 67 | * way. The driver must be the same for initialization to succeed. | 67 | * way. The driver must be the same for initialization to succeed. |
| 68 | */ | 68 | */ |
| 69 | #define HFI1_USER_SWMAJOR 4 | 69 | #define HFI1_USER_SWMAJOR 5 |
| 70 | 70 | ||
| 71 | /* | 71 | /* |
| 72 | * Minor version differences are always compatible | 72 | * Minor version differences are always compatible |
| @@ -241,11 +241,6 @@ struct hfi1_tid_info { · 168 unmodified lines | |||
| 241 | __u32 tidcnt; | 241 | __u32 tidcnt; |
| 242 | /* length of transfer buffer programmed by this request */ | 242 | /* length of transfer buffer programmed by this request */ |
| 243 | __u32 length; | 243 | __u32 length; |
| 244 | /* | ||
| 245 | * pointer to bitmap of TIDs used for this call; | ||
| 246 | * checked for being large enough at open | ||
| 247 | */ | ||
| 248 | __u64 tidmap; | ||
| 249 | }; | 244 | }; |
| 250 | 245 | ||
| 251 | struct hfi1_cmd { | 246 | struct hfi1_cmd { |