Commit d9aaed8
{net,IB}/mlx5: Refactor page fault handling
* Update page fault event according to last specification.
* Separate code path for page fault EQ, completion EQ and async EQ.
* Move page fault handling work queue from mlx5_ib static variable
into mlx5_core page fault EQ.
* Allocate memory to store ODP event dynamically as the
events arrive, since in atomic context - use mempool.
* Make mlx5_ib page fault handler run in process context.
Signed-off-by: Artemy Kovalyov <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Signed-off-by: David S. Miller <[email protected]>1 parent 223cdc7 commit d9aaed8
12 files changed
+522
-468
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3319 | 3319 | | |
3320 | 3320 | | |
3321 | 3321 | | |
| 3322 | + | |
| 3323 | + | |
| 3324 | + | |
3322 | 3325 | | |
3323 | 3326 | | |
3324 | 3327 | | |
| |||
3329 | 3332 | | |
3330 | 3333 | | |
3331 | 3334 | | |
3332 | | - | |
3333 | | - | |
3334 | | - | |
3335 | | - | |
3336 | 3335 | | |
3337 | | - | |
3338 | | - | |
3339 | | - | |
3340 | | - | |
3341 | 3336 | | |
3342 | | - | |
3343 | | - | |
3344 | 3337 | | |
3345 | 3338 | | |
3346 | 3339 | | |
3347 | 3340 | | |
3348 | 3341 | | |
3349 | 3342 | | |
3350 | | - | |
3351 | 3343 | | |
3352 | 3344 | | |
3353 | 3345 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | 280 | | |
304 | 281 | | |
305 | 282 | | |
| |||
385 | 362 | | |
386 | 363 | | |
387 | 364 | | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | 365 | | |
403 | 366 | | |
404 | 367 | | |
| |||
869 | 832 | | |
870 | 833 | | |
871 | 834 | | |
872 | | - | |
873 | | - | |
874 | 835 | | |
875 | | - | |
876 | | - | |
877 | | - | |
| 836 | + | |
| 837 | + | |
878 | 838 | | |
879 | 839 | | |
880 | 840 | | |
881 | 841 | | |
882 | | - | |
883 | | - | |
884 | 842 | | |
885 | 843 | | |
886 | 844 | | |
| |||
889 | 847 | | |
890 | 848 | | |
891 | 849 | | |
892 | | - | |
893 | 850 | | |
894 | 851 | | |
895 | 852 | | |
896 | 853 | | |
897 | | - | |
898 | | - | |
899 | 854 | | |
900 | 855 | | |
901 | 856 | | |
| |||
0 commit comments