Commit 9ffe64b
committed
perftest: enable CQ events support for WRITE_IMM operations
Remove the restriction that prevented WRITE_IMM operations from using
completion queue events. As WRITE_IMM posts to the reciever CQ, there's
no reason not to support the event parameter (-e) as in WRITE.
Changes include:
- Remove WRITE_IMM exclusion from events parameter parsing
- Add CQ notification setup for write_bw and write_lat tools
- Implement event notification in run_iter_lat_write_imm()
- Update polling logic to respect use_event flag
Reviewed-by: Michael Margolin <[email protected]>
Reviewed-by: Yonatan Nachum <[email protected]>
Signed-off-by: Ramon Fried <[email protected]>1 parent 9c3ab97 commit 9ffe64b
File tree
4 files changed
+40
-4
lines changed- src
4 files changed
+40
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
| 324 | + | |
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| |||
2935 | 2935 | | |
2936 | 2936 | | |
2937 | 2937 | | |
2938 | | - | |
| 2938 | + | |
2939 | 2939 | | |
2940 | 2940 | | |
2941 | 2941 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4945 | 4945 | | |
4946 | 4946 | | |
4947 | 4947 | | |
4948 | | - | |
| 4948 | + | |
4949 | 4949 | | |
4950 | 4950 | | |
4951 | 4951 | | |
| |||
4992 | 4992 | | |
4993 | 4993 | | |
4994 | 4994 | | |
| 4995 | + | |
| 4996 | + | |
| 4997 | + | |
| 4998 | + | |
| 4999 | + | |
| 5000 | + | |
| 5001 | + | |
4995 | 5002 | | |
4996 | | - | |
| 5003 | + | |
4997 | 5004 | | |
4998 | 5005 | | |
4999 | 5006 | | |
| |||
5053 | 5060 | | |
5054 | 5061 | | |
5055 | 5062 | | |
| 5063 | + | |
| 5064 | + | |
| 5065 | + | |
| 5066 | + | |
| 5067 | + | |
| 5068 | + | |
| 5069 | + | |
5056 | 5070 | | |
5057 | 5071 | | |
5058 | 5072 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
225 | 236 | | |
226 | 237 | | |
227 | 238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
246 | 257 | | |
247 | 258 | | |
248 | 259 | | |
| |||
0 commit comments