Commit 740238d
authored
UCT/IB/MLX5: Fix DEVX for not WC-supported UAR (#11310)
* UCT/IB/MLX5: Fix DEVX for not WC-supported UAR
Fix two separate bugs related to UCX assuming UAR pages of HCA always
supporting WC (write combining) and not checking
UCT_IB_MLX5_MD_FLAG_UAR_USE_WC flag :
- Doorbell path hardcoded bf_size=256, forcing BF mode even if UAR is
NC-mapped
- Device memory was allocated and copied data via MMIO writes even if it
was not supported (because it requires WC)
* UCT/IB/MLX5: PR fix - code convention1 parent 4cb9dbb commit 740238d
2 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
| |||
144 | 145 | | |
145 | 146 | | |
146 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
147 | 152 | | |
148 | | - | |
| 153 | + | |
149 | 154 | | |
150 | 155 | | |
151 | 156 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1046 | 1046 | | |
1047 | 1047 | | |
1048 | 1048 | | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
1049 | 1054 | | |
1050 | 1055 | | |
1051 | 1056 | | |
| |||
0 commit comments